I need to be able to figure out if the moving average is rising or falling. If it is rising, I want to go long, if it is falling, I want to short. Simple enough. Parameters: symbol-Symbol the data of which should be used to calculate the indicator. NULL means prrint current symbol.timeframe-Timeframe. Choose from hundreds of brokers and thousands of servers to trade with your MetaTrader 4 Android app.
Approximately 80% of all the traders prefer this trading platform. The processor may be a general-purpose computer such as a PC, or a specialized DSP (Digital Signal Processor) chip.Too complicated. It is an example DF with Finite Impulse Response FIR also known as non-recursive filters.- Triangle and Weighted Moving Average are calculated as SMA but elements in the series have different weights. Triangle (TMA) has maximum weight in the middle.