I am looking for a simple way to modify the existing chart trader buy/sell buttons such that when a button click is registered, rather than immediately submitting, the order will delay until the close of the candle.
Generally, how can I add logic to the click of these particular buttons. Just to catch any prospective help up on where I am so far, I have downloaded NT_Chelsea's wonderful indicators that allow one to modify the existing chart trader buttons (in the form of an indicator) but I was unable through searching to determine how to actually change the logic of a button click and send an order (especially in the context of the original indicator)...
I am also aware of a strategy which adds buy/sell buttons to the rendered chart directly. This approach turns out to be problematic for me due to the way the strategy interacts with manually closing/opening positions.
TL;DR How can I add custom logic to the existing chart trader buttons such that the submission of orders can be modified? Syntax for order submission within this context? ATM approach? managed? unmanaged? account.submit?
Thank you!
Comment