Skip to main content

Net foreign Buy/Sell for PSEI for Amibroker (AFL)

linkx almost 15 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 1)
  • Tags:
    amibroker

For Phil Market only. It indicates the Foreign broker buying and selling volumes

Indicator / Formula

Copy & Paste Friendly
Period = Param("Period(Total)",20);
OB=Sum(OpenInt,Period);
Color = IIf(OpenInt > 0 , colorGreen, colorRed);

Plot(0,"",colorBlack,styleThick);
Plot(OpenInt,"Net Foreign Buying/Selling", Color, styleHistogram|styleThick);
Plot(OB,"Total",ParamColor("Color(Total)", colorViolet),styleHistogram|styleThick);

1 comments

Leave Comment

Please login here to leave a comment.