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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    64 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Working...
    X