Hi all,
1stly, i am a really stupid with programming.
can anyone help me to create an EA for me to learn on how to code a simple trading steps?
let say the trading steps are:
1) it read current price for current open pair's chart
2) it send 2 pending orders (sellstop and buystop). let say 10 pips up and above the current price (got from setp 1)
3) it set take profit (tp) for both pending orders set on step 2 . let say it set tp for 10pips each
4) if only one pending order triggered and hit tp, the other order will automatically closed.
5) if both orders triggered, and 1 order hit tp, the other order will automatically readjust it's tp to just 1pip or BE.
6) if all orders closed, an EA will repeat all steps.
7) for MM, EA will only use 0.2% from account balance in each pending order.
no indicator used...
regards and tq,
ikhramhakim
1stly, i am a really stupid with programming.
can anyone help me to create an EA for me to learn on how to code a simple trading steps?
let say the trading steps are:
1) it read current price for current open pair's chart
2) it send 2 pending orders (sellstop and buystop). let say 10 pips up and above the current price (got from setp 1)
3) it set take profit (tp) for both pending orders set on step 2 . let say it set tp for 10pips each
4) if only one pending order triggered and hit tp, the other order will automatically closed.
5) if both orders triggered, and 1 order hit tp, the other order will automatically readjust it's tp to just 1pip or BE.
6) if all orders closed, an EA will repeat all steps.
7) for MM, EA will only use 0.2% from account balance in each pending order.
no indicator used...
regards and tq,
ikhramhakim
If only,.....