Support Board
Date/Time: Sat, 30 Nov 2024 00:37:10 +0000
Post From: Alert on first trigger after a condition is present
[2023-01-04 18:46:48] |
DKtrades - Posts: 39 |
Is there a way to limit an alert to only trigger once after a condition is met? Example: I have two moving average studies on a chart: 50EMA (eg ID1.SG1) and 200EMA (ID2.SG1). I would like an alert where: 1. 50EMA crosses under 200EMA (ID1.SG1 < ID2.SG1) 2. Price is below the 50EMA and has gapped away (H[-1] < ID1.SG1) 3. Price touches the 50EMA (H > ID1.SG1) I have this formula setup successfully for an alert based on "Color Bar Based on Alert Condition". But -- can it be setup so that it only triggers the first time after the condition is true? Ie, it won't trigger again until after the 50EMA crosses back *over* the 200EMA and then crosses back *under* again. I can't find documentation that would help me achieve this. Any help much appreciated. |