A buy signal is a persistent state, not a daily price change
StockCharts defines a P&F buy signal as an X column breaking above the preceding X column. It remains active until an O column breaks below the preceding O column, producing a sell signal. Changing from an X column to an O column alone does not necessarily cancel the buy signal.
- Counting stocks above a moving average measures a different form of breadth. Label that output by its actual rule rather than calling it BPI.
- Bull/Bear Power measures price relative to an EMA for a chart symbol. It does not supply the constituent signal states required here.
| Hypothetical stock | Observation | BPI treatment |
|---|---|---|
| Stock A | Price closes higher today but has not broken the prior X-column high; its last signal was sell. | Still excluded from the buy-signal count. |
| Stock B | Price closes lower today, but its active buy signal has not been replaced by a sell signal. | Still included in the buy-signal count. |
| Stock C | An X column exceeds the previous X-column high and replaces a sell signal. | Adds one to the count, regardless of market capitalization. |