İş tamamlandı
İş Gereklilikleri
Hello, i need someone to write the EA for me in order to me to understand the programming, so i need also the code (i don~t know if it´s normal to us to have the code) because i'm a programmer and also i need to learn from a previous EA.
From my perspective the code (and the setup) should be so easy to do regarding complexity.
Here is the setup:
The orders are placed after the close of the candle, so every new candle i open 2 operations, one to buy and one to sell, witch one occurs first cancel the other and place the stop loss with the trailing stop:
I USE STOCH(5,3,3) 80/20
Timeframe 5 Minutes
To Place Orders:
BUY:
Entrance Price: candle closed high + 2 Pips (EXAMPLE HIGH IS 1.19995, ENTRANCE WILL BE 1.19997) AND Principal STOCH Line must be < than 80
Stop Loss: candle closed low - 2 Pips
Trailing Stop = 10
SELL:
Entrance Price: candle closed low - 2 Pips (EXAMPLE LOW IS 1.19980, ENTRANCE WILL BE 1.19978) AND Principal STOCH Line must be > than 20
Stop Loss: candle closed high + 2 Pips
Trailing Stop = 10
FOR BOTH OPERATIONS, WHEN THE FIRST TRAILING STOP HAS BEEN REACHED, ADJUST FROM 10 TO 5.
VERY IMPORTANT: IF NO ORDER IS EXECUTED, NO BUY AND NO SELL, AFTER NEW CANDLE, CANCEL THE TWO OLD ORDERS AND PLACE THE NEW ONES BASED ON NEW HIGH AND LOW VALUES.
IF Acording to your expertise you should advice me about some trick or adjust, please fell free to talk before taking actions.