Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 11:34:39 +0000



Post From: detect overlapping bars

[2023-04-21 16:33:39]
Sawtooth - Posts: 4120
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.