Exp_BlauTVI_Tm - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources




Expert Advisor Exp_BlauTVI_Tm Signal Blue TVI_Tm based on trend following indicators, with the option to set strict trading time intervals. If the indicator histogram changes direction, a signal is formed when the bar closes.
Trading times can be specified in the input parameters to trade at specified intervals:
Input boolean value TimeTrading= True ; //Allow trading within the specified range Enter HOURS start H=ENUM_HOUR_0; //Transaction starts (hour) Enter the minute StartM=ENUM_MINUT_0; //Transaction starts (minutes) Enter the hour EndH=ENUM_HOUR_23; //End of transaction (hour) Enter minutes EndM=ENUM_MINUT_59; //End of transaction (minutes)
Provide two variables (hours and minutes) for the operation start time and two similar variables for the end time.
The default settings enable the Expert Advisor to trade for the entire trading session starting from 0:00, while all positions are closed at 23:59.
If the start time is later than the specified end time, the Expert Advisor will close the position at the specified time the next day.
In order to compile the EA correctly, the compiled indicator file TVI.ex5 must be located in the terminal_data_directory\MQL5\Indicators folder. After compiling the EA, the indicator exists as a resource in the EA code, so it does not need to exist in the relevant terminal folder.
Please note that the TradeAlgorithms.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 other versions of this library trading algorithms at.
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 trade on chart
USDJPY test results in the first half of 2016:

Figure 2. Test result graph
Attachment download
📎 Exp_BlauTVI_Tm.mq5 (16.59 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
📎 TradeAlgorithms.mqh (223.62 KB)
📎 BlauTVI.mq5 (15.65 KB)
Source: MQL5 #21014
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •