Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 08:49:20 +0000



[User Discussion] - detect overlapping bars

View Count: 619

[2023-04-21 15:32:55]
jivetrader - Posts: 410
Using range bars, what studies can I use to detect bars with overlapping price levels vs bars without?
Thanks in advance!
imageoverlapping bodies.jpg / V - Attached On 2023-04-21 15:31:23 UTC - Size: 20.74 KB - 130 views
[2023-04-21 15:40:44]
John - SC Support - Posts: 36309
You can see if what you want is covered in the "Candle Stick Pattern Finder" study. Refer to the following:
CandleStick Patterns Finder
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[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.
[2023-04-21 19:18:35]
jivetrader - Posts: 410
Thanks to both. tomgilb, what about on a NumBars chart with no candles present?
[2023-04-21 19:35:47]
Sawtooth - Posts: 4120
what about on a NumBars chart with no candles present?
It works on Numbers Bars, but you'll want to change the Draw Style to something like Point On Low.
[2023-04-24 21:27:58]
User624595 - Posts: 207
@jive, curious how you find the above options vs using an ADX study. You can also set up a colorbar condition on ADX above a certain threshold.
[2023-09-05 20:21:00]
jivetrader - Posts: 410
Update on this thread, the @Sawtooth code above finds engulfing bars, but not other forms of overlapping bars. Just a note to future readers to modify to taste.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account