♥ 0 |
Hey everyone! I am using a chart study on the 1 minute chart (that also shows extended hours trading). I am using the code below to track the highest high but I would like it not to reference the extended hours high. I’ve tried a couple different solutions but am running into problems. I am sure I’m missing something obvious. Thank you! rec trackHigh = if mkth ==0 then 0 else (if newDay then high else if high > trackHigh[1] then high else trackHigh[1]);
def mkth = GetTime() > RegularTradingStart(GetYYYYMMDD()) and GetTime() < RegularTradingEnd(GetYYYYMMDD());
Marked as spam
|
Private answer
A solution for this has already been published in one of our free tutorial videos. And it provides user inputs to adjust the start and end times as well as alerts for price making new session highs and lows. https://www.hahn-tech.com/thinkorswim-alert-high-low-version-two/ Be sure to view the entire video or you will not understand how to adjust the parameters to fit your preferences. Marked as spam
|
Please log in to post questions.