Registered User Joined: 10/7/2004 Posts: 36
|
I am trying to write a condition with moneystream where the price reaches a new 52 week low but moneystream does not make a new low. Can you provide and example of how that would look in realcode?
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following RealCode Condition:
Writing Conditions in RealCode
'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:Moneystreamm non-confirmation
'|******************************************************************
'# MS = indicator.Library.MoneyStream
'# Period = UserInput.Integer = 251
If Price.Low < Price.MinLow(Period, 1) AndAlso _
MS.Value >= MS.MinClose(Period, 1) Then Pass
-Bruce Personal Criteria Formulas TC2000 Support Articles
|