Hello coders,
I am doing an EA based on RSI 14 everything else is OK for now, but I want it to be adding more orders at the same direction and close all of them at the opposite level. Initially it was doing multiple trades when RSI falls below 40 and goes back above 70 it sends in another SELL but since I added the function to close the orders it stopped placing add-on trades. I have done all I could but it is only placing one order at a time.
The attached picture explains what I want. It should have add-on orders at the BLUE circles and close them normally.
Thanks in advance for the snippets
kos
I am doing an EA based on RSI 14 everything else is OK for now, but I want it to be adding more orders at the same direction and close all of them at the opposite level. Initially it was doing multiple trades when RSI falls below 40 and goes back above 70 it sends in another SELL but since I added the function to close the orders it stopped placing add-on trades. I have done all I could but it is only placing one order at a time.
The attached picture explains what I want. It should have add-on orders at the BLUE circles and close them normally.
Thanks in advance for the snippets
kos
John 3:16 - From THIS love no power on earth can me sever.