Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Create sound alert, entry into log, & popup when condition is met one time per bar Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Onereason
Posted : Tuesday, October 22, 2013 8:15:50 AM
Registered User
Joined: 10/7/2004
Posts: 56

Hi Bruce,

I know how to make a popup and sound alert when a condition is met, but I'm having trouble making it so that SF reacts only once per bar.

I have 1000+ symbols and the condition works fine, so if I can get the other part working it will be great.

currently I have:

If high > entrypoint then

pass

end i

If you can advise what and where that will be great.

 

Thanks in advance 

Bruce_L
Posted : Tuesday, October 22, 2013 9:59:52 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I am not a programmer. That said, the following two topics explore possible methods to get alerts, popups and debug log entries only once per symbol or bar. The basic idea is that you need to track the symbol and/or time of the event and then check to see if you are still on that symbol and/or in that bar to avoid repeating the event until you have changed symbols and/or bars.

Audible alert help
showmessage



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.