add support for PV Pivot Detection in One Function ...
This commit is contained in:
@@ -207,12 +207,12 @@ class XCXCAEASignaller : XCBase
|
||||
// drawer.Draw(cTime);
|
||||
|
||||
//
|
||||
// drawer.DrawPeakPivots(cTime);
|
||||
// drawer.DrawValePivots(cTime);
|
||||
drawer.DrawPeakPivots(cTime);
|
||||
drawer.DrawValePivots(cTime);
|
||||
// drawer.DrawFVGBullishPivots(cTime);
|
||||
// drawer.DrawFVGBearishPivots(cTime);
|
||||
drawer.DrawTrendBullishPivots(cTime);
|
||||
drawer.DrawTrendBearishPivots(cTime);
|
||||
// drawer.DrawTrendBullishPivots(cTime);
|
||||
// drawer.DrawTrendBearishPivots(cTime);
|
||||
|
||||
//
|
||||
// Retrieve Valid Pviots ...
|
||||
@@ -871,7 +871,8 @@ class XCXCAEASignaller : XCBase
|
||||
detector = new XCXCAEAPOIDetector(helper);
|
||||
|
||||
//
|
||||
detector.maxAllowedPivots = 50;
|
||||
// Common Configurations ...
|
||||
detector.maxAllowedPivots = 0;
|
||||
detector.pivotVerifications = 5;
|
||||
detector.ticksDividerInPoints = 15;
|
||||
detector.pivotDetectionLoopbac = 200;
|
||||
@@ -881,6 +882,9 @@ class XCXCAEASignaller : XCBase
|
||||
|
||||
//
|
||||
// PV ...
|
||||
|
||||
//
|
||||
detector.maxAllowedPVLifetime = 0;
|
||||
detector.applySwingsOnPVPivots = true;
|
||||
detector.selectRejectedPVPivots = true;
|
||||
detector.selectEngulfedPVPivots = true;
|
||||
@@ -896,20 +900,32 @@ class XCXCAEASignaller : XCBase
|
||||
|
||||
//
|
||||
// FVG ...
|
||||
detector.maxAllowedFVGLife = 0;
|
||||
detector.detectFVGTypeOne = true;
|
||||
detector.detectFVGTypeTwo = false;
|
||||
detector.applyPVToFVGBoundary = false;
|
||||
detector.detectFVGBullishPivots = true;
|
||||
detector.detectFVGBearishPivots = true;
|
||||
detector.selectRejectedFVGPivots = true;
|
||||
detector.selectEngulfedFVGPivots = true;
|
||||
detector.applyLastBarToFVGBoundary = false;
|
||||
detector.selectOnlyFVGWhichHasIndirectionalLastBar = true;
|
||||
|
||||
//
|
||||
detector.selectSameBarFVGs = true;
|
||||
detector.maxAllowedFVGLifetime = 0;
|
||||
detector.validateFVGUsingPV = false;
|
||||
detector.applyPVToFVGBoundary = false;
|
||||
detector.selectRejectedFVGPivots = true;
|
||||
detector.selectEngulfedFVGPivots = true;
|
||||
detector.validateFVGUsingManalyser = true;
|
||||
detector.applyLastBarToFVGBoundary = false;
|
||||
detector.selectOnlyFVGWhichHasIndirectionalLastBar = true;
|
||||
|
||||
//
|
||||
// Bullish ...
|
||||
detector.detectFVGBullishPivots = true;
|
||||
|
||||
//
|
||||
// Bearish ...
|
||||
detector.detectFVGBearishPivots = true;
|
||||
|
||||
//
|
||||
// TREND ...
|
||||
|
||||
//
|
||||
detector.maxAllowedTrendLifetime = 0;
|
||||
|
||||
//
|
||||
// Bullish ...
|
||||
detector.detectTrendBullishPivots = true;
|
||||
@@ -918,6 +934,9 @@ class XCXCAEASignaller : XCBase
|
||||
// Bearish ...
|
||||
detector.detectTrendBearishPivots = true;
|
||||
|
||||
//
|
||||
// DRAWER ...
|
||||
|
||||
//
|
||||
// Initialize and Configure Drawer ...
|
||||
drawer = new XCXCAEAPOIDrawer(detector);
|
||||
|
||||
Reference in New Issue
Block a user