Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
EA with the Following parameters
Trading mode
1. cumulative [Combines all open trades for calculation of profit, stop loss and trailing]
2. Each trade [Calculates profit, sl and trailing for each trade separately]
Open trade Mode
1. Buy on high of previous candle, sell on low of previous candle
2. Sell on high of previous candle, buy on low of previous candle
Distance
1. Pips/points from the high or low, [say x pips/points above high and x pips/points below low]
Take profit [Three modes]
1. % of the difference between high and low of the pevious candle [eg. previous candle [high Minus low] is [200-190] 10, if the input value is 50% that means to book the profits at 50% from the entry price at 5 pips/points, if the input value is 200% that means at 20 pips/points from the entry point]
2. Pips from the entry level
3. $ Value
Stop loss [Three Modes]
As above
Trailing stop loss
1. Classic - based on pips
2. based on $ value
Lots
1. Simple [0.01,0.01,0.01]
2. Grid 1 [0.01,0.02,0.03...]
3. Grid 2 [0.01,0.02,0.04,0.08,0.16,...]
4. % of the balance
Kindly share the code file once approved [requirement]