Modification of Expert Advisor based on Donchian Channel

MQL5 Indicators Experts

Job finished

Execution time 2 days
Feedback from customer
Very good programmer.
Feedback from employee
Thanks again!!!!!

Specification

Update Donchian Channel


Is condition:

-         - Most positions closing after 2 – 3 points upper or lower movement. But the trailing stop has the value 50 points. It does not make sense.

-         - ADX and Stochastic filters works properly

-         - Positions opens before closing the current candle


Target situation:

-        - Positions opens after closing the candle before which triggers the buy or sell signal

-        -  Positions closing only if the trailing stop (50 points) is triggered


Expert Advisor based on Donchian Channel

Settings:

HHLL Period = 20, Margins = 0

ADX Period = 14

SSTOC Period = 5, 3, 3

Time Period = H1

 

Buy & Sell Signals

Buy Signal:

Higher high ot the upper line of the Donchian Channel has been created. Open position after closing the candle which creates higher high on the upper line. (see screenshot)

Sell Signal:

Lower low on the lower line of the Donchian Channel has been created. Open Position after closing the candle which creates lower low on the lower line.

 

Filter:

The Filter values are valid for the candle before the candle which opens a position:

Open position only if:

1.       ADX > 30 or < 20

2.1   SSTOC: K Period < 80 long trade

2.2   SSTOC: K Period > 20 short trade

 

Do not open position if:

1.       ADX 20 – 30

2.3   SSTOC: K Period > 80 long trade

2.4   SSTOC: K Period < 20 short trade

 

Stop & take profit

Trailing Stop: 50 points

Stop loss: 100 points

 

Money Management

10 % of total capital per trade

 

Notice:

-          I need possibility to change settings of ADX, SSTOC, Trailing stop, period, market via settings for strategy tester.

-          only 1 Position is open at the same time


Responded

1
Developer 1
Rating
(2629)
Projects
3341
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
2
Developer 2
Rating
(2294)
Projects
2888
63%
Arbitration
122
44% / 25%
Overdue
428
15%
Working
3
Developer 3
Rating
(294)
Projects
470
39%
Arbitration
102
40% / 24%
Overdue
78
17%
Busy
Published: 2 codes

Project information

Budget
40+ USD
Deadline
from 1 to 5 day(s)