Login Page - Create Account

Support Board


Date/Time: Tue, 21 May 2024 17:25:29 +0000



Post From: Simple Alert expression

[2014-07-19 05:08:31]
Sawtooth - Posts: 4002
You cannot do this directly with a Simple Alert formula.

However, you could do it this way:
1) Add a 60 min chart to the chartbook (as the source chart), set the Session Start Time to 12:00:00 and the End Time to 12:59:59
2) Add the Volume study to the above chart
3) On the original (destination) chart, add the Study/Price Overlay study:
-Check 'Hide Study'
-Set 'Fill Blanks With Last Value' to Yes
-Set the Study to Overlay to the source chart and volume study.
4) Add the Volume study to the original chart
5) Add the Color Bar Based On Alert Condition study to the original chart:
-Put this in the Alerts tab:
=AND(ID1.SG1>ID2.SG1,BARTIME>=TIMEVALUE("12:00:00"))
-where ID1 is the Volume study, and ID2 is the Overlay study (edit as necessary).

BTW, this can also be done with the Spreadsheet Study study, without any additional charts or studies.

Date Time Of Last Edit: 2014-07-19 15:16:15