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

Real Code and condition sort for values of max min line over 50 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jabrae
Posted : Friday, November 12, 2010 2:23:55 PM
Registered User
Joined: 12/26/2006
Posts: 109

When I use the following code for the condition shown.  The paint function works but the condition column and sort does not work.  If I use 50 or less the condition column seems to work.

Is my code wrong or is there a limit of 50 for the max min line function?  This code is for the a different chart in the same layout that searches for a max line condition with values below 50.

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:LTBreakout
'|*** Example: if price.percentChange > 1 then pass
'|******************************************************************


'# MoMo55 = chart.MaxorMinofLine

If Price.Close > MoMo55.Value(1) Then Pass

 

Bruce_L
Posted : Friday, November 12, 2010 2:25:45 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Try adding the following Line to your RealCode:

'# Cumulative

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jabrae
Posted : Friday, November 12, 2010 5:15:53 PM
Registered User
Joined: 12/26/2006
Posts: 109
Thanks Bruce that seemed to clear up the sort problem.
 
Where can I find a reference for the use of '# Cummulative and probably other variable qualifiers?
Bruce_L
Posted : Monday, November 15, 2010 9:59:08 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Cumulative is described in Chapter 8 - Getting Deeper into RealCode of the RealCode Reference.

-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.