About it not verifying, I haven't tried it in PE but I noticed....
> IF CurrentBar <= length then ChoppinessIndex = 50
> ELSE ChoppinessIndex=100*log_ratio/log_n
Needs a semicolon at the end.....
IF CurrentBar <= length then ChoppinessIndex = 50
ELSE ChoppinessIndex=100*log_ratio/log_n;
--
Dennis
|