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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    115 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    225 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    411 views
    0 likes
    Last Post CaptainJack  
    Working...
    X