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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 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
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X