Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator requirements for strategy use

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

    Indicator requirements for strategy use

    In my own indicator, the results are plotted.
    For this indicator to be used in a strategy, does it needs special requirements? Or does the strategy 'reads' the plot as the indicator value? And what when having two plots?

    Best regards,

    Michael

    #2
    Hi Michael, correct the plots would be exposed, so the strategy can 'read' / use those values in it's calcs. You can access any plot by following this syntax YourIndicatorName(Parameter x, Parameter y ...).YourPlot1

    So if we take our default Stochatics as example, which is a multiplot indicator as well, then accessed the %D plot would be done with this call :

    double value = Stochastics(3, 14, 7).D[0];

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    63 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
    54 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    61 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    48 views
    0 likes
    Last Post CarlTrading  
    Working...
    X