TC2000.com• Download software • Tutorial videos • Subscription & data-feed pricing • Class schedule
TC2000Brokerage.com• New account application • Trading resources • Margin rates • Stock & option commissions
Worden Discussion Forum
Customer Training & Support
Ask a Trainer - StockFinder 5.0
Translate from Metastock
The formula "lowestsince( 2, cross(c,mov(c,10,s), close )" returns lowest value of the close since the second most recent occurrence of the close crossing above its 10-day moving average.
I am using something other than close but if I could do it for close I might be able to do it for any other indicator.
What I want is the lowest value of the function since the last time it crossed the zero line.
I can use a rule to see when Close moves above its 10 day MA. If I move the Rule to a column I can get #Bars since True. Can I get at this #bars since True in Real Code?
If I could I could use price.MinClose(#bars since true) or something like that.
For something other than close. Can I use something like the System.Math.min function.