Skip to main content

Buyer Seller Force for Amibroker (AFL)

kaiji over 16 years ago Amibroker (AFL)

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

This indicator is designed to show the force on the equity of buyers/sellers.

By Michael Jordan

Indicator / Formula

Copy & Paste Friendly
/* Buyer-Seller Force

This indicator illustrates the amount of buying or selling pressure
being exerted on the security.  When in positive territory, the buyers have
the upper hand.  When in negative the sellers rule.

When divergence occurs, the price will tend to correct toward the indicator.

This is specifically written for east coast time NYSE hours.  The code must be
adjusted for any other equities/markets.
*/

day_open_time = (Hour() == 9 AND Minute() == 30);

c_vel = (C - Ref(C, -1)) / Ref(C, -1);
h_vel = (H - Ref(H, -1)) / Ref(H, -1);
l_vel = (L - Ref(L, -1)) / Ref(L, -1);
p_vel = c_vel + h_vel + l_vel;

immediate_pressure = p_vel * V;

numminutes = BarsSince(day_open_time);
day_pressure = Sum(immediate_pressure, numminutes + 1);

Plot(day_pressure, "BSF", colorBlack);

0 comments

Leave Comment

Please login here to leave a comment.