if I want to put an alert in my indicator (I'm not yet advanced enough to start programming strategies) for a possible entry, will the alert sound repeatedly on each new OnBarUpdate() as long as the possible entry is valid?
Can I use a static or saved variable in the indicator so that my alert will only sound once for each possible new signal, ie "alert already sent for this signal, dont do it again", and then when the possible entry is void the variabe is reset, then set again only after the next possible entry?
Also, I have 2 questions on strategies.
1. are there any strategy samples that I can study to understand the process?
2. is it possible to create an interface to control a strategy? for example I may want to start/stop/pause my strategy using a button. I would also like to be able to update my strategy with support and resistance levels while it is running, so on my interface i would be able to enter a support or resistance level and 'submit' to my strategy on the fly.
Thanks,
Will.
Comment