R.E.Signal V3.1: Code update

I removed the outside bar filter for range expansion bars.
You will need Tim West's TW_UB indicator to plot those. It'll be more useful if you use both, since you can see when prices trend or consolidate visually by seeing the bar colors alongside the range expansions.
Remove from Favorite Scripts Add to Favorite Scripts
study("R.E.Signal V3.1", overlay=true)
rangeup = close[1]+tr[1]
rangedown = close[1]-tr[1]
over() => high > rangeup and close > open
under() => low < rangedown and close < open
plotshape(over(), style=shape.triangleup, location=location.belowbar, color=green)
plotshape(under(), style=shape.triangledown, location=location.abovebar, color=red)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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