Here's some rules I made up for myself...
First two checks are basically the same in each case, the checks are:
• The Doji is “significant” in that it has a Candle length at least 75% of the current ATR(14)
• The Body (Open - Close or Close - Open (to get a positive value)) is insignificant – It is less than 20% of the Candle length
HighToLowValue = (High – Low)
Checks For Long
• HighToLowValue > (ATR(14) * 0.75)
• Positive Value Of (Open – Close) < (HighToLowValue * 0.2)
• Close >= High – (HighToLowValue * 0.25)
• Open >= High – (HighToLowValue * 0.25)
Checks For Short
• HighToLowValue > (ATR(14) * 0.75)
• Positive Value Of (Open – Close) < (HighToLowValue * 0.2)
• Close <= Low + (HighToLowValue * 0.25)
• Open <= Low + (HighToLowValue * 0.25)
I then prefer to use the strategy outlined here -
http://forexuseful.com/learn-forex-trading/pin-bar-strategy
Quite new here to pin bars and welcome comment on how others are using them, I prefer the daily and weekly time frames only as it seems on the lower timeframes the bars are mainly influenced by news and don't seem so profitable at present (I am not really making or losing any money at present).