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

Trading signals module based on the SilverTrend_Signal indicator - MetaTrader 5 library

author EAcpu | 5 reads | 0 comments |

Trading signals module based on SilverTrend_Signal indicator - library for MetaTrader 5

Trading signals module based on SilverTrend_Signal indicator - library for MetaTrader 5

The signal is formed at the close of the bar. The color point of the SilverTrend_Signal indicator serves as a market entry signal.

Place the SilverTrend_Signal.ex5 compiled file into terminal_data_folder\MQL5\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.

Trading signals module based on SilverTrend_Signal indicator - library for MetaTrader 5

Figure 1. Example of trade on chart

2011 H4 USD/CHF test results:

Trading signals module based on SilverTrend_Signal indicator - library for MetaTrader 5

Figure 2. Test result graph

Since smoothing by the number of existing modules (basic one + one additional module) is performed during the "vote" calculation, the threshold should be indicated taking into account this fact. Therefore, after creating an Expert Advisor using the MQL5 Wizard, the Signal_ThresholdOpen and Signal_ThresholdClose values ​​must be set to 40=(0+80)/2 and 20=(0+40)/2 respectively.


Attachment download

📎 silvertrend_signal.mq5 (7.12 KB)

📎 silvertrendsignal.mqh (12.27 KB)

📎 expm_silvertrend.mq5 (7.67 KB)

Source: MQL5 #839

Verification code Refresh