Want an alert from EA on specific condition but I get thousands messages
-
Hello,
I want an EA that gives me an alert when a candle is above or below MA and Ichimoku Cloud so I can decide manually if enter or not. This is my project: https://fxdreema.com/shared/2UAijGszc
I do not understand why , when I activate it, I get thousand of "false message" that (also) not match my conditions (candle above or below Ichimoku and MA).
Thank you, Victor.
-
The code is running once per tick so it is sending a message once per tick. If you want it to work less often, change the time filter to once per bar instead. You will get a message at the start of every new bar instead of every tick
-
TY for the tip. Unfortunately, if I use "once per bar", I'm getting an alert on EVERY new bar and I don't want so. I would like to get an alert once when the candle is above MA and Ichimoku cloud....any idea on how to do this?
TY,
Victor.
-
@victorfx-0 You can combine the crossing condition on candle ID 1 and then combine it wuth the 'once per bar' vlock suggested by StatonHitz.