last ...
This commit is contained in:
@@ -1226,6 +1226,17 @@ bool DetectDecisionZone(
|
||||
dir = X_DIRECTION_NONE;
|
||||
}
|
||||
|
||||
//
|
||||
// Check Box Size ...
|
||||
double range = box.GetRange();
|
||||
double maxAllowedBoxRange = 400;
|
||||
double ponts = GetPoints(box.symbol);
|
||||
bool isTooLarget = range > (maxAllowedBoxRange * points);
|
||||
if (isTooLarget)
|
||||
{
|
||||
Print("Too Large ...");
|
||||
}
|
||||
|
||||
//
|
||||
// Check Box is Prepared or Not ...
|
||||
result = box.IsValid();
|
||||
|
||||
@@ -238,7 +238,7 @@ class XCXCAEASignaller : XCBase
|
||||
|
||||
//
|
||||
// Draw Pivots ...
|
||||
drawer.Draw(cTime);
|
||||
// drawer.Draw(cTime);
|
||||
|
||||
//
|
||||
// Setup Conditions ...
|
||||
@@ -610,15 +610,15 @@ class XCXCAEASignaller : XCBase
|
||||
);
|
||||
|
||||
//
|
||||
// rfReward = risk * 2.85;
|
||||
// rfPrice =
|
||||
// isBullish
|
||||
// ? entry + rfReward
|
||||
// : entry - rfReward;
|
||||
// Add(
|
||||
// rfPrice,
|
||||
// conditions.targets //
|
||||
// );
|
||||
rfReward = risk * 2.95;
|
||||
rfPrice =
|
||||
isBullish
|
||||
? entry + rfReward
|
||||
: entry - rfReward;
|
||||
Add(
|
||||
rfPrice,
|
||||
conditions.targets //
|
||||
);
|
||||
|
||||
//
|
||||
// Handling Partial Close ...
|
||||
@@ -834,8 +834,8 @@ class XCXCAEASignaller : XCBase
|
||||
// XCA ...
|
||||
|
||||
//
|
||||
inputs.caInputs.sarStep = 0.001;
|
||||
inputs.caInputs.sarMax = 0.05;
|
||||
// inputs.caInputs.sarStep = 0.001;
|
||||
// inputs.caInputs.sarMax = 0.05;
|
||||
|
||||
//
|
||||
inputs.caInputs.supResSmoothingLength = 7;
|
||||
@@ -847,7 +847,7 @@ class XCXCAEASignaller : XCBase
|
||||
inputs.caInputs.showMAH = false;
|
||||
inputs.caInputs.showMAL = false;
|
||||
inputs.caInputs.showMAC = false;
|
||||
inputs.caInputs.showSar = true;
|
||||
inputs.caInputs.showSar = false;
|
||||
inputs.caInputs.showVidya = false;
|
||||
inputs.caInputs.showTrend = false;
|
||||
inputs.caInputs.showSwings = true;
|
||||
@@ -858,7 +858,7 @@ class XCXCAEASignaller : XCBase
|
||||
inputs.caInputs.showFiboLevel5 = false;
|
||||
inputs.caInputs.showPeaksAndVales = true;
|
||||
inputs.caInputs.showPeakAndValeGolden = false;
|
||||
inputs.caInputs.showSupportAndResistance = true;
|
||||
inputs.caInputs.showSupportAndResistance = false;
|
||||
|
||||
//
|
||||
// XOSCS ...
|
||||
@@ -915,7 +915,7 @@ class XCXCAEASignaller : XCBase
|
||||
detector.maxAllowedPivots = 0;
|
||||
detector.pivotVerifications = 5;
|
||||
detector.ticksDividerInPoints = 15;
|
||||
detector.pivotDetectionLoopbac = 1000;
|
||||
detector.pivotDetectionLoopbac = 200;
|
||||
|
||||
//
|
||||
// Configure Detector ...
|
||||
|
||||
Reference in New Issue
Block a user