Support Board
Date/Time: Wed, 27 Nov 2024 10:35:18 +0000
[Programming Help] - sc.SetAlert and Time Line of Alerts
View Count: 262
[2023-08-14 11:17:36] |
User321002 - Posts: 3 |
Hi, I have been using a Custom made studies using ASCIL for Oversold and Overbought situation using RSI. But when I applied that study to a chart, it gave all bars when this was true in the Alert Pop up. This was not during backtesting where these results would have been fine. How do I limit the alerts to only the current bar and get the results only for current bar ? Any function or condition will be helpful |
[2023-08-14 15:13:03] |
HumblyTrading - Posts: 179 |
Hello there, I wonder if you could keep that chart hidden, and then have a separate chart that you actually use which you can have the actual alert pop up on by using: Study/Chart Alerts And Scanning: Referencing Other Studies on the Chart Happy Trading! |
[2023-08-16 10:20:08] |
User321002 - Posts: 3 |
Hi, I was not referencing to use other studies on the chart. I created the study using the function sc.RSI function giving the proper inputs. I had also created the appropriate conditions i.e (RSI_ <= 20 && (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED)) for giving me the alert. I also had the alerts printed in the Message Log in addition to being shown in Alerts Manager. I could make of alerts that where being shown in Message Log which were not being shown in Alert Manager. What could have triggered this ? |
To post a message in this thread, you need to log in with your Sierra Chart account: