1.- I need to validate if there are running positions so that I stop painting them until the position is closed
2.- I need to add a button to chart trader that, when clicked, enters a limit or stop order depending on where the current price is at that moment with respect to the variable with the entry price that the indicator code gives me.
I understand that input cannot be validated or entered from an indicator. Is this correct?
Would I have to develop a strategy to achieve the aforementioned?
Greetings and thank you very much.

Comment