Hello i am new to mql4 although i am a senior developer, and i am facing some problem with changing the color of the drawn lines, when i put the indicator on the chart everything works fine but when i edit the color lines and width the changes does not take effect. and the lines is always colored Red for some reason. Could anyone show me what am i doing wrong?
Thanks
Thanks
Inserted Code
#property indicator_label1 "R3" #property indicator_type1 DRAW_LINE #property indicator_color1 clrBlue #property indicator_style1 STYLE_SOLID #property indicator_width1 1 input double R3 = 0.0; double R3Buffer[]; int OnInit(void) { SetIndexBuffer(0,R3Buffer); ObjectCreate("R3",OBJ_HLINE,0,Time[0],R3,0,0); ObjectSetInteger(0,"R3",OBJPROP_TIMEFRAMES,OBJ_PERIOD_H1|OBJ_PERIOD_M15|OBJ_PERIOD_M30|OBJ_PERIOD_M5|OBJ_PERIOD_M1); }
Plan your Trade, Trade your Plan