How can I draw a vertical line before 50 candles?
solved :)
datetime tm[]; CopyTime(_Symbol,Zaman_Dilimi,0,Mum_Adedi,tm); ObjectCreate(_Symbol,"Dik",OBJ_VLINE,0,tm[0],0); ObjectSetInteger(0,"Dik",OBJPROP_COLOR,clrRed); ObjectSetInteger(0,"Dik",OBJPROP_TIME,tm[0]); ObjectSetInteger(0,"Dik",OBJPROP_WIDTH,2); ObjectMove(_Symbol,"Dik",0,tm[0],0);
hi
this code doesn't work. does not take any action.
I would appreciate your help.