Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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
|
|
Registered User Joined: 7/13/2008 Posts: 35
|
Simple, yet effective. I'm grateful Bruce. Thanks.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |