MQL4 Add indicator to chart from EA - page 4

To add comments, please log in or register
Joseph Boaten
46
Joseph Boaten  
iCustom();
sara.sasha
7
sara.sasha  
Alain Verleyen:

My friends, I want to place a command in the code below to add the "TDI" indicator on the chart when the click is done.
How to add the code to the following code?



//.......................................
   if (id == CHARTEVENT_OBJECT_CLICK) {
      string clickedChartObject = sparam;
      if (clickedChartObject == obj_name[4]) {
         string name = "name_" ;
     
      
  
 

 
 
       
      }
   }

Files:
rr.png 10 kb
To add comments, please log in or register