Hello, I would appreciate it if somebody could help me out with a very small bit of coding. I've an alert indior I just wish to go off if the previous pub is higher then 20 pips. Here is the part of code I am inserting to tell the indior to CONTINUE or STOP.
If (iOpen(NULL, p, 2) - iClose(NULL, p, 2) gt; 0.002) continue;
However, I don't think this is the right code to input because the indior still goes away. This is more of the code that I am inserting the above statement into:
----------------
if (Close[0] == iHigh(NULL, p, 0))
if (iClose(NULL, p, I 1) gt; iOpen(NULL, p, I 1)) continue;
if (Close[0] lt;= z) continue;
if (Old gt; z) continue;
if (iOpen(NULL, p, 2) - iClose(NULL, p, 2) gt; 0.002) continue;
DisplayAlert(Look for a Symbol() SHORT on PeriodNice(p) (wick));
t = iTime(NULL, p, 0);
return(0);
----------------
Any help would be much appreciated!
Due