Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
Hi guys,
This trading system is based on two indicators: renko chart boxes and keltner channel.
A buy trade is opened if the high value of a renko box is above the upper band value of a keltner channel.
A sell trade is opened if the low value of a renko box is below the lower band value of a keltner channel.
Either trade is exited when the opposite is true.
If trade 1 and trade 2 is set to true, open two trades at the same time.
Important - this EA has to be able to trade on any instrument on MT4; forex or CFDs for instance.
If it makes the programming easier I can use an EA that takes trades based on when the indicators paint on the chart
--General settings--
Lot size 0 (manual lot size, if zero, use autolot instead)
Autolot 0.1 (0.1 lot per 10000 in account balance)
Max trades per day 10
--Indicator settings--
Renko box size 10 (pips)
MA period 20
MA mode 1
Price mode 0
ATR period 20
K 2.0
ATR mode true
Time period off (if on, trade only between from and to)
From 00:00 (expressed in values from 0:00 to 23:59)
To 00:00 (expressed in values from 0:00 to 23:59)
Trade every signal false (if false trade buy signal then wait for sell signal, if true trade any valid signal)
--Trade 1--
Open trade order true
Exit bars 20 (exit trade after 10 consecutive opposite bars)
SL 50
TP 50
--Trade 2--
Open trade order true
Exit bars 20 (exit trade after 10 consecutive opposite bars)
SL 50
TP 400
Example 1
In this picture you open two sell trades on the first red arrow.
Since trading every signal is set to false you don't open any new sell signal.
Open two buy trades on the second red arrow and close any open sell order.
Example 2
Trade every red arrow