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 Revazi123, Today, 08:48 AM
    0 responses
    1 view
    0 likes
    Last Post Revazi123  
    Started by M_ichel, Today, 08:38 AM
    0 responses
    3 views
    0 likes
    Last Post M_ichel
    by M_ichel
     
    Started by soon123, Today, 12:18 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by space_trader, Today, 12:52 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by ybhx0315, Yesterday, 09:06 PM
    0 responses
    21 views
    0 likes
    Last Post ybhx0315  
    Working...
    X