I want to create the ability to close (manually) a position that a strategy opened, but in such a way that the order will be transmitted as part of the strategy itself and not be foreign (not related) order.
Is there any "button" that I can display, so when pressed I can catch it, and link it to a sell order for example? (the sell order is part of the strategy code).
I want to do it without enabling and disabling the strategy.
Is there a GUI that I can get input from the user, and use it within the strategy (without enabling/disabling the strategy)?
Much appreciate the help, you are the best.

Comment