Registered User Joined: 1/21/2010 Posts: 21
|
Hello programing pros,
I want to have a scan that will identify stocks that are trading withing a range of 2 or 3 points over a period of time of 1 month or 30 days. There can be movement in the trend up or down or straight across the chart. Can you help to me to get started on this scan?
thanks, Greg
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you just want to check that prices were within 3 points of each other over a Period of 30-Bars, you could try the following RealCode Condition:
If Price.MaxHigh(30) - Price.MinLow(30) <= 3 Then Pass
Writing Conditions in RealCode
Scanning with Conditions
Filtering Lists
-Bruce Personal Criteria Formulas TC2000 Support Articles
|