I have a small problem that I do not know how to solve, the answer might be simple:
I believe the default SMA price type is closing price - I want to use the Median instead - it works fine with
SMA(Median, PeriodSMA)[0]
But since I do use different timeframes (Barsarrays) I cannot supply an additional IDataSeries input?
SMA(BarsArray[4], PeriodSMA)[0]
How can I still use the Median in my SMA?

Comment