Support Board
Date/Time: Wed, 26 Feb 2025 13:12:02 +0000
Post From: Alert Accessing Multiple Charts and Subgraphs
[2021-05-17 21:37:46] |
Metzenovich - Posts: 10 |
Say I have a chartbook with 3 charts: #1 (15 min), #2 (5 min), #3 (1 min). If I want an alert on chart #3 (1 min) that compares values from all 3 charts and various subgraphs, how can I do this? What I want to accomplish is basically (very simple example) to alert me when #3.ID5.SG2[-1] < #3.ID5.SG2[-2], and #2.ID5.SG2[-1] < #2.ID5.SG2[-2], and #1.ID5.SG2[-1] < #1.ID5.SG2[-2], etc. (I know #3.ID5.SG2[-1] isn't valid syntax, I'm just using it for illustration purposes). What is the best way to do this? I tried the Study/Price Overlay but the subgraph I was trying to overlay references other subgraphs and wasn't coming over (it was empty, a flat line). I think it was because 3 or 4 subgraphs are used to calculate the value I want to import. Is a custom study a viable / better way to do that? If so can someone point me towards the documentation or syntax for referencing multiple charts / subgraphs from a custom study? Thanks! Date Time Of Last Edit: 2021-05-17 21:38:21
|