Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

MIDAS indicator problem Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
hkusp40
Posted : Sunday, January 25, 2009 11:46:32 AM
Registered User
Joined: 7/13/2008
Posts: 35
I'm having a bit of a problem with scanning for a condition...

You're probably familiar with the MIDAS indicator and what it does. I am simply trying to scan for securities above or below a MIDAS plot and the results are not accurate. I've shared a layout to show you what I mean. The layout name is 'MIDAS problem'

I've plotted a longer term MIDAS and then created a rule to show stocks that are above this plot. If you flip through the passing stocks (using the Nas100 components is a good example) you'll notice that some are quite clearly below the plot. Likewise, some stocks that SF4 shows as not passing this condition are indeed above the MIDAS plot. If you were to sort the list by number a bars since true, the results are even more confounding.

Strangely, this problem seems to only occur when the MIDAS plot is a longer one. If you were to change the start date from 2003 up to 2008 you'll notice that the problem no longer exists. Any ideas?

Thanks again,
hkusp40
Bruce_L
Posted : Monday, January 26, 2009 9:43:00 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try adding the following line to your RealCode:

'# Cumulative

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
hkusp40
Posted : Tuesday, January 27, 2009 11:32:22 AM
Registered User
Joined: 7/13/2008
Posts: 35
Simple, yet effective. I'm grateful Bruce. Thanks.
Bruce_L
Posted : Tuesday, January 27, 2009 11:33:04 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.