[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About TL_SetStyle ?



PureBytes Links

Trading Reference Links

Hi folks,

I'm experiencing a problem with TL_SetStyle reserved word.
I'd like to get vertical dotted lines but I only managed to obtain solid
style lines with the following code:

 Input: TimeBegin(900), {Heure de fermeture}
	TimeEnd(1735); {Heure de fermeture}


Value1 = TL_New(Date,TimeBegin,Close*0.95,Date,TimeBegin,Close*1.05);
Value3 = TL_SetColor(Value1,GetBackGroundColor + 2);
Value5 = TL_SetSize(Value1,0);
Value7 = TL_SetStyle(Value1,5);

Value2 = TL_New(Date,TimeEnd,Close*0.95,Date,TimeEnd,Close*1.05);
Value4 = TL_SetColor(Value2,GetBackGroundColor + 2);
Value6 = TL_SetStyle(Value2,Tool_Dotted);

I noticed that the style only applies when the trendline is set to the
thinnest size, that why I added Value5 = TL_SetSize(Value1,0), but this
doesn't solve my problem either.

So, Does anyone out there able to advise me in order to get dotted lines?

Many thanks for your help !
Rgds,

Philippe


°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
philippe.lhermie@xxxxxxx

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°