Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Muti-tick chart Strategy with custom indicator/plot

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Muti-tick chart Strategy with custom indicator/plot

    Hello all,

    Have a successfully created a customer indicator.

    i wish a criteria with the customer strategy to be met on a variety of tick charts.
    say 144, 233 and 377.

    Do I
    Add(PeriodType.Tick, 144)
    Add(PeriodType.Tick, 233)
    Add(PeriodType.Tick, 377)

    ...corresponding to
    Add(StrategyPlot(0));
    Add(StrategyPlot(1));
    Add(StrategyPlot(2));

    If { StrategyPlot(2) < Epsilon && StrategyPlot(1) < Epsilon && StrategyPlot(0) < Epsilon}
    then { }

    How do I do this and is it possible to back test it?

    #2
    Hello Ltnup,

    The plots will need to have their values set. You can use the value which you are setting your plots to as the comparison to the Epsilon.

    Take a look at the SampleStrategyPlot indicator and how this is done.
    http://www.ninjatrader.com/support/f...ead.php?t=6651

    Also, if you run into any troubles with using Epsilon, I suggest you use double.Epsilon.


    Please let me know if this does not resolve your inquiry.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, Yesterday, 10:06 AM
    0 responses
    20 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    18 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    9 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    38 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X