Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 03:51:53 +0000



Post From: detect overlapping bars

[2023-04-21 16:33:39]
Sawtooth - Posts: 4000
what studies can I use to detect bars with overlapping price levels vs bars without?
Use the Color Bar Based On Alert Condition study, with a formula like this on the Alerts tab:
=AND(MAX(O,C)>MAX(O[-1],C[-1]),MIN(O,C)<MIN(O[-1],C[-1]))

This will color the price bar where the candle body is 'outside' the previous candle body.