Skip to main content

IBS - Internal Bar Strength for Amibroker (AFL)

abley over 10 years ago Amibroker (AFL)

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

It is calculated as the moving average of the values of the internal bars strength that represent the ratio (Close-Low)/(High-Low) * 100% for each of them.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("IBS");

SetTradeDelays(1,0,1,0);
SetPositionSize(100,spsShares);

IBS = (Close - Low )/(High-Low);
maIBS = MA(IBS,3);
Plot(maIBS,"maIBS",colorRed);

T1= 0.3;
T2= 0.75;

Buy = Cross(T1,maIBS);
Sell= Close;
Short =Cross( maIBS,T2);
Cover = Close;
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.