Load Custom indicator with a Button in EA?

 

Hello my dear experts hope everyone is fine. my question is . is it possible to load a indicator on our chart with a button. 

for example if we add a button in our EA and want to implement Bollinger Band or RSI or any indicator that we want to show on chart.

if it is possible to add a indicator with custom settings ( that we add in our ea code ) and on our chart we have a button and when we press the button then our indicator show on screen with our given settings. 

Need a sample code Thanks

 
Ali Raza: is it possible to load a indicator on our chart with a button.

Perhaps you should read the manual.
   How To Ask Questions The Smart Way. (2004)
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

  1. ChartApplyTemplate
  2. ChartIndicatorAdd
 
William Roeder #:

Perhaps you should read the manual.
   How To Ask Questions The Smart Way. (2004)
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

  1. ChartApplyTemplate
  2. ChartIndicatorAdd

Hello William Thanks for your attention.