I would like to make an Expert Advisor/indicator for MetaTrader. It has to automatically set a BUY STOP (order), but only when a SELL STOP (order) was started/activated. Could you make or provide me with this programming script? I’m using MetaEditor.
In short, the condition should look like this
first trade: If (in EUR/USD) current market price is at 1.0010, then set a sell stop at 1.0000 ONLY if the buy stop (order) has started already.
second trade: If price is at 1.0000, then set a buy stop at 1.0010 ONLY if the sell stop (order) has started already
third trade = first trade
fourth trade = second trade
fith trade = first trade
etc
When profit of all activated trades equals 35 pips in positive, then close all trades.