pradeep
pradeep

Reputation: 13

lowest low after 52 week high afl

Is there a way by using amibroker afl which can find the lowest low made by a stock after it has made a recent 52 week high? Since this exploration will run on a watchlist, and stocks would have made 52 week high on different dates; how do I code to find lows after each different date of every stock in the watchlist.

Upvotes: 0

Views: 939

Answers (2)

Biarys
Biarys

Reputation: 1183

A bit late to the party but you wanna use

LowestSince(new_52_week_high , L, 1); where

new_52_week_high = H > Ref(HHV(H, 250), -1));

Upvotes: 0

Sethmo011
Sethmo011

Reputation: 601

As an example, you can start with this. 52 Week High AFL

Then use something like:

newLow = LLV(L, BarsSince(HI));

Upvotes: 0

Related Questions