Force Index With ATR Channels

Forums ProRealTime English forum ProBuilder support Force Index With ATR Channels

  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by avatarJS.
Viewing 4 posts - 1 through 4 (of 4 total)
  • #223199

    Please help me with . I am trying to make atr of forceindex. I don’t think is right.

    findex = (close – close[1]) * volume
    f1= ExponentialAverage[periods](findex)
    ATR= AverageTrueRange[14](close)
    ATRU1 = f1 + (AverageTrueRange[14](close) * 1)
    ATRD1 = f1 – (AverageTrueRange[14](Close) * 1)
    ATRU2 = f1 + (AverageTrueRange[14](close) * 2)
    ATRD2 = f1 – (AverageTrueRange[14](Close) * 2)
    ATRU3 = f1 + (AverageTrueRange[14](close) * 3)
    ATRD3 = f1 – (AverageTrueRange[14](Close) * 3)
    return f1 as “f1”, atru1 as “atru1”,atru2 as “atru2”, atru3 as “atru3”,atrd1 as “atrd1”,atrd2 as “atrd2”, atrd3 as “atrd3”, atr as “atr”

     

     

    #223201
    JS

    Hi,

    If you want to calculate the ATR of the Force Index, you must include the Force Index in your ATR calculation…

    ATR=AverageTrueRange[14](findex) and not ATR=AverageTrueRange[14](Close)

    1 user thanked author for this post.
    #225385

    I am still having problems with the above. I have recoded it . I think I am doing something wrong. Thanks

    // Period =13

    findex = (close – close[1]) * volume
    f1= ExponentialAverage[periods](findex)
    ATR= AverageTrueRange[14](findex)
    ATRU1 = f1 + (AverageTrueRange[14](close) * 1)
    ATRD1 = f1 – (AverageTrueRange[14](Close) * 1)
    ATRU2 = f1 + (AverageTrueRange[14](close) * 2)
    ATRD2 = f1 – (AverageTrueRange[14](Close) * 2)
    ATRU3 = f1 + (AverageTrueRange[14](close) * 3)
    ATRD3 = f1 – (AverageTrueRange[14](Close) * 3)
    return f1 as “f1”, atru1 as “atru1”,atru2 as “atru2”, atru3 as “atru3”,atrd1 as “atrd1”,atrd2 as “atrd2”, atrd3 as “atrd3”, atr as “atr”

    #225413
    JS

    Hi @oyinloyea

    I see you want to use the force index like for example the Bollinger Bands…

    Keep in mind (in the graph) that the force index produces very large values by multiplying by the Volume…

    I’m assuming you want to base the ATR channels on the “force index” and not on the “Close”…

    (In that case, you need to replace the “Close” with “findex”)

    ATRU1 = f1 + (AverageTrueRange[14](findex) * 1)
    ATRD1 = f1 – (AverageTrueRange[14](findex) * 1)
    ATRU2 = f1 + (AverageTrueRange[14](findex) * 2)
    ATRD2 = f1 – (AverageTrueRange[14](findex) * 2)
    ATRU3 = f1 + (AverageTrueRange[14](findex) * 3)
    ATRD3 = f1 – (AverageTrueRange[14](findex) * 3)

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

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