Hi there! You're viewing as a guest with limited access. Please take a minute to join our FOREX community. You will gain free unlimited access to best FOREX trading systems, forex articles, Metatrader indicators, Metatrader expert advisors and a lot more free MT4/MT5 scripts. Sign Up Now
||LinkBack||Thread Tools||Search this Thread||Display Modes|
Need some light here, could anybody clarify or code for me value of Moving average for the current bar, previous bar, and last 2 or 3 bars.
It does not matter method of moving average.
double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)
Calculates the Moving average indicator and returns its value.
symbol - Symbol the data of which should be used to calculate indicator. NULL means the current symbol.
timeframe - Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe.
period - Averaging period for calculation.
ma_shift - MA shift. Indicators line offset relate to the chart by timeframe.
ma_method - MA method. It can be any of the Moving Average method enumeration value.
applied_price - Applied price. It can be any of Applied price enumeration values.
shift - Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
|Thread||Thread Starter||Forum||Replies||Last Post|
|OK - Traditionalists need not read...||autolox||Trading Systems||11||04-25-2014 03:16 AM|
|Before Asking For Coding Help!! READ FIRST||gazuz||System Coding||6||06-30-2009 07:07 PM|
|!!!read This!!!||forexflash||Brokers/Platforms||6||08-17-2008 11:31 AM|
|Please read this sobering article||Tribulus||General Trading Talk||2||05-27-2008 08:38 PM|