Author |
Topic: Tasker auto checked "Create New Area" for my Custom Indicator (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
UYankovitz9029 Posts: 5 Joined: Oct 27, 2016 |
Hi experts.
While writing a custom indicator C# , is it possible to programmatic make the "Create New Area" be checked by default ? Thank's |
||||
NShine Posts: 36 Joined: |
Hello
Yes, you can do this. The sample C# code in our Indicator guide (https://gainfutures.com/wp-content/uploads/CustomIndicators.pdf) has this behavior. Take a look at the TimeSeries attribute in the SNI class. [TimeSeries("NET Indicator", "SNI", "Samples", AreaScale.Free, SourceScale=AreaScale.Stock)] If you use AreaScale.Free or AreaScale.Percent then the "Create New Area" will be checked by default. |
||||
UYankovitz9029 Posts: 5 Joined: Oct 27, 2016 |
Thanks !!! you really helped me !!!
|
||||