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

Gap Down At The End of Day Screener Code? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mrfixituk
Posted : Tuesday, December 11, 2018 4:36:42 AM
Registered User
Joined: 12/10/2018
Posts: 4

What is the code to do a simple end of day scan to find stocks which have gapped down?

I will do this from a list of imported symbols/tickers

Thanks

Bruce_L
Posted : Tuesday, December 11, 2018 9:32:14 AM


Worden Trainer

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

I am not actually sure what you are requesting. I don't know if you want to scan a daily time frame at the end of the day to check for a gap down (this is what I would suspect based just on the text of the post).

High below previous low:

H < L1

High below previous close:

H < C1

Open below previous low:

O < L1

Open below previous close:

O < C1

Or if you are interested in some sort of gap down near the end of the day in an intraday time frame (this seems to be suggested by the title of the topic). If you want this intraday version, I would need further clarification as to exactly what type of gap down you are attempting identify, the time frame, and how near it needs to be to the end of the trading day.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mrfixituk
Posted : Tuesday, December 11, 2018 12:14:41 PM
Registered User
Joined: 12/10/2018
Posts: 4

Error in formula 

Unkown method high at position 4

 

 

??????

Bruce_L
Posted : Tuesday, December 11, 2018 12:23:43 PM


Worden Trainer

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

If you have the word "high" in your formula, then you are including the description of at least one of the formulas in the formula.

The formulas themselves are quite short and in a different font. There are four of them. One of the formula checks for the high being below the previous low and all of the other formulas in the previosu post are of similar length and style.

H < L1



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mrfixituk
Posted : Tuesday, December 11, 2018 2:24:30 PM
Registered User
Joined: 12/10/2018
Posts: 4
H < L1
H < C1
O < L1
O < C1
 
Error in formula
Syntax Error near <
 
Thanks
Bruce_L
Posted : Tuesday, December 11, 2018 2:38:49 PM


Worden Trainer

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

There are four completely different formulas. Choose whichever one best aligns with your definition of a "gap down".



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mrfixituk
Posted : Thursday, December 27, 2018 6:10:12 AM
Registered User
Joined: 12/10/2018
Posts: 4

Thanks! I am getting to grips with the charting software as I was using another provider. Pity TC2000 doesn't support The London Stock Exchange.

What condition do I add to screen for gap downs between two moving averages like in the image.

It gapped down between the 20 and 50 day moving average. I am using the gap down criteria from TC2000 as standard.

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

https://photos.app.goo.gl/epQzLtj5fxwbKwk4A

Bruce_L
Posted : Wednesday, January 2, 2019 9:57:03 AM


Worden Trainer

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

There are other possible interpretations, but please try the following condition formula.

(AVGC20 < H AND H < L1 AND L1 < AVGC50) OR (AVGC50 < H AND H < L1 AND L1 < AVGC20)



-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.