Download MetaTrader 5

OBJ_RECTANGLE Color Problem!

To add comments, please log in or register
fly7680
636
fly7680  

Hello, I have a little problem with superimposed color rectangles. Only when these objects are overlapped area becomes black, how can I solve?


// 1° Rectangle
ObjectCreate("Zon1",OBJ_RECTANGLE,0,Time[0],price1,iTime(0,TF,index1),iHigh(0,TF,index1));
ObjectSet   ("Zon1",OBJPROP_COLOR,Brown); 

// 2° Rectangle
ObjectCreate("Zon2",OBJ_RECTANGLE,0,Time[0],price2,iTime(0,TF,index2),iHigh(0,TF,index2));
ObjectSet   ("Zon2",OBJPROP_COLOR,Brown); 

// 3° Rectangle
ObjectCreate("Zon3",OBJ_RECTANGLE,0,Time[0],price3,iTime(0,TF,index3),iHigh(0,TF,index3));
ObjectSet   ("Zon3",OBJPROP_COLOR,Brown); 
honest_knave
Moderator
2326
honest_knave  
Object overlapping color problem
Object overlapping color problem
  • www.mql5.com
Hi I have seen If two object crossed with each other then the cross section get white or in other color. Is there any way to avoid that...
To add comments, please log in or register