CMO v1

0
(0)
Name:
CMO v1 [ ru | cn ]
Author: Scriptor (2008.03.01 09:10)
Downloaded: 1654
Download:
CMO v1 1
 CMO_v1.mq4 (3.2 Kb) View
Author: igorad

CMO_v1 indicator.

CMO v1 2
1 comment  To post a new comment, please log in or register

I fixed tis indicator so that it works right away. Before it was gettig a divide by zero error and not showing the indicator when you load it.

near the end of the program is the line:

CMO[shift]=(SumBulls-SumBears)/(SumBulls+SumBears)*100;

replace this with:

if(SumBulls+SumBears != 0)
{
CMO[shift]=(SumBulls-SumBears)/(SumBulls+SumBears)*100;
}
else
{
CMO[shift]= 0;
}

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.