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.
[...] (int)PeakBar.Value(bar, price, pctRev1, mode);
if (pb1 > _barLastChecked) {
_barLastChecked = pb1;
int pb2 = (int)PeakBar.Value(pb1, 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(bar, price, pctRev1, mode);
if (pb1 > _barLastChecked) {
_barLastChecked = pb1;
int pb2 = (int)PeakBar.Value(pb1, 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(bar, price, pctRev1, mode);
if (pb1 > _barLastChecked) {
_barLastChecked = pb1;
int pb2 = (int)PeakBar.Value(pb1, 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 [...]
[...] pb1 = (int)PeakBar.Value(bar, arsi, 20, PeakTroughMode.Value);
if (pb1 == -1) continue;
int pb2 = (int)PeakBar.Value(pb1, arsi, 20, PeakTroughMode.Value);
if (pb2 == -1) continue;
if ( Math.Sign(arsi pb1 - arsi pb2 ) == -1 && Math.Sign(High pb1 [...]
[...] Find the last two n% peaks and draw a line to the end of the chart
int n = Bars.Count - 1;
int pb2 = (int)PeakBar.Value(n, High, _pctpeaks.Value, WealthLab.Indicators.PeakTroughMode.Percent);
int pb1 = pb2;
if (pb2 > -1)
{
pb1 = (int)PeakBar.Value(pb2, High, _pctpeaks.Value, WealthLab.Indicators.PeakTroughMode.Percent);
DrawCircle(PricePane, 8, pb2, High pb2 , Color.Blue, LineStyle.Solid, 2, false);
}
if [...]
[...] pb1 = (int)PeakBar.Value(bar, arsi, 20, PeakTroughMode.Value);
if (pb1 == -1) continue;
int pb2 = (int)PeakBar.Value(pb1, arsi, 20, PeakTroughMode.Value);
if (pb2 == -1) continue;
if ( Math.Sign(arsi pb1 - arsi pb2 ) == -1 && Math.Sign(High pb1 [...]
[...] pb1 = (int)PeakBar.Value(bar, srsi, 20, PeakTroughMode.Value);
if (pb1 == -1) continue;
int pb2 = (int)PeakBar.Value(pb1, srsi, 20, PeakTroughMode.Value);
if (pb2 == -1) continue;
if ( Math.Sign(srsi pb1 - srsi pb2 ) == -1 && Math.Sign(High pb1 [...]