Exp_F2a_AO - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources


The trading system uses F2a_AO semaphore, signal indicator. Signals obtained from indicators require additional filtering.
The closing candlestick direction of the higher time frame acts as a filter. The Expert Advisor has two input parameters for this candlestick.
//+------------------------------------------------------------------------+ //|Input parameters for trend candlesticks| //+------------------------------------------------------------------------+ Input ENUM_TIMEFRAMES Inp_Time Range = PERIOD_D1 ; //Trend Candlestick Time Range Input unit trend bar = 1 ; //trend bar index
Place the F2a_AO.ex5 compiled file into terminal_data_folder\MQL5\Indicators.
It should be taken into account that the TradeAlgorithms.mqh library file is designed to allow the use of Expert Advisors by brokers that offer the following services: non-zero spreads and the ability to set Stop Loss and Take Profit while opening a position. Other variants of this library can be downloaded from https://www.mql5.com/en/code/1578 .
The input parameters of the default Expert Advisor were used in the test shown below. Stop Loss and Take Profit were not used during testing.

Figure 1. Example of trading history in chart
USD/CHF test results in the second half of 2011:

Figure 2. Test result chart
Attachment download
📎 exp_f2a_ao.mq5 (8.55 KB)
📎 smoothalgorithms.mqh (134.03 KB)
📎 tradealgorithms.mqh (60.39 KB)
📎 f2a_ao.mq5 (8.37 KB)
Source: MQL5 #1654
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •