Login Page - Create Account

Support Board


Date/Time: Wed, 22 Oct 2025 12:54:01 +0000



Post From: Automated Trading Formula help

[2025-10-16 13:25:51]
Sawtooth - Posts: 4278
Could someone tell me if my syntax is correct for the following alert formula:
The subgraph of the CCI and both MAs is SG1, not SG2.
Try this:
=AND(ID2.SG1[-1] > ID1.SG1[-1], ID2.SG1[-1]>ID3.SG1[-1])

However, you'll probably want to use something like these instead:

=OR(
AND(CROSSFROMBELOW(ID2.SG1,ID1.SG1),ID2.SG1>ID3.SG1),
AND(CROSSFROMBELOW(ID2.SG1,ID3.SG1),ID2.SG1>ID1.SG1))

=OR(
AND(CROSSFROMABOVE(ID2.SG1,ID1.SG1),ID2.SG1<ID3.SG1),
AND(CROSSFROMABOVE(ID2.SG1,ID3.SG1),ID2.SG1<ID1.SG1))