İş Gereklilikleri
The expert advisors consists of two strategies stages
First stage is a GRID style
Second stage is ZONE RECOVERY of the loosing position
The firs rule to open the EA is the GRID and second stage is ZONE RECOVERY
First Stage rules
For LONG (Buy): let you choose to open PENDING (+/- 5 pip from current price) or INSTANT
1st condition: EMA 10 is above EMA 20: Add Option to choose timeframe
2nd condition: MACD signal is going upward, no need to cross 0 line level. But it must start growing upward. Add Option to choose timeframe
3rd condition: Check if Heiken Ashi turnes from negative candle on -2 previous candles to positive on -1 candle (not current). Add Option to choose timeframe
EXIT Rule or Takeprofit: When HeikenAshi turn negative on -1 candle. Add Option to choose timeframe
Also add breakeven, pipstep, trailling stop, trailling steps
If the current orders goes negative set GRID order (open 2nd order in same direcction of first order)
Input parameteres for GRID:
Multiply: Set the value to multiply the lot for new orders
GridGAP: add option to set FIX pips step to open new GRID or set DyanmicGridGAP
DynamicGRIDGAP: input to enter between 3 candles up to 48 candles. Measures the High - Low of current candles period
If DynamicGRIDGAP is == to negative pips on first order, then get ready to open second GRID ORDER (dont open yet)
If DynamicGRIDGAP is >= at first order pips then
Check for same conditions as mentioned on first order: EMA10 is above & EMA 20, MACD going upwards, HeikenAshi candles turn positive on -1 candles in comparison with -2 candle
Add MAX GRID orders input: set the max amount of GRID orders it can be opened
If MAX GRID is reached, then new strategy kicks in after FIX GRID or DynamicGRIDGAP value is reach, instead of open a new grid order a new strategy kicks in: ZONE RECOVERY
ZONE RECOVERY
Input parameters for ZONE RECOVERY:
Multiply lots: formula set the value to multiply the lot for new order by multiplyng the sum of all BUY Orders opened (not multplying the lot itself, but the sums of all buy orders)
Set GAP value: FIX or use dynamic (same as DynamicGRIDGAP)
Order type: let you choose to open as PENDING or INSTANT orders
Takeprofit: average takeprofit
MAX ZONE ORDERS: Max combined orders to be opened
How the ZONE RECOVERY works
After FIX GAP price or DyanmicGap price is reached open a new SELL ORDER with multiply value
Since a new order will be higher in lots than the previous who was loosing, the new order will get profits if it turns positive in his direcction, and the overall takeprofit must be set in order to obtain profits even after closing the BUY order who was loosing. So in overall it must calculate profits in pips overall between the difference of BUY and SELL lot orders. Example with a multiply of 1.4x: BUY 1 lot - SELL 1.4 lot --- overall lot will be 0.4 lot so takeprofit if set to 100 pips will be based on 0.4 lots
If the price reverts after the SELL order and goes back to the average BUY price from GRID it will open again a second order, this time BUY with the multiply value: Example with 1.4x multiply. Total BUY orders combined with GRID are 3 lots. SELL order were set to 4.20 lot, now the prices goes back up so a new order is opened and will be BUY (1.4x X SELL 4.20 Lots) - Buy lot already opened: 2.88 Lots.
If the prices goes again back down to the SELL PRICE a new order is again opened same as SELL with multiply value (sum of BUY orders - Sell orders already opened multiply by value)
And so on and on until the MAX ZONE ORDERS is reach