Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

inside bar Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
LCRX
Posted : Friday, July 29, 2011 12:36:20 AM
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.
Bruce_L
Posted : Friday, July 29, 2011 8:35:13 AM


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
LCRX
Posted : Sunday, July 31, 2011 8:17:58 PM
Registered User
Joined: 6/23/2008
Posts: 38
thanks I got it to work
Bruce_L
Posted : Monday, August 1, 2011 8:38:19 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.