Support Board
Date/Time: Sun, 23 Feb 2025 02:17:37 +0000
Post From: Two or more simoltanous alerts for the same Study
[2021-01-08 12:24:21] |
ForgivingComputers.com - Posts: 1012 |
This is incorrect syntax: =AND(CROSSOVER(SG2, C)(SG3, C)(SG1, C))
Try this: =AND(CROSSOVER(SG2, C), CROSSOVER(SG3, C), CROSSOVER(SG1, C))
However, this is unlikely to occur, as all 3 Subgraphs would have to cross over the close on the same bar, which for Bollinger Bands would not make sense. I think you want any one of them to trigger the alert: =OR(CROSSOVER(SG2, C), CROSSOVER(SG3, C), CROSSOVER(SG1, C))
Note this would be the same as adding 3 alerts, one for each subgraph, but is more efficient. For CCI: =AND(SG3 > 100, SG3< -100)
SG3 cannot be Greater than 100 and less than -100 at the same time, which is what the AND function requires to be true. Again, you need the OR function: =OR(SG3 > 100, SG3< -100)
|