Indicator with buttons to create pending order with strategy at swing high/low
I want to create an indicator, which plot 2 button, 1 selectbox (to select ATM strategy). I would like to initate the order on the swing low/high (I can write this logic, it is not a problem)
Where I need help, or example, and other indicator is fine:
- How to create button on a chart trader area for example, or maybe open a new floating window, and put the buttons there...?
- Is that possible to open order with given ATM strategy (so if the order executed, automatically applied by the preset ATM strategy)
- I can select the position with an indicator, that is not an issue here
This post has been selected as an answer to the original posters question
you can take a look at the build in SampleATMStrategy that will show you how to create orders and automatically attach an ATM to them.
For buttons you could start with looking into ToolStripButton and placing buttons on the toolbar.
The following user says Thank You to ABCTG for this post: