- 2.4K All Categories
- 2K StockCharts
- 350 SharpCharts
- 107 Other Charting Tools
- 43 Saved Charts and ChartLists
- 1.3K Scanning
- 60 Data Issues
- 146 Other StockCharts Questions
- 172 Technical Analysis
- 126 Using Technical Analysis
- 1 InterMarket and International
- 17 Market and Breadth Indicators
- 28 Market Analysis
- 88 Trading
- 88 Trading Strategies
- 154 S.C.A.N the StockCharts Answer Network forum
- 59 Using this StockCharts Answer Network forum
- 95 s.c.a.n. archives
- 13 Off-Topic
- 9 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.