Need Year 2011 high low afl

#1
Dear, users i need a afl which display year 2011 high low only.not 252 bars high low. only high low from year 2011 if any one can help me please , i will be very greatfull.
 

KelvinHand

Well-Known Member
#2
Dear, users i need a afl which display year 2011 high low only.not 252 bars high low. only high low from year 2011 if any one can help me please , i will be very greatfull.
Here Plot to complete yourself.
Code:
H1 = TimeFrameGetPrice("H", inYearly, -1);
L1 = TimeFrameGetPrice("L", inYearly, -1);
 
Last edited:

ztop

New Member
#4
HI = Close > Ref(HHV(High,260),-1);
LW = Close < Ref(LLV(Low,260),-1);
Filter = HI OR LW;
AddColumn( Close > Ref(HHV(High,260),-1), "One year high", 1 );
AddColumn( Close < Ref(LLV(Low,260),-1), "One year low", 1 );
AddColumn( C, "Close", 1.2 );
 

Similar threads