Lavoro terminato
Specifiche
Hi,
I want an EA with the following rules.
Inputs:
Lots:
Take Profit:
Stop Loss:
Example:
The first order should be buy. if the Lots is 0.1 and take profit is 100 and stop loss is 50.
if the price is 1.80000, then the take profit should be 1.80100 and stop loss should be 1.79950.
if the price reaches 1.80100 then the order will close and again new buy order will open.
if the rice reaches 1.79950, then the order will close at 50 pips loss and sell order needs to be open with Lots+stoploss i.e 0.1+0.05 then it should be 0.15 lots sell order should be open with the same take profit of 100 i.e 1.79850 and stop loss is 50 pips i.e. 1.80000. if it hits to take profit then the next order should be sell.
please do not use pending orders for this EA. Because it will not execute because of the spread.
Thanks,
Santhosh