Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 01:32:24 +0000



Footprint exhaustion code alert

View Count: 697

[2024-01-15 03:47:01]
hdanng221 - Posts: 6
Hi,

I've almost figured out how to show an alert on a footprint exhaustion by using this code "=OR(BVAP(H,0) = 0, AVAP(H,0) = 0)" BUT I'm trying to figure out how to add another condition if the Ask is no more than(example) "0 x 10" on the bar close? I've attached a link to my chart. Right now I get a red down triangle every time there's a close with a 0 on the High bar close. Just want to fine tune it where I would only get an arrow if it's "0 x 10" or less etc. Thanks for any help!

https://www.sierrachart.com/image.php?Image=1705289981321.png
[2024-01-15 16:33:16]
John - SC Support - Posts: 36286
You need to add the AND() function which uses the same syntax as the OR() that you used. Your formula would be the following to give you an alert when you have either 0x10 or 10x0 with 10 or less for the Bid/Ask:
=OR(AND(BVAP(H, 0) = 0, AVAP(H, 0) <= 10), AND(BVAP(H, 0) <=10, AVAP(H, 0) = 0))
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account