Over ATR Bar highlight

1583 1
Script highlights bars over ATR (20), i use this to look for mazabuzo candles.
Remove from Favorite Scripts Add to Favorite Scripts
study("barcolor ATR", overlay=true)
atrvover= atr(20)+open
atrvunder= open-atr(20)
isover() => close > atrvover
isunder() => close < atrvunder
barcolor(isover() ? yellow: isunder() ? blue : na)
Hi Jim;

I am looking for a script that would identify any long range bar that is a minimum of 2.5x > ATR
This looks like it could work, would just need to make the adjustment to the up and down formula,,


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 العربية
HE עברית
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Get Help Ideas Published Followers Following Private Messages Chat Sign Out