Line Thickness change

 

Hi All

Can someone please tell me how to change the line thickness in the code of an indicator called " GMMA Short .mq4" ? 

Thank you very much.

fxarcher 

 
fxarcher:

Hi All

Can someone please tell me how to change the line thickness in the code of an indicator called " GMMA Short .mq4" ? 

It's a little difficult without being able to see the code.
 
fxarcher:Can someone please tell me how to change the line thickness in the code
You modify the code. Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.
 
RaptorUK:
It's a little difficult without being able to see the code.


I Hope this will help you help me ....Thank you very much RaptorUK
Files:
 

 

 Easie way

 Change Width

 other way change command    in the code for setting the style 

 
fxarcher:

I Hope this will help you help me ....Thank you very much RaptorUK

These command set the line styles . . .  in particular  SetIndexStyle()   is you look at the documentation you will see that the 4th parameter sets the width.

//---- indicators
   SetIndexStyle(0,DRAW_LINE,EMPTY,1,indicator_color1);
   SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexStyle(1,DRAW_LINE,EMPTY,1,indicator_color2);
   SetIndexBuffer(1,ExtMapBuffer2);
   SetIndexStyle(2,DRAW_LINE,EMPTY,1,indicator_color3);
   SetIndexBuffer(2,ExtMapBuffer3);
   SetIndexStyle(3,DRAW_LINE,EMPTY,1,indicator_color4);
   SetIndexBuffer(3,ExtMapBuffer4);
   SetIndexStyle(4,DRAW_LINE,EMPTY,1,indicator_color5);
   SetIndexBuffer(4,ExtMapBuffer5);
   SetIndexStyle(5,DRAW_LINE,EMPTY,1,indicator_color6);
   SetIndexBuffer(5,ExtMapBuffer6);