Pin Bar Indicator

Viewing 7 posts - 1 through 7 (of 7 total)
  • #8300

    Hi,

    I am trying to build a indicator that will identify bullish and bearish pin bars with a certain size of nose and wick. I use the formula below on Excel to manually give me the figures, but would like to see if a indicator would identify these pin bars and highlight these with wicks over 0.40 and noses below 0.20

    The formula I use on Excel is below:

    Bearish Pin bar Wick: high – close or open / high – low

    Bearish Pin bar nose: close or open – low / high – low

    If anyone could help with this, it would be greatly appreciated?

    Thanks

    Derek

    #8329

    Hi Derek, I remember have coded something like this for the DRAWTEXT documentation, here: http://www.prorealcode.com/documentation/drawtext/

    (the second example), but only for the bearish pinbar.

    #8351

    Hi Nicolas, just a quick question, example #2 (http://www.prorealcode.com/documentation/drawtext/)  doesn’t work, apparently the system doesn’t recognize the text in quotation mark, how can i change this information?

    many thanks!

    Fabio

    #8352

    Because DRAWTEXT instruction is only available for the Prorealtime version 10.3

    I just came across a good Pinbar code on the web:

    It returns the bullish and bearish ones. Maybe someone can add it to the library or I’ll add it later. Thanks.

     

    #8356

    thank you so much! Great job as usual!

    Fab

    #8398

    Hi Nicolas,

    Thank you for your reply and I am still using 10.2 so the drawtext option does not work for me.  Regarding the second example, this does show the pin bars, but it also misses the pin bars that fall within my criteria which is a nose less than 0.20 and a wick that is greater than 0.40. when I use the formula within Excel in my first post, I try and identify these pin bars manually.  Do you know if a indicator would be able to identify a bullish or bearish pin bar that would fall into this criteria regardless of the colour of the bar?

    Thanks for your help.

    Derek.

    #8529

    Hi,

    The pin bar indicator now works and only shows pin bars that fit a certain criteria. I have only one problem is that the indicator will show these pin bars as the candle is forming and I would prefer the indicator to only show the pin bar once the candle has closed, so that it removes the false signals within the selected timeframe.

    Can the indicator do this or would it have to be the screener that filters this?

    If anyone can help please?

    Thanks

    Derek

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

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