Cleanup Trigger Block Detection from xcaea detector and Drawer for Managing it's Differences ...
This commit is contained in:
@@ -1030,20 +1030,6 @@ class XCXCAEASignaller : XCBase
|
||||
detector.detectTrendBullishPivots = false;
|
||||
detector.detectTrendBearishPivots = false;
|
||||
|
||||
//
|
||||
// TRIGGER Blocks ...
|
||||
|
||||
//
|
||||
detector.triggerBlockSwingLength = 7;
|
||||
detector.triggerBlockMaxAllowedRange = 0;
|
||||
detector.filterTriggerBlocksBySar = true;
|
||||
detector.triggerBlockBarHasProperSwing = true;
|
||||
detector.triggerBlockBarPressureValidation = true;
|
||||
|
||||
//
|
||||
detector.detectTriggerBlockBullishPivots = true;
|
||||
detector.detectTriggerBlockBearishPivots = true;
|
||||
|
||||
//
|
||||
// DRAWER ...
|
||||
|
||||
@@ -1066,8 +1052,6 @@ class XCXCAEASignaller : XCBase
|
||||
drawer.drawFVGBearishPivots = false;
|
||||
drawer.drawTrendBullishPivots = false;
|
||||
drawer.drawTrendBearishPivots = false;
|
||||
drawer.drawTriggerBlockBullishPivots = false;
|
||||
drawer.drawTriggerBlockBearishPivots = false;
|
||||
|
||||
//
|
||||
// Configure Styles ...
|
||||
@@ -1176,27 +1160,6 @@ class XCXCAEASignaller : XCBase
|
||||
trendBearishStyle.style = STYLE_DOT;
|
||||
drawer.trendBearishPivotStyle = trendBearishStyle;
|
||||
trendBearishStyle.Clean();
|
||||
|
||||
//
|
||||
// TRIGGER ...
|
||||
|
||||
//
|
||||
// Bullish ...
|
||||
XCAPivotStyle triggerBlockBullishStyle;
|
||||
triggerBlockBullishStyle.width = 2;
|
||||
triggerBlockBullishStyle.clr = clrLime;
|
||||
triggerBlockBullishStyle.style = STYLE_DOT;
|
||||
drawer.triggerBlockBullishPivotStyle = triggerBlockBullishStyle;
|
||||
triggerBlockBullishStyle.Clean();
|
||||
|
||||
//
|
||||
// Bearish ...
|
||||
XCAPivotStyle triggerBlockBearishStyle;
|
||||
triggerBlockBearishStyle.width = 2;
|
||||
triggerBlockBearishStyle.clr = clrRed;
|
||||
triggerBlockBearishStyle.style = STYLE_DOT;
|
||||
drawer.triggerBlockBearishPivotStyle = triggerBlockBearishStyle;
|
||||
triggerBlockBearishStyle.Clean();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user