indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > ArthaChitra

Reply
 
Bookmark and Share LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2015, 11:28 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,426
Thanks: 15,825
Thanked 18,433 Times in 5,117 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default ArthaChitra : CandleVolumeChartStyle

CandleVolume Chart Style :

Before you try it read carefully whatever i am posting.

This can be used without any problem at present and it fulfill the basic requirement of equivolume candlestick reading.
This ChartStyle can be used for Range , TrueRenkoBarType and basic Minute Bar type. But to work it in native Minute chart it need slight modification in minute chart. As most trader may find difficult to modify script file so here is modified Minute Bar type which support this new Chart Style.
So import both Minute Bar Type and CandleVolume Chart Style file posted here.

Next post is for Joy, as i need more understanding of some things which pop out during its development. So be patients for more good things.


Attached Files
File Type: zip CandleVolumeChartStyle.zip (1.1 KB, 3 views)
File Type: zip Minute.zip (1,004 Bytes, 2 views)
__________________
Harvest The Moon !!
Nest The Market !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 6 Users Say Thank You to devdas For This Useful Post:
  #2 (permalink)  
Old 07-04-2015, 11:31 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,426
Thanks: 15,825
Thanked 18,433 Times in 5,117 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

Joy now its your post.
There are two main queries here i will be posting in this post in a while.

1)Joy if you get time look in code of this chart style. It uses a calibration variable ( CalibrationVolume )for calculating the thickness of bar.
Its default value is setted 10000 for Nifty but it need to be in input form and i did that. Now i modified Xaml file of SimpleProfile ChartStyle so that i
can have ChartStyle view for this CandleVolume Chart style. I think i have edited this correctly, but its not showing as expected. Where is flaw ?

2) Now this is more internal. See this ChartStyle need variable BarWidth which i guess might not be possible. Though graphically its plotted as per desire
but clearly there is no Binding of candles drawn with time-axis. Is this possible to have such variable non equi-distance binding in this case. I remember TPO
profile indicator for NT from Fin is also lacks binding of profiles from candles behind the background ? Is there any solution ?
Attached Files
File Type: txt CandleVolumeChartStyle.xaml.txt (3.0 KB, 3 views)
__________________
Harvest The Moon !!
Nest The Market !!

Last edited by devdas; 07-04-2015 at 11:54 PM. Reason: Xaml file upload
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 6 Users Say Thank You to devdas For This Useful Post:
  #3 (permalink)  
Old 08-04-2015, 05:51 PM
joy joy is offline
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,201
Thanks: 1,108
Thanked 4,103 Times in 1,090 Posts
joy has a reputation beyond repute
joy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond repute
Default

1. Please set the Key as CandleVolumeChartStyleChartStyle

Code:
<DataTemplate x:Key="CandleVolumeChartStyleChartStyle" >
Ideally I would name the ChartStyle as CandleVolume (i.e. the class name) and the xaml key will be CandleVolumeChartStyle



Alternatively override the Template property (in such scenario the current key in the xaml will work fine)

Code:
                public override object Template
		{
			get
			{
				return base.Name;
			}
		}
2. Unfortunately not possible in the present framework.

Again I would set the BarWidth as say 25. Now I would draw the fattest bar with a width of 25, while the rest of the bar will adjust to 25. so the thinnest bar may be 3 px for example. the same way the simpleProfile chartStyle is coded. it will result in blank spaces, however thats how currently things are.

P.S - this logical anomaly is the reason for the scale not behaving correctly.
__________________

Last edited by joy; 08-04-2015 at 06:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to joy For This Useful Post:
  #4 (permalink)  
Old 08-04-2015, 08:04 PM
joy joy is offline
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,201
Thanks: 1,108
Thanked 4,103 Times in 1,090 Posts
joy has a reputation beyond repute
joy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond repute
Default

Originally Posted by devdas View Post
[B][U]But to work it in native Minute chart it need slight modification in minute chart.

The @Minute cs file may be overwritten while installing a new version etc. Best is to avoid modifying the @ (whether cs or xaml) files and create a copy of it.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to joy For This Useful Post:
  #5 (permalink)  
Old 08-04-2015, 10:27 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,426
Thanks: 15,825
Thanked 18,433 Times in 5,117 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

Originally Posted by joy View Post
The @Minute cs file may be overwritten while installing a new version etc. Best is to avoid modifying the @ (whether cs or xaml) files and create a copy of it.

yes you are right. I will make a separate Minute Bar for that use.
__________________
Harvest The Moon !!
Nest The Market !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to devdas For This Useful Post:
  #6 (permalink)  
Old 08-04-2015, 10:33 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,426
Thanks: 15,825
Thanked 18,433 Times in 5,117 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

Originally Posted by joy View Post
1. Please set the Key as CandleVolumeChartStyleChartStyle

Code:
<DataTemplate x:Key="CandleVolumeChartStyleChartStyle" >
Ideally I would name the ChartStyle as CandleVolume (i.e. the class name) and the xaml key will be CandleVolumeChartStyle



Alternatively override the Template property (in such scenario the current key in the xaml will work fine)

Code:
                public override object Template
		{
			get
			{
				return base.Name;
			}
		}
2. Unfortunately not possible in the present framework.

Again I would set the BarWidth as say 25. Now I would draw the fattest bar with a width of 25, while the rest of the bar will adjust to 25. so the thinnest bar may be 3 px for example. the same way the simpleProfile chartStyle is coded. it will result in blank spaces, however thats how currently things are.

P.S - this logical anomaly is the reason for the scale not behaving correctly.


Now it worked as i thought. So minute mistake i could not catch.

Well, i will make another version with fixed wide bar space also.
__________________
Harvest The Moon !!
Nest The Market !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to devdas For This Useful Post:
  #7 (permalink)  
Old 08-04-2015, 10:49 PM
joy joy is offline
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,201
Thanks: 1,108
Thanked 4,103 Times in 1,090 Posts
joy has a reputation beyond repute
joy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond reputejoy has a reputation beyond repute
Default

Originally Posted by devdas View Post
Now it worked as i thought. So minute mistake i could not catch.

Well, i will make another version with fixed wide bar space also.

do have a peep at the Template property too.

if overriden you can target to a specific xaml template. useful in case you want to reuse the template (say you have 2 property in multiple indicator with the same property name, then you can target to a single xaml file).
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to joy For This Useful Post:
  #8 (permalink)  
Old 08-04-2015, 11:53 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,426
Thanks: 15,825
Thanked 18,433 Times in 5,117 Posts
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
devdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond reputedevdas has a reputation beyond repute
Default

Updated Version.

To distinguish from @Minute , i made a copy of this, NewMinute.
Its only name is different only changed is support for CandleVolume ChartStyle.

CandleVolume in this version are calibrated and drawn with help of Calibration Volume which basically decide how thick a candle be. This Calibration Volume also helps in different periodicity ( like average volume of 5 min bar will be in general less than average volume of 15 min bar , so if both periodicity will use same Calibration Volume then thickness may not be useful for both. Hence use Calibration Volume to have better look and more bar per chart area ) and different instrument. Play and see how it behaves.

Import NewMinute.zip file. ( if you want to use on minute periodicity)
Import CandleVolumeChartStyle.zip

Restart ArthaChitra.





Attached Files
File Type: zip NewMinuteBarType.zip (1.0 KB, 2 views)
File Type: zip CandleVolumeChartStyle.zip (1.8 KB, 2 views)
__________________
Harvest The Moon !!
Nest The Market !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 4 Users Say Thank You to devdas For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > ArthaChitra


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 05:38 PM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2