Adding a button to the Chart

Created at 23 Nov 2021, 20:11
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MT

MTrade12

Joined 23.11.2021

Adding a button to the Chart
23 Nov 2021, 20:11


Hi Guys, 

Is there any code that would allow me to add a button to the chart? The button would act as a link to place an order with preset SL, TP etc. 

Let me know if there's anything l can further clarify. 


@MTrade12
Replies

amusleh
24 Nov 2021, 09:19

Hi,

You can add a button by using Chart controls: cAlgo API Reference - Button Class (ctrader.com)


@amusleh