Analysis Techniques & Strategies
Name | Type | Default | Description |
FastLength | Numeric | 12 | Number of bars used to calculate the fast exponential average. |
SlowLength | Numeric | 26 | Number of bars used to calculate the slow exponential average. |
MACDLength | Numeric | 9 | Number of bars used to calculate the exponential average of the MACD. |
Long entry based on an MACD crossover.
The MACD value shows the overall direction of the market. It is calculated by subtracting a slow exponential moving average of the closing prices from a fast exponential average of the closing prices. The MACD will be over zero when the two exponential averages are bullish and under zero when the two exponential averages are bearish.
Also, an exponential average of the MACD is calculated and used to establish the direction of the MACD.
This strategy generates a buy order for the open of the next bar when the MACD crosses above the exponential average of the MACD.
Order Name: MacdLE
Related Strategy: MACD SE