Disliked{quote} All the previous code examples don't check for a green bar. A green (bullish) bar is defined by the close price being higher than the open price, independant of the wicks. So, instead of checking Highs/Lows you have to check Open/Close of the bar in question. {image}Ignored
thanks loads
Geoff
2