Request
can the experts here code RS afl please
the code involves using log function unlike amibroker native code
Thanks in advance
rvlv
Jeff Tompkins
uses following code for relative strength
this is not afl
we have to prepare the afl
data1 is stock
reference is nifty
xaverage is exponential average likely
RSLENGTH=90;
EMALENGTH=3;
STOCKPRICE=CLOSE OF DATA1;
REFERENCEPRICE=CLOSE OF DATA2;
LOGVAL=LOG(STOCKPRICE/REFERENCE PRICE);
RS=XAVERAGE(LOGVAL - LOGVAL(LENGTH),EMALENGTH)*100;
can the experts here code RS afl please
the code involves using log function unlike amibroker native code
Thanks in advance
rvlv
Jeff Tompkins
uses following code for relative strength
this is not afl
we have to prepare the afl
data1 is stock
reference is nifty
xaverage is exponential average likely
RSLENGTH=90;
EMALENGTH=3;
STOCKPRICE=CLOSE OF DATA1;
REFERENCEPRICE=CLOSE OF DATA2;
LOGVAL=LOG(STOCKPRICE/REFERENCE PRICE);
RS=XAVERAGE(LOGVAL - LOGVAL(LENGTH),EMALENGTH)*100;
Last edited: