good indicator need to modify, could anybody help?

 

The attached indicator " fiboRetracement 3 modify" was two set of fibo line in the chart, but both are in yellow colour, could anyone help to modify one set of fibo line in other colour, maybe in red.

Thank you,

 

ObjectCreate(fibo2,OBJ_FIBO,0,Time[x2],y2,Time[x3],y3);
ObjectSet(fibo2,OBJPROP_COLOR,Yellow);
ObjectSet(fibo2,OBJPROP_STYLE,STYLE_DOT);


That part there you can change color easy

 
bonechair:

ObjectCreate(fibo2,OBJ_FIBO,0,Time[x2],y2,Time[x3],y3);
ObjectSet(fibo2,OBJPROP_COLOR,Yellow);
ObjectSet(fibo2,OBJPROP_STYLE,STYLE_DOT);


That part there you can change color easy


Thank you for your help, I try to change the ObjestSet(fibo2, OBJPROP_COLOR,Yellow); to ObjestSet(fibo2 OBJPROP_COLOR, Red);

but the horizontal line color still remain yellow, only the slope line change to Red.

 
ericsoh wrote >>

The attached indicator " fiboRetracement 3 modify" was two set of fibo line in the chart, but both are in yellow colour, could anyone help to modify one set of fibo line in other colour, maybe in red.

Thank you,

Try adding this line to the code below:

else
{
ObjectCreate(fibo,OBJ_FIBO,0,Time[x1],y1,Time[x2],y2);
ObjectSet(fibo,OBJPROP_COLOR,DodgerBlue);
ObjectSet(fibo,OBJPROP_STYLE,STYLE_DOT);
--> ObjectSet(fibo,OBJPROP_LEVELCOLOR,Red);

Good luck :-)

Reason: