Skip to main content

Rsi Composite Index for Amibroker (AFL)

thakkarps about 15 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 5)
  • Tags:
    oscillator, amibroker

This is for Big Picture Investing
It shows Big shift in price.

Screenshots

Indicator / Formula

Copy & Paste Friendly
Base=MA(RSI(14),6);
ATRcustom=HHV(
ValueWhen(RSI(14)>Ref(RSI(14),-1),ATR(1))OR  
ValueWhen(RSI(14)>Ref(RSI(14),-2),ATR(1))OR
ValueWhen(RSI(14)>Ref(RSI(14),-3),ATR(1)),14);
Part1= (2.3*(MA(ATRcustom, 15))); //{up coefficient is a factor 2.3 AND added}
Part2= (2.1*(MA(ATRcustom, 15))); // {down coefficient is factor 2.1 AND subtracted}
Part3 =  IIf( (Base >= Ref(Base,-1)),(base + Part1),(base + Part2) ); 

Plot(Part3,"composite index",IIf(part3>Ref(part3,-1),colorBrightGreen,12),5);
Plot(30,"30 LINE",colorGreen,styleThick);
Plot(70,"70 LINE",colorGreen,styleThick);

2 comments

almost 14 years ago

Hi, have you tried 1min charts??? It looks really great !!! Shows divergences either, better than RSI itself…
Tks a lot…

about 13 years ago

I do not get chart like anything like shown above … only a basic chart divergence etc. not shown nor background?

Dick

Leave Comment

Please login here to leave a comment.