Bollinger Band Pinbar Indicator

Forums ProRealTime English forum ProBuilder support Bollinger Band Pinbar Indicator

Viewing 15 posts - 1 through 15 (of 15 total)
  • #207031

    Hello PRT Coders, Happy New Year. I hope you all enjoyed the festive break. Does anyone know if it is possible to code an indicator that draws an arrow above/below a sell/buy condition. The condition would be if price opens inside the bollinger band breaks outside of it and returns to close back in the band forming a pinbar?

    Please see attached photo (as I am sure I havn’t explained it well!!)

    Regards

     

    Joe

    #207032
    JS

    Hé Joe, no attached photo…

    #207033

    Apologies here is the chart image.

     

    https://www.tradingview.com/x/RpzCXH2T/

    #207034

    Apologies, here is the link to the chart image.

     

    https://www.tradingview.com/x/RpzCXH2T/

    #207035
    JS

    Hi Joe,

    That is possible…

    Probably a bullish pinbar (BBUp) and a bearish pinbar (BBDown)…

    #207041

    Thanks. Do you know anyone who would be able to code it as I have zero coding skill 😂😂

    Joe

    #207045
    JS

    I will code it for you… 😉

    #207046

    Oh nice one, thanks so much!

    #207047
    JS

    Hi Joe,

    Here is the indicator…

     

     

    #207049

    Thanks JS.

    That’s great.

    ATB

    Joe

    1 user thanked author for this post.
    avatar JS
    #207050

    Hi JS

    I have had a little look and I think the code is almost right, I have attached a screenshot and annotated arrows where I would have expected them.

    so the candle opens inside the BB breaks outside and closes back inside. It can be both a bullish or a bearish pinbar in each scenario with a body height of I guess about 15% or less of the candle high minus low.

     

    #207058
    JS

    Hi @jdh320,

    Hereby the adjusted indicator with both bullish and bearish pinbar breakthroughs…

    You can set the percentage of the body yourself (now stands at 30%) …

     

    #207066

    @Jdh320

    Please do not embed pictures and files in your post, as it slows down the loading of pages. To attach them use the “Select File” button, instead.

    Thank you 🙂

     

    #207079

    Thanks so much, thats perfect.

    Regards

    Joe

    1 user thanked author for this post.
    avatar JS
    #207081

    apologies @robertogozzi

    regards

    joe

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

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