Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddDataSeries question

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

    AddDataSeries question

    Hi

    I have read your documentation and understand that it is "unwise" to use parameters to set the AddDataSeries values. I want to create AddDataSeries whereby I can reset the values to different timeframes and different symbols without having to hardcode the values.

    For example I have;
    AddDataSeries("@USOIL", Data.BarsPeriodType.Minute, 10, Data.MarketDataType.Last);

    and would ideally like to make the symbol and timeframe value different, so in parameters I would enter "EURUSD" and 30.

    If I cannot use parameters is there any alternate way?

    Thanks

    #2
    Hello fishbed,

    There is not suggested or supported way, either through parameters or otherwise, to dynamically add/change data series however I have added your vote to the popular feature request SFT-882.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    59 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    134 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X