automatic rename vertical line New comment abdi 2011.03.06 15:30 hi i have a code for indicator that do some calculation starting from a date(pointtme) that i enter, the setting window for the indicator is #property indicator_chart_window extern string VLineName=" "; extern datetime PointTime=D'2009.09.07 00:00'; extern int Multiplyer = 00.2220; extern color LineColor=Red; extern int LineStyle=STYLE_DASH; now when the indicator work it will draw a vertical line in futur date . ObjectCreate(VLineName, OBJ_VLINE,0,y,y,y,y); ObjectSet(VLineName, OBJPROP_STYLE, LineStyle); ObjectSet(VLineName, OBJPROP_COLOR, LineColor); am looking for a method to set the VLineName to be both PointTime and Multiplyer (2009.09.07 00:00 - 00.2220) automatically instead of enter it manually every time any help plz [ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. Vertical lines vertical line after a specific number of bars abdi 2011.03.06 17:48 #1 any suggestion plz? qjol 2011.03.06 20:30 #2 extern double Multiplyer = 00.2220; // double not an int string VLineName = TimeToStr(PointTime) + " - 0" + DoubleToStr(Multiplyer,4); abdi 2011.03.06 21:09 #3 qjol: hi qjol thanks for ur help ...ur code is what i was looking for ....it's work very good with my code thanks again New comment
hi
i have a code for indicator that do some calculation starting from a date(pointtme) that i enter,
the setting window for the indicator is
now when the indicator work it will draw a vertical line in futur date .
am looking for a method to set the VLineName to be both PointTime and Multiplyer (2009.09.07 00:00 - 00.2220) automatically instead of enter it manually every time
any help plz