Search Engine
Here you can search through the pages of this Namespace, their attachments and the files uploaded to the system.
Note: the results will only display the items you have permissions to read.
This search, performed through 3.85 MB (775 documents, 11907 words), completed in 0.0 seconds and yielded 3 results.
[...] price, pctRev1, mode);
if (pb2 > -1) {
int testBar = Math.Min(bar, pb1 + proxBars);
int ibar1 = (int)PeakBar.Value( testBar, ind, pctRev2, mode);
// test peak proximity
if (Math.Abs(pb1 - ibar1) > proxBars) ibar1 = pb1;
int span = Math.Min(pb1 - pb2 - 1, proxBars);
testBar = Math.Min(ibar1 - 1, pb2 + span);
int ibar2 = (int)PeakBar.Value( testBar, ind, pctRev2, mode);
if (ibar2 proxBars) ibar2 = pb2;
divergeDetected = Math.Sign(price [...]
[...] price, pctRev1, mode);
if (pb2 > -1) {
int testBar = Math.Min(bar, pb1 + proxBars);
int ibar1 = (int)PeakBar.Value( testBar, ind, pctRev2, mode);
// test peak proximity
if (Math.Abs(pb1 - ibar1) > proxBars) ibar1 = pb1;
int span = Math.Min(pb1 - pb2 - 1, proxBars);
testBar = Math.Min(ibar1 - 1, pb2 + span);
int ibar2 = (int)PeakBar.Value( testBar, ind, pctRev2, mode);
if (ibar2 proxBars) ibar2 = pb2;
divergeDetected = Math.Sign(price [...]
[...] price, pctRev1, mode);
if (pb2 > -1) {
int testBar = Math.Min(bar, pb1 + proxBars);
int ibar1 = (int)PeakBar.Value( testBar, ind, pctRev2, mode);
// test peak proximity
if (Math.Abs(pb1 - ibar1) > proxBars) ibar1 = pb1;
int span = Math.Min(pb1 - pb2 - 1, proxBars);
testBar = Math.Min(ibar1 - 1, pb2 + span);
int ibar2 = (int)PeakBar.Value( testBar, ind, pctRev2, mode);
if (ibar2 proxBars) ibar2 = pb2;
divergeDetected = Math.Sign(price [...]