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