Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 04:04:31 +0000



Post From: Need help creating an alert

[2020-04-23 00:09:56]
Sawtooth - Posts: 4000
except that it must continue until the next color change. I hope it's clear
If you want an alert at every bar, use these:

Green to red, close below Span A:
=AND(ID0.SG22>ID0.SG23,ID0.SG23<ID1.SG1)

Red to green, close above Span A:
=AND(ID0.SG22<ID0.SG23,ID0.SG23>ID1.SG1)

If you want an alert at only the color change, use these corrected formulas instead:
Green to red, close below Span A:
=AND(ID0.SG22[-1]<ID0.SG23[-1],ID0.SG22>ID0.SG23,ID0.SG23<ID1.SG1)

Red to green, close above Span A:
=AND(ID0.SG22[-1]>ID0.SG23[-1],ID0.SG22<ID0.SG23,ID0.SG23>ID1.SG1)
Date Time Of Last Edit: 2020-04-23 00:32:18