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 caacapital, Today, 10:10 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by DiverG20, Today, 10:23 AM
    0 responses
    17 views
    0 likes
    Last Post DiverG20  
    Started by SuneSorgenfrei, Today, 09:29 AM
    0 responses
    16 views
    0 likes
    Last Post SuneSorgenfrei  
    Started by dodoei, Today, 07:24 AM
    0 responses
    14 views
    0 likes
    Last Post dodoei
    by dodoei
     
    Started by thecashguys, Today, 06:13 AM
    0 responses
    12 views
    0 likes
    Last Post thecashguys  
    Working...
    X