- All Categories
- 2.2K StockCharts
- 381 SharpCharts
- 120 Other Charting Tools
- 57 Saved Charts and ChartLists
- 1.4K Scanning
- 68 Data Issues
- 155 Other StockCharts Questions
- 212 Technical Analysis
- 153 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 38 Market Analysis
- 98 Trading
- 98 Trading Strategies
- 160 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 95 s.c.a.n. archives
- 14 Off-Topic
- 10 The Cogitation & Rumination Emporium
- 4 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.