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 4.04 MB (775 documents, 11955 words), completed in 0.0 seconds and yielded 3 results.
[...] 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 < 0) ibar2 = 0;
if (Math.Abs(pb2 - ibar2) > proxBars) ibar2 = pb2;
divergeDetected = Math.Sign(price[pb1] - price[pb2]) ! = Math.Sign(ind[ibar1] - ind[ibar2]);
if (divergeDetected) [...]
[...] 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 < 0) ibar2 = 0;
if (Math.Abs(pb2 - ibar2) > proxBars) ibar2 = pb2;
divergeDetected = Math.Sign(price[pb1] - price[pb2]) ! = Math.Sign(ind[ibar1] - ind[ibar2]);
if (divergeDetected) [...]
[...] 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 < 0) ibar2 = 0;
if (Math.Abs(pb2 - ibar2) > proxBars) ibar2 = pb2;
divergeDetected = Math.Sign(price[pb1] - price[pb2]) ! = Math.Sign(ind[ibar1] - ind[ibar2]);
if (divergeDetected) [...]