Balance of power indicator

Forums ProRealTime English forum ProBuilder support Balance of power indicator

Viewing 5 posts - 1 through 5 (of 5 total)
  • #49027

    Hello! I would like to test the indicator Balance of power! The Balance of Power indicator measures the market strength of buyers against sellers by assessing the ability of each side to drive prices to an extreme level. The calculation is: Balance of Power = (Close price – Open price) / (High price – Low price)

    I found this code in internet but it doesn´t work in Prorealtime so I need your help please! Thank you very much

    //@version=3
    study(“True Balance of power”)
    per=input(30, title=”periods for Emoline”, type=integer, step=1, minval=4)
    trhi = max(high, close[1]) //true high
    trlo = min(low, close[1]) //true low
    trop = close[1] //true open
    bop = 100*(close-trop)/(trhi-trlo) //True Balance of Power as percent
    lin= 1.5*linreg(bop, per, 0) //linear regression as emoline
    bgcolor(lin0?green:orange, style=columns) //plot BOP as columns
    plot(lin, title=”Emoline”, color=rising(lin,2)?blue :black, linewidth=3) //plot emoline as line
    hline(0, linestyle=line) //zero level

    #49029

    Hi, welcome to PRC forums, I’m moving your post from Spanish forum “Soporte ProBuilder” to English forum “ProBuilder support”, as the custom on PRC forums is to use the language of the forum we post in.

    #49040

    I translated the indicator into ProBuilder version, you can find and download it here now: Balance of Power

    #49114

    Hi, Nicolas,your version is the True Balance of Power,I have this version:

     

    #49116

    The Balance of Power by Lazy Bear is this:

     

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login