Plot horizontal high of day line on ThinkorSwim?

T

Tom4235

New member
hey, can you provide the code for a simple horizontal line at HOD? just need the visual, thank you v much
 
T

tomsk

Well-known member
VIP
Here we go, horizontal line at HOD, use this on an intraday chart

plot highLine = highestAll(if isNaN(close[-1])
then high(period = "Day")
else Double.NaN);
 
BenTen

BenTen

Administrative
Staff
VIP
@blake007 By switching high and highestAll to low and lowestAll.

Code:
plot lowLine = lowestAll(if isNaN(close[-1])
then low(period = "Day")
else Double.NaN);
 

Similar threads

Top