Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Request PCF Formula BREAKAWAY UP GAP Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
raider45
Posted : Tuesday, August 15, 2017 3:36:39 PM
Registered User
Joined: 9/30/2011
Posts: 788
I would like to have a PCF Formula with the following sign:
 
Breakaway Up Gap
 
References:
 
 
 
Thank you and goodbye.

 

Raider45
Bruce_L
Posted : Tuesday, August 15, 2017 4:03:04 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I can give you a formula for a gap up on above average volume.

L > H1 AND V > AVGV30

And you can increase how much volume you need. For example, the following would require more than double average volume.

L > H1 AND V > 2 * AVGV30

You can even check for the gap to be at least a certain percentage (the following requires a 1% gap).

100 * L >= 101 * H1 AND V > 2 * AVGV30

But saying this is going to be a breakaway gap is a bit of a stretch (note that the definitions given rely as much or more on what happens after the gap that at or before the gap). You could check for some sort of consolidation before the breakout, but there really isn't any agreement on an objective definition of consolidation.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Al_Gorithm
Posted : Tuesday, August 15, 2017 4:13:14 PM

Registered User
Joined: 6/30/2017
Posts: 1,227

For what's it's worth, at least at the market opening, I think of a breakaway gap as one that opens totally outside of the previous day's range. This may not be the classic textbook definition, but that kind of gap gets my attention.

Opening gaps that are within yesterday's range just don't do it for me.

While Bruce is right that there really isn't any agreement on an objective definition of consolidation, perhaps monitoring tickers in a TTM Squeeze for gaps might be worthwhile. Never tried it.

Sorry, just a thought - didn't mean to hijack your thread. Carry on. :)

We now return to our regular programming...

Bruce_L
Posted : Tuesday, August 15, 2017 4:26:22 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The formulas given would assure that the open wasn't in the previous day's range if used on a daily time frame. But you could re-write them to use the open instead of the low. For example, the first formula would become the following.

O > H1 AND V > AVGC30

Or use whatever time frame you wanted with the original formulas and then add it to the same EasyScan as the following daily Condition Formual.

O > H1

If you wanted to check for the TTM Squeeze, you would want squeeze On to be true for the previous bar.

STDDEV20.1 * 4 <= 3 * ATR20.1



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Wednesday, August 16, 2017 6:07:46 AM
Registered User
Joined: 9/30/2011
Posts: 788
Congratulations and thanks for the formulas !
 
Best regards
raider45
Posted : Wednesday, August 16, 2017 6:31:08 AM
Registered User
Joined: 9/30/2011
Posts: 788
I would like to change the following formula for it to be valid for today with signal output:
 
STDDEV20.1 * 4 <= 3 * ATR20.1
 
Also, I would like the Gappers function to be transformed into PCF Formula with signal output.
 
Thank you in advance
Raider45
Bruce_L
Posted : Wednesday, August 16, 2017 8:43:46 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Converting the STDDEV20.1 * 4 <= 3 * ATR20.1 from looking at the previous bar to looking at the current bar can involves removing the bars ago parameters (the .1s at the end of STDDEV and ATR).

STDDEV20 * 4 <= 3 * ATR20

The built in formula for Gappers is as follows.

-1 * (L>H1) + -2 * (H<L1)

It returns 1 if there is a gap up and 2 if there is a gap down. This built in version converts this to Gap Up and Gap Down for display in the WatchList Column, but there is no way to do this on your own.

A Condition Formula for just the Gap Up can be written as follows.

L > H1

A Condition Formula for just the Gap Down can be written as follows.

H < L1

A Condition Formula which returns true for either gap can be written as follows.

L > H1 OR H < L1



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Wednesday, August 16, 2017 10:28:11 AM
Registered User
Joined: 9/30/2011
Posts: 788
Congratulations and thanks for all your work !
 
Best regards
Raider45
Bruce_L
Posted : Wednesday, August 16, 2017 10:39:50 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.