This indicator defines the bar type or type of the small pattern in concordance with general direction.
Please use the following link to download the indicator: http://www.profiforex.com/indicators/Pattern.mq4