TradingView
cma
Jul 27, 2016 11:18 PM

Pin bar 

Euro Fx/U.S. DollarFXCM

Description

Source code that allows to find bullish or bearish pin bars in any asset.

Release Notes

Hi everybody!

After seen so many likes and some requests to make it an alert, I decided to refactor the code to the current Pine Ver., so the code is more readable and you can add the indicator in the Alert list.

Thanks for your support!

Enjoy!
Cma ;)

Release Notes

Minor changes

Release Notes

Plotting the indicator overlay and put arrows when the pin bar appear, green bullish and red bearish!
Comments
Fredou
You should display something on the chart rather than ading that extra indicator space on the bottom, it take a lot of space that could be used for an other indicator.
cma
@Fredou, thanks for your comment, I tried but there is not enough documentation if you see something on trading view that improves this indicator you are more than welcome to shared it!!
ricksportel
@cma first of all, thank you for coding this indicator and sharing it for free with the community! The idea of this indicator is very good and it could be extremely useful to use such an indicator with the right kind of price action and trading knowledge. I wanted to make two comments (and please don't be offended, I just want to help improve the indicator):

#1 - I have found that the indicator sometimes for some reason does not indicate very clear pinbars. I haven't been able to find out why, because I don't understand Pine Script that well.

#2 - The way it is programmed at this moment will indicate only one specific style of pinbar, capturing a percentage of all pinbars on a chart. I think that is the reason why I see some pinbars that are not indicated (see comment #1). But there are in fact multiple types of pinbars with their own characteristics. These can't be all indicated with just one set of parameters. These additional types of pinbars are missed by the current setup of the indicator. Adding different configurations for pinbars would be a huge improvement.

Would you be interested to work together with me to add multiple configurations? If so, please let me know!
Legend_yy_chazali
nice work
cma
@chaza_forex, Thanks mate!!
cma
@chaza_forex, There is new version! :)
eki001
Simple and useful ;-)
fa77az
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the
pooriabesharatioffical
Good
More