Would it be possible to use AddDataSeries the following way:
AddDataSeries(instrumentName, BarsPeriodType.Day, 1, MySession)
Where "MySession" would be a session I would define in the Trading Hours menu ?
In the following AddDataSeries calls, I did not see my option
AddDataSeries(string instrumentName, BarsPeriodType periodType, int period)
AddDataSeries(string instrumentName, BarsPeriodType periodType, int period, MarketDataType marketDat aType)
AddDataSeries(string instrumentName, BarsPeriod barsPeriod)
AddDataSeries(string instrumentName, BarsPeriod barsPeriod, string tradingHoursName)
AddDataSeries(string instrumentName, BarsPeriod barsPeriod, string tradingHoursName, bool? isResetOn NewTradingDay)
AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)
AddDataSeries(string instrumentName)
The reason I am asking this is because i want to calculate daily indicators based on a modified session (shorter than the default) and use those indicators to trade during that sesssion.
So essentially, the chart is an intraday chart, an I want to include on my chart (and strategy) the daily modified indicator.
Thanks for any response/help you will be able to provide

Regards

Comment