proximity | The number of bars of separation allowed between the peaks (troughs) of price and the oscillator. Recommend 6. |
cp1 | The ChartPane in which the first DataSeries, ds1, is plotted. Generally this would be the PricePane. |
ds1 | A Price DataSeries, such as High, Low, or Close. This could be any DataSeries, however. |
rev1 | Percentage reversal required to detect a peak (trough) in ds1. For Daily prices, 5 or greater is recommended. |
cp2 | The ChartPane in which the second DataSeries, ds2, is plotted. |
ds2 | An indicator DataSeries (e.g. momentum oscillator like RSI). This could be any DataSeries, however. |
rev2 | Percentage reversal required to detect a peak (trough) in ds2. Generally, use a larger percentage for momentum oscillators, 15 or more. |