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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by zstheorist, Today, 07:52 PM
    0 responses
    3 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    149 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Working...
    X