Doug Hayman Posted June 15, 2020 Report Share Posted June 15, 2020 I have a paintbar that assists me with trading that works well graphically, but not in sound. In the code, I have Trigger Alerts defined in code for both a Buy Stop and a Sell Stop. I paint bars in the same block of code as the alerts, and the painting of the bars work fine 100% of the time. For these 2 alerts, I also have Sound alerts defined, with the following settings: When Triggered, clear after None Seconds (default setting) When Clear, restart after "Immediate" Minutes (default setting) Everything else checkbox-wise is turned off except for "Play Sound", and i have respective 'Buy Stop' and 'Sell Stop' audio sound .m4a files defined for them. The audio alerts are going off sporadically, but not consistently. There are times when my Paintbar result is displayed graphically, but no sound alert. Have you seen this before? Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted June 15, 2020 Report Share Posted June 15, 2020 with your definition once the alert is triggered, it will stay that way so it will not trigger again. I think what you want is set it to clear after 2 or 3 seconds. Quote Link to comment Share on other sites More sharing options...
Doug Hayman Posted June 15, 2020 Author Report Share Posted June 15, 2020 OK thanks, I'll try that. I interpreted "None Seconds" as an immediate clear. Quote Link to comment Share on other sites More sharing options...
Doug Hayman Posted June 15, 2020 Author Report Share Posted June 15, 2020 That worked great, thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.