get close and low of highest high


Category:
0
0

Hi all. Thinkorswim scan, I’m able to find the highest high of last 10 days. I need help on how to get the close and low of this highest high. thanks.

RESOLVED
Marked as spam
Posted by (Questions: 6, Answers: 6)
Asked on July 9, 2018 12:59 pm
113 views
0
Private answer

I see you posted this in the Stock Scanner topic but your request does not specify a scan at all. So I will move this post to the Chart Studies topic. The code provided here will plot the two values you requested on the chart in a lower study.

declare lower;
def highestHighOffset = GetMaxValueOffset(high, 10);
plot closeOfHighestHigh = GetValue(close, highestHighOffset);
plot openOfHighestHigh = GetValue(low, highestHighOffset);

 

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on July 9, 2018 3:14 pm
0

Hi,

Can you please share the complete code to find highest high and lowest low of Intraday chart

( at July 23, 2018 8:07 pm)
0

Your request has very little in common with the context of this post. Highest high and lowest low of intraday chart is the same as daily high and daily low. So I don’t understand why you would need our assistance to resolve this. If you have more details to provide then post this in the Q&A forum under the appropriate topic.

( at July 23, 2018 9:11 pm)