I have a basic question about creating a button in the toolbar to execute an ATMStrategy trade. The button examples I have seen are all of type indicator and inherit from the Indicator class, I understand these examples but I want the click event to trigger the ATMStrategy Methods (GetatmStrategyUniqueId and ATMStrategycreate methods), these methods don't seem to be able to be called from an indicator as they inherit from the strategy class. Can you advise the best approach?
Should I have a button as an indicator and try and call a strategy which executes an ATM strategy? if so how best should I do that? or,
Should I try and create a button in a strategy? if so are there any examples where that's been done?
If I am missing something simple please advise.
Thank you

Comment