Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
Originally Posted by: FeverTrader Hi All,
I am playing around with some Alerts for an Expert Advisor on a 3 minute chart. I keep getting multiple alerts for the following code Ref(Mov(C,21,S),-1)<Ref(Mov(C,21,S),-4)
AND
Ref(Mov(C,55,S),-1)<Ref(Mov(C,55,S),-4)
AND
Ref(Mov(C,89,S),-1)<Ref(Mov(C,89,S),-4)
AND
Ref(WillR(11),-1) <-80
All I want is one alert when the above is true (i.e. when the moving averages have sloped down on the previous bar and the Will R% on the previous bar was less than -80). I seem to be getting the alert many times, I'm not sure what the trigger is. Is there a way to ensure there is only one alert when the previous bar meets a certain condition?
I also select Skip all remaining alerts on the Alert pop up but it continues to show more alerts. Thanks in advance
Hello, The "Skip All Remaining Alerts" strictly refers to historical alerts, while the new pop-up alerts occur with each tick of data. This will in part depend on which version of MetaStock you are using since we added some functionality to control this a bit. Within Tools > Options > Realtime we added the ability to throttle the expert alerts, based on a designated Throttle Time. However, a new bar will still trigger an alert even if the throttle time has not been met. Using conditions such as Greater Than or Less Than can contribute to additional alert messages. Use of the Cross function can reduce the number of alerts, since the values would have to cross back down and then up again to trigger a 'new' signal, whereas a value simply needs to remain above/below a certain value to trigger a new alert when using Greater Than/Less than criteria.
|