ATR Volatility candle coloring

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

ATR Volatility candle coloring

Postby Apprentice » Mon Jun 09, 2025 5:02 pm

SPX500 m15 (06-10-2025 0002).png

Inspired by video
https://www.youtube.com/watch?v=iqeSfjATOIw
As a tool for detecting manipulation candles.

How It Works
Calculates ATR over the selected timeframe (TF) such as daily (D1).

On the current chart (can be any timeframe), each candle is:
Compared against the ATR value from the higher timeframe.

Colored depending on the body size (|Close - Open|) in relation to ATR:
Strong candles: Body > ATR × L1 (%)
Weak candles: Body < ATR × L2 (%)

Neutral candles: in between
ATR Volatility candle coloring.lua
(8.81 KiB) Downloaded 177 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 39146
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 2 guests