I have written a snippet of code which draws a horizontal line at the bid price. But I want to change its colour and the code compiles but the colour is not changing! It’s only staying red! Any help would be greatly appreciated.
long cid = ChartID(); ObjectCreate(cid,"bid_price",OBJ_HLINE,0,0,bid); ObjectGetInteger(cid,"bid_price",OBJPROP_COLOR,clrGreen);