I have an EA. The EA can open orders according to some rules. It can set a take profit and stop loss point.
if my statement is true, the EA should not wait to stop loss and close the order. Forexample, if SMA(15)>SMA(50) for a sell position.I read PositionClose but there is not an example. Can you help me please?Best,