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

Exp_ColorJFatl_Digit_Tm_Plus - MetaTrader 5 Expert

author EAcpu | 3 reads | 0 comments |

Exp_ColorJFatl_Digit_Tm_Plus - expert for MetaTrader 5

Exp_ColorJFatl_Digit_Tm_Plus - expert for MetaTrader 5

The trading system can set indicator signals with fixed holding time based on ColorJFatl_Digit . If the indicator color changes, a signal is formed at the close of the bar. Once the position holding time exceeds the preset fixed limit, the position will be closed immediately:

 Input boolean time trading = true ; //enable closing positions by time
Input unit n time = 240 ; //Position time (minutes)

This Expert Advisor operates using the compiled indicator file ColorJFatl_Digit.ex5 . Place it in <terminal data folder>\MQL5\Indicators.

Please note that the Trade Algorithms .mqh library file allows trading Expert Advisors with non-zero spreads and the option to set Stop Loss and Take Profit along with opening positions with brokers that offer the following services. You can download more variants of this library via the following link: Trading Algorithms .

The default input parameters of the Expert Advisor were used during the tests shown below. Stop Loss and Take Profit were not used during testing.

Exp_ColorJFatl_Digit_Tm_Plus - expert for MetaTrader 5

Figure 1. Example of trade on chart

2016 GBPUSD H4 test results:

Exp_ColorJFatl_Digit_Tm_Plus - expert for MetaTrader 5

Figure 2. Test result graph


Attachment download

📎 Exp_ColorJFatl_Digit_Tm_Plus.mq5 (17.17 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

📎 TradeAlgorithms.mqh (223.38 KB)

📎 ColorJFatl_Digit.mq5 (8.82 KB)

Source: MQL5 #19653

Verification code Refresh