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 knowmad, Today, 03:52 AM
    0 responses
    16 views
    0 likes
    Last Post knowmad
    by knowmad
     
    Started by tradingnasdaqprueba, Today, 03:42 AM
    0 responses
    11 views
    0 likes
    Last Post tradingnasdaqprueba  
    Started by Haiasi, 04-25-2024, 06:53 PM
    4 responses
    63 views
    0 likes
    Last Post effraenk  
    Started by ccbiasi, 11-23-2017, 06:06 AM
    5 responses
    2,210 views
    0 likes
    Last Post leodavis  
    Started by kujista, Yesterday, 12:39 AM
    2 responses
    14 views
    0 likes
    Last Post kujista
    by kujista
     
    Working...
    X