Summary: It is an addon indicator that shows how to add a button to the chart trader panel and implement a click event. In this example, it is used to add on to an existing position. So if you were 1 contact long, and you hit the "addon" button it will add 1 long to your position at the current price. And vice versa with a short. If you have no positions, it will not do anything. It will also default to the account you have selected in the chart trader panel.
Install Instructions:
Instructions
1. Tools >> Import >> NinjaScript Add-On...
2. Select the zip file you downloaded
3. Create new chart and add the indicator MyAddonChartTrader
4. Open Chart Trader panel and you should see the "Addon" button.
Hope that gets you started so you can implement your own logic.
Comment