One White Soldier Study

This shows a green indicator on this study (17Jun & 15Aug on TRN             ) when a bullish candle opens and closes above the prior day's bearish candle, ignoring gap ups. This will only show in the DAILY chart , not intraday.
Remove from Favorite Scripts Add to Favorite Scripts
//author =
study("One White Soldier", overlay=true)

oneWhiteSoldier() =>
    open[0] > open[1] and close[0] > open[0] and high[1] > open[0] and close[1] < open[1] and open[1]-close[1]>.02

plotshape(isdaily and oneWhiteSoldier(), style=shape.labelup, size=size.small, location=location.belowbar, color=green)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out