iMA(period,ma_method,shift)
period: number of periods for calculation
ma_method: mode of calculation (MODE_SMA,MODE_EMA,MODE_SMMA,MODE_LWMA)
shift: shift relative to the current bar (number of periods back), where the data is to be taken from
Пишу:
value2=iMA(14,MODE_EMA,1);
Вопрос. Что и куда надо вписать в iMA, чтобы применить MA к Typical Price (HLC/3)?
Синтаксис Moving Average:
iMA(period,ma_method,shift)
period: number of periods for calculation
ma_method: mode of calculation (MODE_SMA,MODE_EMA,MODE_SMMA,MODE_LWMA)
shift: shift relative to the current bar (number of periods back), where the data is to be taken from
Пишу:
Вопрос. Что и куда надо вписать в iMA, чтобы применить MA к Typical Price (HLC/3)?