Help on converting : Bias indicator

Forums ProRealTime English forum ProBuilder support Help on converting : Bias indicator

Viewing 3 posts - 1 through 3 (of 3 total)
  • #139618

    May I seek your assistance in converting the following tradingview code to proreal code?

     

    study(“Basic BIAS”, shorttitle = “BIAS”)

    n = input(title=”Basic guides line”, type=input.integer, defval=120)

    //Basic guides can be replaced with other guides
    basic_line = ema(close,n)
    bias = (close – basic_line) / basic_line * 100

    plot(bias,color=#1589F5,style = plot.style_stepline, transp=0)
    hline(0,title = “Zero”, color=#0F001A)

     

     

    Thanks indeed.

    #139662

    It is the normalized distance of the current price related to an EMA, here is the Prorealtime code:

     

    #139690

    Thanks Nicolas. Always helpful.

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

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