How many days are all up?

How do you know beforehand that there won't be any tick below the opening price?
I guess you know it after the close....

Of course you don't know that in advance.

His question was how many day's opened up and stayed up, past data.
 
Think OP might have meant to say how many days that closed green that may have at one point been red - early after the open or at any time thereafter?

Maybe he'll clarify?

ES has plenty of days where the opening tick was also the lowest tick of the session, same in reverse on certain days opening tick = high tick.
 
it's less than or equal. This is the rocket science I heard being done.
But that ain't what the OP wanted (see below). What he's looking for is

OPEN > CLOSE[1] && CLOSE > OPEN && OPEN = LOW

...trading days opened up, and stayed up, without going red and closed up

Edit: kinda glanced over "without going red and closed up", which I would think means OPEN = LOW.
 
Last edited:
Curious about a stat for, say, SPY. What percentage of trading days opened up, and stayed up, without going red and closed up? Longer time frame the better.

I think you are asking, what percentage of days where today's open is higher than yesterday's close ("opened up") and the low of today was still higher than the close of yesterday ("stayed up, without going red and closed up).

"Without going red" has to mean compared to the close of yesterday. Since red and green is always compared to yesterday's close.
 
I think you are asking, what percentage of days where today's open is higher than yesterday's close ("opened up") and the low of today was still higher than the close of yesterday ("stayed up, without going red and closed up).

"Without going red" has to mean compared to the close of yesterday. Since red and green is always compared to yesterday's close.
No, that is what the ignorant media has conditioned retailers to think.

Those of us who've been around a year or 2 or 25+ in my case, know to compare where price is at during the day - and where it closes - to where it opened that day.

News overnight and before the open affects what will happen that day, negating and/or minimizing what transpired the day before. And just the fact it is a new day, "yesterday is history".
 
Yea like schizo posted too, opening on the low.

Of course, this isn't really what anyone cares about. If the next bar after the open is 1 tick lower and the low of the day then it violates the rule and filtered out even though we really would want to keep that in practice. Then what about 2 ticks lower? What about 2 ticks down on the second bar from the open as the low? 5 ticks but not 6? On and on until you end up making a type of expert system that just doesn't work for what you want because there are too many possibilities to handle with if statements and there is always going to be some kind of arbitrary point of demarcation. 30 minute open range breakout even though 30 minutes is completely arbitrary compared to 28, 29, 31, 32, 33, 33.5 minutes on and on.

Same problem with all chart patterns too.

these are the days. If the open is ever greater than the low doesn't that mean the day went into the red?


Code:
                  Open        High         Low       Close   Adj Close    Volume
Date
2019-11-25  311.980011  313.369995  311.980011  313.369995  290.974365  48647200
2020-08-04  327.859985  330.059998  327.859985  330.059998  311.152649  41917900
2022-03-22  445.859985  450.579987  445.859985  449.589996  434.387634  74650400
 
Back
Top