HPotter

Gap Upside Automatic finding script

This is Upside gap pattern.
Remove from Favorite Scripts Add to Favorite Scripts
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 20/10/2014
//    This is a Upside gap pattern. 
////////////////////////////////////////////////////////////
study(title = "Upside gap", overlay = true)
upper = highest(10)[1]
barcolor(low >  high[1] and close[1] > open[1] and close > open? yellow :na)
good indicator but only works when it's a bullish candle gaping up. Is there a way to find the bearish candle gaping up?
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out