Join our fan page
- Views:
- 3471
- Rating:
- Published:
- 2018.08.23 13:46
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The trading system based on DEMA_Range_Channel 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=1920; // Open position holding time in minutes
This Expert Advisor uses the compiled indicator file DEMA_Range_Channel.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 2017 on EURJPY H8:
Fig. 2. Testing results chart
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21558
![Exp_Rj_SlidingRangeRj_Digit_System_Tm_Plus](https://c.mql5.com/i/code/expert.png)
The trading system based on Rj_SlidingRangeRj_Digit_System indicator signals with the possibility to set a fixed position holding time.
![RSICandleKeltner_HTF](https://c.mql5.com/i/code/indicator.png)
The RSICandleKeltner indicator with the timeframe selection option available in the input parameters.
![MFICandleKeltner_HTF](https://c.mql5.com/i/code/indicator.png)
The MFICandleKeltner indicator with the timeframe selection option available in the input parameters.
![Wajdyss_Ichimoku_Indicator](https://c.mql5.com/i/code/indicator.png)
A semaphore signal indicator based on a breakthrough of the Kijun Sen line by the price.