Hi i keep getting the 0.# on the following EFS study when using any other time template other than RTH East Coast
Announcement
Collapse
No announcement yet.
Keep getting 0.# in efs pane window on the following EFS study
Collapse
X
-
abbers
I have just tried running it on a number of symbols and templates (including ones with European trading times) and the efs seems to work fine.
I suspect the issue may be caused by something else. Can you provide as an example a symbol/interval/template you are using?
Alex
-
abbers
While still looking for a better solution here is a fix that should work.
Add the following after var Price = (high() + low()) / 2; which is in line 28
if(high()==low()&&high(-1)==low(-1)&&high(-2)==low(-2))
return;
This way if there are three or more bars where high=low the efs does not return a value.
Alex
Comment
Comment