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
Comment