Help me more with this afl

VTC

New Member
#1
Hi all bro,
I have this afl and now I want more:
I want to know the Highest High Value of Close from Start Date to End Date. Please help me. Thanks all.
I want Data EOD of Crude Oil. Who have ? Give me please.
start = ParamDate("Start Date", "2010-07-09",0 );
end = ParamDate( "End Date", "2010-08-27",0 );
Datend = DateNum();

barsSinceStart = BarsSince(DateNum()==start);
barsSinceEnd = BarsSince(DateNum()==end);

Filter = 1;

AddColumn(Ref(C,-barsSinceStart),"Price Begin");
AddColumn(Ref(C,-barsSinceEnd),"Price End");
AddColumn(Ref(C,-barsSinceEnd) - Ref(C,-barsSinceStart),"Change");
AddColumn(((Ref(C,-barsSinceEnd) - Ref(C,-barsSinceStart))*100/Ref(C,-barsSinceStart)),"% Change");
 

1sandeepgupta

Well-Known Member
#2
Perhaps this can help you
AddColumn(HHV(C,1200),"HighestHigh",1.4); //1200 for five years assuming 20 days in a month
 
#3
Perhaps this can help you
AddColumn(HHV(C,1200),"HighestHigh",1.4); //1200 for five years assuming 20 days in a month
Hello Sandeep,

Could you please help me with.......:

HC = HHV(H,252);
HD = HHV(????,252);

Trying to fill variable "HD" with the date on which HHV(H,252).

GetRTData("52WeekHighDate") does not work as working on EOD data.

Thanks.