Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy storage

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

    strategy storage

    Hello i have some indicators now converting to some strategies.
    The indicator stores values in the Add(new Plot .... ) logic in the Initialize of the indicator and values accessed using the Values[x][y] for the results of various indicators used for the rules in the indicator to be converted to a strategy,

    Is there a recommended approach/equivalent in strategy development? or to just use arrays? Obviously the Values[x][y] used in indicator are in step with the sequence of bars on the chart.

    thanks

    #2
    Hello,

    Thank you for the question.

    If you are directly converting from indicator to a strategy you can use a DataSeries to maintain how everything currently is.

    Essentially instead of adding a Plot you are just adding the series behind the plot without the graphics.

    Here is more infomation and examples on how to do this :


    Please let me know if I may be of additional assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    365 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    236 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    205 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    290 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    246 views
    0 likes
    Last Post CarlTrading  
    Working...
    X