Support Board
Date/Time: Sat, 10 May 2025 09:03:59 +0000
Post From: Alert true for remainder of session once triggered
[2013-09-26 21:43:02] |
Sawtooth - Posts: 4214 |
This is not possible with Simple Alerts. However, you can do it with the Spreadsheet Study study. Add the Spreadsheet Sstudy study, give it a name in the Spreadsheet Name field. -Set the Draw Style of M(SG3) to your choice. On the spreadsheet: Cell K3: =AND(AA4>C4,C3>AA3) where the line output is in column AA (column C is the High). Cell L3: =AND(A3-INT(A3)>TIMEVALUE("09:30:00"),A3-INT(A3)<TIMEVALUE("16:00:00")) where the session times are those between the quotes. Cell M3: =IF(AND(L3,K4=FALSE,K3),TRUE,IF(AND(L3=FALSE),FALSE,M4)) This is the column that will have cells that are TRUE at the first crossover and remain TRUE until the session end. This setup will not sound an alert, but is intended to color the bars or background. It is possible to have an audible alert but it will sound on every bar. |