Price spike histogram bars showing multiple of ATR

Forums ProRealTime English forum ProBuilder support Price spike histogram bars showing multiple of ATR

Viewing 8 posts - 1 through 8 (of 8 total)
  • #199698

    Hi,

    I am looking for an histogram indicator which provides bars when price moves by a multiple of its average true range over a certain number of days ie if the average true range is 5c and there is a current price range of 10c in the last 10 days then a spike bar will appear.

    Any assistance would be appreciated.

    Jonathan

    #199701
    JS

    Hi @jwh145

    I used the “Range” here divided by the “ATR”.

    You can have this drawn in a histogram and if you only want to have a ratio greater than, for example, two than:

    xSpike = Range / ATR

    If Range/ATR < 2 then

    xSpike = 0

    EndIf

     

    2 users thanked author for this post.
    #199732

    Hi JS,

    Thanks for your help on this, much appreciated.

    Do you know if there is a way to color the bar say RED if it was lower close than open and Green if higher close than open?

    Cheers

    Jono

    #199749
    JS
    #199784

    Thanks JS!

    #200227

    Hi JS,

    Do you happen to have or could provide code that screens for tickers up or down a certain % over a lookback period, eg up 25% over last 20 days?

    I can’t seem to see any screeners like this in the library.

    Jono

    #200247
    JS

    Hi @jwh145

    Try this one…

     

    #200255

    Thanks JS, works well 🙂

    1 user thanked author for this post.
    avatar JS
Viewing 8 posts - 1 through 8 (of 8 total)

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