Using Ref( Close, 1 ) or certain settings with ZigZag functions ( Zig() ).
// If your strategy uses Zig, Peak, Trough, or Ref with +1, it's dangerous str = GetScriptText(); if(Find("Zig", str) != -1 OR Find("Peak", str) != -1 OR Find("Trough", str) != -1) return True; else return False;
: The AFL compiler reports zero errors and zero warnings.