Adding a button to the Chart

MTrade12 since: 23 Nov 2021;

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

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. 

amusleh's avatar

amusleh since: 01 Mar 2021;

  24 Nov 2021, 09:19

Hi,

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

Community Developer | Spotware | Telegram: @algodeveloper