#property indicator_chart_window extern color BidLineColor = DodgerBlue; extern string BidLineName = "Bid_Line"; int init() { SetIndexLabel(0,NULL); return(0); } int deinit() { ObjectDelete(BidLineName); return(0); } int start() { if(ObjectFind(BidLineName) == -1){ ObjectCreate(BidLineName,OBJ_HLINE,0,0,Bid); ObjectSet(BidLineName,OBJPROP_COLOR,BidLineColor); } ObjectSet(BidLineName,OBJPROP_PRICE1,Bid); return(0); }