MACD Strategy 1 hour
- Asesores Expertos
- Guan Liu
- Versión: 1.0
- Activaciones: 5
This strategy is created by myfxhub and contains four trading strategies: long strategy, close long strategy, short strategy, close short strategy
1. Long strategy:
The main line of the MACD indicator crosses above (Golden Cross) the 0 axis on 1-hour timeframe chart
2. Close buy positions strategy
The main line of the MACD indicator crosses below (Death Cross) the 0 axis on 1-hour timeframe chart
3. Short strategy
The main line of the MACD indicator crosses below (Death Cross) the 0 axis on 1-hour timeframe chart
4. Close sell positions strategy
The main line of the MACD indicator crosses above (Golden Cross) the 0 axis on 1-hour timeframe chart
Currency Pairs and Timeframes
The algorithm has been designed to work on all the currency pairs. Feel free to test and experiment with currency pairs.
You can use any timeframe chart, the EA with always be working in the same way.
Input Parameters
AutoTrade: Enable/disable the autotrade
MaxSpread: Sets the maximum spread at which a trade will be executed. if the current spread exceeds this value, no trade will be executed.
Slippage(pips): Maximum allowed price deviation in pips when opening positions.
DefaultLots: initial lot size
MinLots: The minimum lot per trade.
MaxLots: The maximum lot per trade.
StopLoss(pips): Sets the StopLoss value in pips. It is recommended to keep the default value.
TakeProfit(pips): Sets the Take Profit value in pips. It is recommended to keep the default value.
TrailStart(pips): Start trailstop in pips from position
TrailStop(pips): Distance in pips between current price and trailstop when enabled.
ECN: Enable/disable the ECN mode. It is recommended to keep the default value.
Instant Order: Enable/disable instant order. It is recommended to keep the default value.
Stop Order: Enable/disable stop order. It is recommended to keep the default value.
Limit Order: Enable/disable limit order. It is recommended to keep the default value.
PendingGap: Distance in pips if stop/limit order enabled
PendingExpiration: Period in minutes if stop/limit order enabled
Multi Order: Enable/disable multiple orders. It is recommended to keep the default value.
Reverse Order: Enable/disable reverse order type. It is recommended to keep the default value.
martingale_mode: Enable/disable martingale mode. It is recommended to keep the default value.