Pin bar

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!

Cma ;)
Release Notes: Minor changes
Release Notes: Plotting the indicator overlay and put arrows when the pin bar appear, green bullish and red bearish!
Open-source script

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.

Want to use this script on a chart?


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.
+3 Reply
cma Fredou
@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!!
+4 Reply
nice work
cma Legend_yy_chazali
@Legend_yy_chazali, Thanks mate!!
+1 Reply
cma Legend_yy_chazali
@Legend_yy_chazali, There is new version! :)
+4 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter