Compile error, can someone try compile volatility indicator
Posted: Nov 14 2006
Input: p(13),s(13),f(0.5);
IF c<c[1] and c>average(c,p) Then Buy c+f*(h-l) Stop;
ExitLong at high limit;
IF c>c[1] and c<average(c,s) Then Sell c-f*(h-l) Stop;
ExitShort at low limit;
IF c<c[1] and c>average(c,p) Then Buy c+f*(h-l) Stop;
ExitLong at high limit;
IF c>c[1] and c<average(c,s) Then Sell c-f*(h-l) Stop;
ExitShort at low limit;