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.
[...] 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 pb1 - price pb2 ) != Math.Sign(ind ibar1 - ind ibar2 );
if (divergeDetected) {
// Highlight bar detected
SetPaneBackgroundColor(PricePane, bar, Color.FromArgb(40, [...]
[...] 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 pb1 - price pb2 ) != Math.Sign(ind ibar1 - ind ibar2 );
if (divergeDetected) {
// Highlight bar detected
SetPaneBackgroundColor(PricePane, bar, Color.FromArgb(40, [...]
[...] 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 pb1 - price pb2 ) != Math.Sign(ind ibar1 - ind ibar2 );
if (divergeDetected) {
// Highlight bar detected
SetPaneBackgroundColor(PricePane, bar, Color.FromArgb(40, [...]