The original concept was a zone for price. Alert triggered when alert - (n+1) Ticks < price < alert + (n+1) Ticks, where n is the offset to be entered in ticks. This concept has two shortcomings.
(1) When price moves fast and no trade is printed at the alert level, no sound alert is triggered, although price croessed the alert level. So it is not enough to check whether price has printed inside the defined range or - in case that the offset is 0 - at the alert level. In parallel it needs to be checked, whether price has crossed the level. This event will also trigger an alert now.
(2) The concept with the ticks, requires discrete prices, which is the case for all instruments. Indicator values however are more of a continuous nature - actually they are also discrete, but the discrete levels are unknown -, and therefore the inegality above cannot be used in the same way. So I changed the above inegality to alert - n * units <= price <= alert + n * units. If you set the offset to 0, the indicator will only trigger an alert, if the indicator exactly hits the alert level. As the indicator values are discrete, this is unlikely to happen, even if the indicator value has crossed the alert level. But with the modification introduced under (1), the crossing of the line will trigger an alert on its own, so this is no problem.
Hope, I managed to confuse you and all other readers of this post.
Next time just zip them, and attach them to the post.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.