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
  #11 (permalink)  
Old 02-04-2015, 10:01 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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
Any indicator that comes with a xaml file (like MacD, RSI) needs to be restarted.

Seems like you havent restarted ArthaChitra. Please restart and the parameter box should look like attached

Ok its working now.

But strange thing was, after import i applied it without restarting so as you said it didnt worked, then i restarted it again didnt worked.
It worked only if i removed Macd then again import and then restart.


Well, why and what is use necessity of Xaml in indicator ?
I guess development can be done without that rout ?
__________________
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:
  #12 (permalink)  
Old 02-04-2015, 10:59 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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

ROC and ADX.


Attached Files
File Type: zip ROC.zip (920 Bytes, 12 views)
File Type: zip ADX.zip (1.4 KB, 7 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 5 Users Say Thank You to devdas For This Useful Post:
  #13 (permalink)  
Old 03-04-2015, 12:08 AM
joy joy is offline
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,201
Thanks: 1,108
Thanked 4,105 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
Ok its working now.

But strange thing was, after import i applied it without restarting so as you said it didnt worked, then i restarted it again didnt worked.
It worked only if i removed Macd then again import and then restart.

that shouldnt be the case. If you can replicate it then please let me know the exact steps to reproduce it.

anyway glad to know its working

Originally Posted by devdas View Post
Well, why and what is use necessity of Xaml in indicator ?
I guess development can be done without that rout ?

The Xaml templates are the views (graphical user interface, gui).

In winforms, one uses the PropertyGrid control to display the user parameters.

ArthaChitra is built with WPF using the MVVM pattern. In WPF the PropertyGrid control has been depreciated (not supported natively) and IMHO rightly so.

The MVVM pattern is view agnostic. meaning - the business objects (the codes) has no idea how the view (the gui) will look like. Thats the beauty. It gives one immense flexibility on how the view will be, and that too with 1/10 of code compared to the old fashioned way.

Just think of the CustomPlot indicator that comes natively. It adds a button on the ToolBar but just see how its coded. Only the business object is added (to a list).

To examplify further, the attached MacD.zip file contains a modified Xaml file for the MacD indicator.

Extract the zip file and replace the MacD.xaml file with this one in the folder ~\Documents\ArthaChitra 1\Xaml Resource\Indicator

restart ArthaChitra.

You will see that the Fast parameter is now been replaced with a ComboBox.

Hope you got the picture.

ArthaChitra exposes the views for TimeNSales, Market Watch and Alert views. Please refer to this vdo
https://youtu.be/bCFwyYqJGP0?t=327 (start from 5minute).

You can create stunning Views to suit your needs.

P.S. - will add more documentation as time goes.
Attached Files
File Type: zip MacD.zip (675 Bytes, 9 views)
__________________
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 joy For This Useful Post:
  #14 (permalink)  
Old 03-04-2015, 01:43 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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

This was a funny exercise, when NT version working OK and same is behaving exceptionally in ArthaChitra. Finally got it working.

MAX, MIN and Donchian Channel.

Import MAX and MIN also to work for DC.


Attached Files
File Type: zip MAX.zip (1.1 KB, 10 views)
File Type: zip MIN.zip (1.1 KB, 10 views)
File Type: zip DonchianChannel.zip (1.1 KB, 8 views)
__________________
Harvest The Moon !!
Nest The Market !!

Last edited by devdas; 03-04-2015 at 03:27 PM. Reason: Donchian Channel Indi updated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 5 Users Say Thank You to devdas For This Useful Post:
  #15 (permalink)  
Old 04-04-2015, 10:28 PM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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

BollingerBands V1.

Import StdDeviation and VWMA also.

at presnt middle MA can be selected any one of four MAs : SMA,EMA,WMA or VWMA.

Attached Files
File Type: zip StdDeviation.zip (1.0 KB, 8 views)
File Type: zip VWMA.zip (969 Bytes, 7 views)
File Type: zip BollingerBandsV1.zip (1.9 KB, 7 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:
  #16 (permalink)  
Old 05-04-2015, 12:19 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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

Plot Style : DashPlotStyle.

Just Import zip.

Attached Files
File Type: zip DashPlotStyle.zip (777 Bytes, 5 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 3 Users Say Thank You to devdas For This Useful Post:
  #17 (permalink)  
Old 05-04-2015, 12:41 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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

Plot Style : DotPlotStyle

Attached Files
File Type: zip DotPlotStyle.zip (779 Bytes, 4 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 3 Users Say Thank You to devdas For This Useful Post:
  #18 (permalink)  
Old 05-04-2015, 01:48 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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

Plot Style : StepPlotStyle
( Usefull in Donchian Channel and SuperTrend )


Attached Files
File Type: zip StepPlotStyle.zip (836 Bytes, 7 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 3 Users Say Thank You to devdas For This Useful Post:
  #19 (permalink)  
Old 05-04-2015, 09:47 AM
joy joy is offline
indiTraders VIP
 
Join Date: Mar 2009
Posts: 1,201
Thanks: 1,108
Thanked 4,105 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

devdas,
In the Bollinger Band xaml, the combo box does not carry maType info, when the indicator dialog is re-opened. this is due to the type mismatch between the binded element (string being binded to an enum).

To populate any enum values ArthaChitra, internally uses a markup extension.

Unfortunately the same cannot be used in user designed xaml, as the user code assembly is created dynamically and thus one cannot reference the usercode dll in the xaml template.

as an alternative, append an array of the enum and bind that array as the itemssource of the combobox.

in the code append the following:

Code:
public maType[] maTypes
{
	get
	{
		return (maType[])Enum.GetValues(typeof(maType));
	}
}
and modify the xaml as:
Code:
<ComboBox Grid.Column="1" ItemsSource="{Binding maTypes}" SelectedValue="{Binding MiddleMAType, Mode=TwoWay}" Margin="3"/>
the modified code is attached alongwith.

again, much appreciated for the hard work and for your support.
Attached Images
File Type: png Enum.png (34.5 KB, 3 views)
Attached Files
File Type: zip BB.zip (5.0 KB, 10 views)
__________________
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 joy For This Useful Post:
  #20 (permalink)  
Old 05-04-2015, 11:01 AM
devdas's Avatar
devdas devdas is offline
edevaay.com
 
Join Date: Mar 2009
Location: Tactical Hell....
Posts: 5,441
Thanks: 15,851
Thanked 18,463 Times in 5,132 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

Thanx Joy.

This was the behavior of that Combo box on reopening that frustrated me.
I poured more than 6- 8 hour for that thing but could not solve so left that in
limited time though basic it was correctly selecting MA type which was priority.

Another time consuming issue is proper intellisense.
ISeries interface was present but I didn't know and so first attempt of this
BB indicator involved two switch statement , one in OnInitislizeUp state change
and second in OnBarUpdate. This was very embarrassing for me that I was
taking this inefficient approach. This was giving a feeling that simple NT code
of the same would have been laughing on me.
Luckily I tried ISeries and it worked.

Overall I like the ArthaChitra , you have grafted many goodies which will show
their result as development proceed further.
__________________
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:
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 02:37 PM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2