- All Categories
- 2.3K StockCharts
- 387 SharpCharts
- 142 Other Charting Tools
- 67 Saved Charts and ChartLists
- 1.4K Scanning
- 70 Data Issues
- 172 Other StockCharts Questions
- 214 Technical Analysis
- 154 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 39 Market Analysis
- 105 Trading
- 105 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 99 s.c.a.n. archives
- 17 Off-Topic
- 10 The Cogitation & Rumination Emporium
- 7 Forum Test Area

New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

## Comments

Then you would test for the conditions preceding PMO becoming positive.

So both Line and Signal would have been negative for some period of time, meaning the maximum value for each would have been less than 0, so the test would be max( ?, Line) < 0 and then max(?, Signal) < 0.

Then you need to test for a crossover. You could test for a specific day, like 10 days ago Line x 10 days ago Signal, but that's probably too specific. So instead, you would test for a condition before the crossover and a condition after the crossover. For instance, before the crossover, Line is less than Signal, and after the crossover, Line is greater than Signal. If those two conditions are true, the must have been at least one crossover in between. Now you just have to choose how many days ago (i.e. how far apart in the past) each of those conditions occurred.

To decide on the parameters for max, and how many days ago, you should probably look at a few charts to see how PMO tends to behave. Unfortunately, there will probably be a pretty wide variation, so any choices you make will be a compromise. It's just a matter of finding the right one for your needs.