Support Board
Date/Time: Tue, 26 Nov 2024 06:29:37 +0000
Post From: Copy values from one chart to another / sticky alerts
[2023-12-27 17:12:15] |
masedi - Posts: 40 |
Hi John, I was able to copy the alert value from the 1s chart to the range chart using OHLC Overlay and display the color bar (arrow) on the range chart correctly.... But only temporary:) The issue I am having now is that as soon as the 1s chart moves to the next bar the alert condition turns back to 0 and the arrow disappears in the range bar which is still on the same bar like it was when the alert was triggered the first time. So the challenge now is how to configure a "sticky" alert on that range bar until it closes: -when alert = True is triggered display the arrow - when alert goes back to false, but if I am still within the same bar, then ignore the false value and keep the arrow there - when the bar closes the alert condition is reset anyway and no alert is displayed by default on the new bar I tried all different combinations of : alert only once per bar and reset alert at new bar and behavior remained the same. Any suggestions how to achieve this alert stickiness? Or is there another study that can just print a value on the chart at a certain level once an event is triggered and then it just leaves it there without re-evaluation? Date Time Of Last Edit: 2023-12-27 17:16:27
|