Support Board
Date/Time: Fri, 07 Feb 2025 18:16:06 +0000
Post From: Notification between studies
[2020-06-07 09:55:27] |
backinblack - Posts: 36 |
Hi I have 2 custom studies, S1, S2. Currently, S1 does some calculations and draws an alert on the chart. I am looking to use this alert for S2 now. As in whenever there is a signal on S1, S2 should be notified of it. One way I think I can do it is store the indexes of alerts in S1 in a subgraph. Then use a persistent variable in S2 to point to the last updated index in the said subgraph in S1. That way, if S1 updates its subgraph, S2 can compare it against its persistent variable and detect that there is a new signal generated in S1. Is there another/better way to do it that i dont know about? Thanks -J |