If a buy order is open and StepMA PDF changes from up to down, the buy order should be closed. If a buy order is open and RSI reaches 70 (upperband), the buy order should be closed.
And the opposite for sell: If a sell order is open and StepMA PDF changes from down to up, the sell order should be closed. If a sell order is open and RSI reaches 30 (lowerband), the sell order should be closed.
How can I do that? I don't know so much about coding yet. Please help. Thanks in advice! All the best! Simon
Hi, I need help with to close an order by 2 condition in addition to SL,TP, TS.
And the conditions should be:
If a buy order is open and StepMA PDF changes from up to down, the buy order should be closed.
If a buy order is open and RSI reaches 70 (upperband), the buy order should be closed.
And the opposite for sell:
If a sell order is open and StepMA PDF changes from down to up, the sell order should be closed.
If a sell order is open and RSI reaches 30 (lowerband), the sell order should be closed.
How can I do that? I don't know so much about coding yet.
Please help. Thanks in advice!
All the best!
Simon