Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Exp_SilverTrend_Signal_ReOpen - MetaTrader 5 Expert

author EAcpu | 5 reads | 0 comments |

Exp_SilverTrend_Signal_ReOpen - expert for MetaTrader 5

Exp_SilverTrend_Signal_ReOpen - expert for MetaTrader 5

Signal-based Exp_SilverTrend_Signal_ReOpen trading system SilverTrend_Signal is a trend-scaling indicator. A signal is formed if a colored indicator arrow appears when the bar is closed. In addition, if the profit points of the last trade of the position exceed the threshold specified in the EA input parameters, it scales the volume of the opened position.

Information about position scaling is stored in the transaction's string annotation in the following format: scale number/last deal price/latest volume .

Place the SilverTrend_Signal.ex5 compiled file into <terminal data folder>\MQL5\indicators .

After compilation, the Exp_SilverTrend_Signal_ReOpen.ex5 expert file contains the SilverTrend_Signal.ex5 indicator as a resource , therefore the compiled EA does not need to be present in the terminal folder to work! For this purpose, corresponding code has been added to the EA code in order to include this indicator in the EA's executable file.

Metrics executable has been added as a global scope resource

Change the string path to the indicator used as a resource in the OnInit() function block

Therefore, the executable compiled by experts can be used independently on other trading terminals without indicators.

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.

Exp_SilverTrend_Signal_ReOpen - expert for MetaTrader 5

Figure 1. Example of trade on chart


2015 EURUSD H4 test results:

Exp_SilverTrend_Signal_ReOpen - expert for MetaTrader 5

Figure 2. Test results chart


Attachment download

📎 tradealgorithms.mqh (178.23 KB)

📎 silvertrend_signal.mq5 (7.13 KB)

📎 exp_silvertrend_signal_reopen.mq5 (26.48 KB)

Source: MQL5 #17065

Verification code Refresh