You were setting LastAlertTime with the alert. He put it just after the first IF. His way is slightly more efficient (it won't repeatedly check for an inside bar instead only once per bar) but it won't change the behavior in this case.
EagleEye: Yeah i look great, but i have just tried it again and it keeps popping up even when there no inside bar.
That down bar sure look like an inside to me. Double top, higher low.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Ok, so what is the correct use Ickyrus?
Ok, so what is the correct use Ickyrus?
Yeah i look great, but i have just tried it again and it keeps popping up even when there no inside bar.