Try
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red //---- input parameters extern int ExtFormula=0; extern int ExtHowManyDays=00; extern bool ExtDraw=false; extern int LineWidth=2; extern ENUM_LINE_STYLE LineStyle=STYLE_SOLID; //---- buffers double ExtMapBuffer1[]; double ExtMapBuffer2[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicators SetIndexStyle(0,DRAW_LINE,LineStyle,LineWidth); SetIndexBuffer(0,ExtMapBuffer1); SetIndexEmptyValue(0,0.0); SetIndexStyle(1,DRAW_LINE,LineStyle,LineWidth); SetIndexBuffer(1,ExtMapBuffer2); SetIndexEmptyValue(1,0.0);
First 2 highlighted lines are additions
Last 2 are changed lines
Keith Watford:
Try
First 2 highlighted lines are additions
Last 2 are changed lines
did it but not working , still very thin line , i attached pic for it
Files:
EURJPYM30.png
60 kb
Hisham Mahmoud Younes:
did it but not working , still very thin line , i attached pic for it
Oh I see, I didn't look at the code, just the section re the buffers.
The indicator obviously uses horizontal lines.
Wait a while, I will take another look.
Keith Watford:
Oh I see, I didn't look at the code, just the section re the buffers.
The indicator obviously uses horizontal lines.
Wait a while, I will take another look.
ok
Ok, now the input LineWidth will work with the horizontal lines.
Files:
DailyPivotPointsMod.mq4
19 kb
great job

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi
i am using this indicator but its line width is so thin , i tried to modify it with no hope
so if any one can modify it to be able to modify its lines i appreciate your help