Today (on 17th Nov) HITACHIHOM has touched new 52 W High (838). I want the previous 52W high value of the newly touched 52W High (prev high on 13th Nov - 721.90).
Steps that I will follow for this:
1) I will filter today's 52 Week High stock.
2) Then previous 52 W high scrips which are <=5% from current 52W high will have to get filtered and shown (for 20 days time period).
For eg (for 20 days time period):
Valid one (to be shown):
Today's 52W High: 100
Prev 52W High: 96 (4% away from current 52W high, hence ok)
Invalid one (not to be shown):
Today's 52W High: 100
Prev 52W High: 90 (10% away from current 52W high, hence NOT ok).
Your help is highly appreciated.
Steps that I will follow for this:
1) I will filter today's 52 Week High stock.
2) Then previous 52 W high scrips which are <=5% from current 52W high will have to get filtered and shown (for 20 days time period).
For eg (for 20 days time period):
Valid one (to be shown):
Today's 52W High: 100
Prev 52W High: 96 (4% away from current 52W high, hence ok)
Invalid one (not to be shown):
Today's 52W High: 100
Prev 52W High: 90 (10% away from current 52W high, hence NOT ok).
Your help is highly appreciated.