Creating a vertical line below the low

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Creating a vertical line below the low

Postby arjfca » 29 Apr 2012

Hello

Where is my problem. I want to create a vertical line that start from 3 pip below the low of a given bar. It work, but the vertical bar start at the low instead of low - .0003

Code: Select all

Value3 = TL_New_S(D,Time_s,l-.0003,D,Time_S,l);
Value4 = TL_SetExtRight(Value3,True);
TL_SetColor(Value3,Red);
TL_SetStyle(Value3,Tool_Dashed);
TL_SetSize(Value3,0.8);
Print("test time:",T:6:6, " Low:", l:5:5);
Attachments
Vertical line.gif
(9.38 KiB) Downloaded 140 times

arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Resolve: Creating a vertical line below the low

Postby arjfca » 29 Apr 2012

Did modify the code to the end distination of the vertical line to be the ( low *-100)
and I removed the line that was extending it to the right

Code: Select all

Value3 = TL_New_S(D,Time_s,l-.0003,D,Time_S,l*-100);
TL_SetColor(Value3,Red);
TL_SetStyle(Value3,Tool_Dashed);
TL_SetSize(Value3,0.8);
Print("test time:",T:6:6, " Low:", l:5:5);
Attachments
Vertical line.gif
(9.34 KiB) Downloaded 158 times


Return to “MultiCharts”