double iOsMA( string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int shift)
Calculates the Moving Average of Oscillator and returns its value.
Parameters
symbol - Symbol the data of which should be used to calculate indicator. NULL means the current symbol.
timeframe - Time frame. It can be any of Time frame enumeration values.
fast_ema_period - Number of periods for fast moving average calculation.
slow_ema_period - Nmber of periods for slow moving average calculation.
signal_period - Number of periods for signal moving average calculation.
applied_price - Applied price. It can be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
=============
You can take only one value per call. shift parameter allows to access to one value of calculated array. sfift=0 means current value, shift=1 means value from previous bar and so on
Calculates the Moving Average of Oscillator and returns its value.
Parameters
symbol - Symbol the data of which should be used to calculate indicator. NULL means the current symbol.
timeframe - Time frame. It can be any of Time frame enumeration values.
fast_ema_period - Number of periods for fast moving average calculation.
slow_ema_period - Nmber of periods for slow moving average calculation.
signal_period - Number of periods for signal moving average calculation.
applied_price - Applied price. It can be any of Applied price enumeration values.
shift - Shift relative to the current bar (number of periods back), where the data should be taken from.
=============
You can take only one value per call. shift parameter allows to access to one value of calculated array. sfift=0 means current value, shift=1 means value from previous bar and so on
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The shift parameter is missing when you try to insert the OsMA Indicator on a chart, but is available in the mq4 for the EA! I am using MT4 Build 183 (04 Oct 2005) version.
Am I missing something here?
///Frank