Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/18/2004 Posts: 90
|
I am sitting here looking at a ten day MA and a fifty day MA, both exponential. I am comparing them with a Percent True indicator using the following boolean equation: (AVGC10)>(AVGC50) AND AVGC50<(AVGC10); the two do not track. That is to say, the Percent True indicator, which is designed to be "high" when the MA10 is greater than the MA50, will sometimes appear "high" when the MA50 comes down close to and just touching but not going below the MA10. Is this just a graphical resolution problem? Got any ideas? Lee
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Your formula is for simple moving averages and does not make sense (you look for the same thing twice).
Try this in your CPT indicator:
XAVGC10>XAVGC50
- Craig Here to Help!
|
|
Registered User Joined: 10/18/2004 Posts: 90
|
That form is what I started with. It is only when I put a bias of 0.3-0.4 that I begin to significantly reduce the "errors" in my Percent True.
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
The PCF I gave above will find the 10ema above the 50ema 100% of the time without error.
Please go through this checklist to see why your plotted averages are not confiming this for you:
Things to check if your moving averages don't "seem right" or "seem to match"
- Craig Here to Help!
|
|
Registered User Joined: 10/18/2004 Posts: 90
|
You are correct; I was mixing simple and exponential. Thanks
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Glad to hear you got it straightened out.
- Craig Here to Help!
|
|
Guest-1 |