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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    64 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    149 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    99 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X