Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 6/23/2008 Posts: 38
|
how to create scan for inside bar on new version tc2000v12. It was built in of SF but I cannot find it on tc help.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The basic formula for an Inside Bar would be:
L1 < L AND H < H1
The Inside Bar Conditions from StockFinder are Inside Bar - reversal to downside:
If Price.High < Price.High(1) AndAlso _
Price.Low > Price.Low(1) AndAlso _
Price.High(1) = Price.MaxHigh(10) AndAlso _
Math.Abs(Price.Open - Price.Close) < (Price.high - Price.Low) * .25 AndAlso _
Price.Close < Price.Open Then Pass
Which becomes:
H < H1 AND L > L1 AND H1 = MAXH10 AND ABS(O - C) < (H - L) * .25 AND C < O
And Inside Bar - reversal to upside:
If Price.High < Price.High(1) AndAlso _
Price.Low > Price.Low(1) AndAlso _
Price.Low(1) = Price.MinLow(10) AndAlso _
Math.Abs(Price.Open - Price.Close) < (Price.High - Price.Low) * .25 AndAlso _
Price.Close > Price.Open Then Pass
Which becomes:
H < H1 AND L > L1 AND L1 = MINL10 AND ABS(O - C) < (H - L) * .25 AND C > O
You can create any of these as Condition Formulas in TC2000 version 12 and then use them to Scan the WatchList.
Indicators, Sorting & Scanning
Boolean PCFs for Candlestick Patterns
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/23/2008 Posts: 38
|
thanks I got it to work
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |