Login Page - Create Account

Support Board


Date/Time: Mon, 09 Jun 2025 19:15:40 +0000



[Programming Help] - Orderblock / Liquidity zone study/alert

View Count: 2168

[2022-12-03 12:33:01]
Tahir - Posts: 35
Hi, I'm trying to create an alert condition or a study that highlights the bar before an engulfing bar as seen in the attached image.

I tried to write an alert formula which I failed at because I cant seem to color the previous bar, the alert is always given on the present bar.
Any ideas?
Thanks
imageliquidity.JPG / V - Attached On 2022-12-03 12:30:13 UTC - Size: 27.71 KB - 669 views
Attachment Deleted.
[2022-12-03 13:12:49]
User907968 - Posts: 840
To display the result of the alert formula on the prior bar, set the displacment to -1.
Chart Studies: Subgraphs Tab >> Displacement
[2022-12-03 13:34:55]
Tahir - Posts: 35
@user907968 Thank you my friend!

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

Login

Login Page - Create Account