What is wrong with this code? - page 2

 

Ok, so what is the correct use Ickyrus?

 
  1. EagleEye:
    Ok, so what is the correct use Ickyrus?
    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.

  2. 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.
Reason: