
hi to all
i am new to this forum , can any one here, code my strategy to automate my trades in eur/usd .
the rules are simple.
Buy
(1)when price is above 50 ema by 20 pips,
stoploss 50 pips ,profit target 100 pips
(2) previous price cross should be a whipsaw
(3) i should get alert when my position is unfavourable by 25 pips, and my position is favourable by 50 pips
sell
(1)when price is below 50 ema by 20 pips,
stoploss 50 pips ,profit target 100 pips
(2) previous price cross should be a whipsaw
(3) i should get alert when my position is unfavourable by 25 pips, and my position is favourable by 50 pips
any help in this regard is highly appreciated
bye