Join our fan page
Exp_XPeriodCandleSystem_Tm_Plus - expert for MetaTrader 5
- Views:
- 2047
- Rating:
- Published:
- 2018.08.23 13:34
- Updated:
- 2023.03.29 13:48
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The trading system based on XPeriodCandleSystem indicator signals with the possibility to set a fixed position holding time. The signal is formed when a bar is closing if there is a channel breakthrough. Once position holding time exceeds a preset fixed limit, the position will be closed immediately:
input bool TimeTrade=true; //Enabling position exit by time input uint nTime=960; //Open position holding time in minutes
This Expert Advisor uses the compiled indicator file XPeriodCandleSystem.ex5 for operation. Place it to <terminal_data_folder>\MQL5\Indicators.
Default Expert Advisor's input parameters have been used during tests shown below.
Fig. 1. Examples of trades on the chart
Testing results for USDJPY H4 over the year 2017:
Fig. 2. Testing results chart
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21539
The signal indicator based on Momentum, CCI, ATR, RSI and ADX.
MA_Lag_ReduceMA Lag Reduce indicator is an SMA with the ability to set the delay elimination factor.
The trading system based on AbsolutelyNoLagLwma_Range_Channel indicator signals with the possibility to set a fixed position holding time.
Exp_CandleStop_System_Tm_PlusThe trading system based on CandleStop_System indicator signals with the possibility to set a fixed position holding time.