last ...
This commit is contained in:
@@ -127,24 +127,24 @@ class XCXCAEASignaller : XCBase
|
||||
inputs.x3maInputs.showSlow = false;
|
||||
inputs.x3maInputs.showMedium = false;
|
||||
|
||||
//
|
||||
inputs.caInputs.showMAH = true;
|
||||
inputs.caInputs.showMAL = true;
|
||||
inputs.caInputs.showMAC = true;
|
||||
inputs.caInputs.showSwings = true;
|
||||
inputs.caInputs.showFiboLevel1 = true;
|
||||
inputs.caInputs.showFiboLevel2 = true;
|
||||
inputs.caInputs.showFiboLevel3 = true;
|
||||
inputs.caInputs.showFiboLevel4 = true;
|
||||
inputs.caInputs.showFiboLevel5 = true;
|
||||
inputs.caInputs.showPeaksAndVales = true;
|
||||
|
||||
//
|
||||
inputs.caInputs.showKI = false;
|
||||
inputs.caInputs.showTKI = false;
|
||||
inputs.caInputs.showSar = false;
|
||||
inputs.caInputs.showMAH = true;
|
||||
inputs.caInputs.showMAL = false;
|
||||
inputs.caInputs.showMAC = true;
|
||||
inputs.caInputs.showVidya = false;
|
||||
inputs.caInputs.showTrend = true;
|
||||
inputs.caInputs.showSwings = false;
|
||||
inputs.caInputs.showLongCycle = false;
|
||||
inputs.caInputs.showHindCycle = false;
|
||||
inputs.caInputs.showFiboLevel1 = false;
|
||||
inputs.caInputs.showFiboLevel2 = false;
|
||||
inputs.caInputs.showFiboLevel3 = false;
|
||||
inputs.caInputs.showShortCycle = false;
|
||||
inputs.caInputs.showMediumCycle = false;
|
||||
inputs.caInputs.showPeaksAndVales = true;
|
||||
inputs.caInputs.showTrend = false;
|
||||
inputs.caInputs.showPeakAndValeGolden = false;
|
||||
inputs.caInputs.showSupportAndResistance = false;
|
||||
|
||||
@@ -471,100 +471,111 @@ class XCXCAEASignaller : XCBase
|
||||
|
||||
//
|
||||
// Detecting Pivots ...
|
||||
detector.Detect(
|
||||
zIndex //
|
||||
);
|
||||
// detector.Detect(
|
||||
// zIndex //
|
||||
// );
|
||||
|
||||
//
|
||||
// Validate Pivots ...
|
||||
detector.Validate(
|
||||
unAvailableBoxes,
|
||||
zIndex //
|
||||
);
|
||||
// detector.Validate(
|
||||
// unAvailableBoxes,
|
||||
// zIndex //
|
||||
// );
|
||||
|
||||
//
|
||||
if (detector.pivotDetectionLoopbac > 100)
|
||||
{
|
||||
detector.pivotDetectionLoopbac = 100;
|
||||
}
|
||||
// if (detector.pivotDetectionLoopbac > 100)
|
||||
// {
|
||||
// detector.pivotDetectionLoopbac = 100;
|
||||
// }
|
||||
|
||||
//
|
||||
// Draw Founded Pivots ...
|
||||
// drawer.Draw(cTime);
|
||||
|
||||
//
|
||||
drawer.DrawPeakPivots(cTime);
|
||||
drawer.DrawValePivots(cTime);
|
||||
drawer.DrawFVGBullishPivots(cTime);
|
||||
drawer.DrawFVGBearishPivots(cTime);
|
||||
// drawer.DrawPeakPivots(cTime);
|
||||
// drawer.DrawValePivots(cTime);
|
||||
// drawer.DrawFVGBullishPivots(cTime);
|
||||
// drawer.DrawFVGBearishPivots(cTime);
|
||||
// drawer.DrawTrendBullishPivots(cTime);
|
||||
// drawer.DrawTrendBearishPivots(cTime);
|
||||
|
||||
//
|
||||
// Retrieve Valid Pviots ...
|
||||
pivotsCount = detector.FillPivots(pivots);
|
||||
hasPivots = IsValidSize(pivotsCount);
|
||||
// pivotsCount = detector.FillPivots(pivots);
|
||||
// hasPivots = IsValidSize(pivotsCount);
|
||||
|
||||
//
|
||||
// Filter UnAvailable Boxes ...
|
||||
if (hasPivots)
|
||||
{
|
||||
//
|
||||
// Remove UnAvailable Boxes ...
|
||||
has = HasChild(unAvailableBoxes);
|
||||
if (has)
|
||||
{
|
||||
//
|
||||
count = ArraySize(unAvailableBoxes);
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
//
|
||||
XBoxZone iBox = unAvailableBoxes[i];
|
||||
// if (hasPivots)
|
||||
// {
|
||||
// //
|
||||
// // Remove UnAvailable Boxes ...
|
||||
// has = HasChild(unAvailableBoxes);
|
||||
// if (has)
|
||||
// {
|
||||
// //
|
||||
// count = ArraySize(unAvailableBoxes);
|
||||
// for (int i = 0; i < count; i++)
|
||||
// {
|
||||
// //
|
||||
// XBoxZone iBox = unAvailableBoxes[i];
|
||||
|
||||
//
|
||||
has = FindBoxIndex(
|
||||
idx,
|
||||
iBox,
|
||||
pivots //
|
||||
);
|
||||
if (has)
|
||||
{
|
||||
//
|
||||
ArrayRemove(
|
||||
pivots,
|
||||
idx,
|
||||
1 //
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
// //
|
||||
// has = FindBoxIndex(
|
||||
// idx,
|
||||
// iBox,
|
||||
// pivots //
|
||||
// );
|
||||
// if (has)
|
||||
// {
|
||||
// //
|
||||
// ArrayRemove(
|
||||
// pivots,
|
||||
// idx,
|
||||
// 1 //
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
//
|
||||
hasPivots = HasChild(pivots);
|
||||
pivotsCount = ArraySize(pivots);
|
||||
}
|
||||
// //
|
||||
// hasPivots = HasChild(pivots);
|
||||
// pivotsCount = ArraySize(pivots);
|
||||
// }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
//
|
||||
// Detect Sinal Box ...
|
||||
hasSignalBox = DetectXCAEAConditions(
|
||||
drawer,
|
||||
trend,
|
||||
pivots,
|
||||
conditions,
|
||||
pivotBox,
|
||||
signalBox,
|
||||
targets,
|
||||
additionalSL,
|
||||
signalBoxDir,
|
||||
TestDetectSignal(
|
||||
helper,
|
||||
drawer,
|
||||
signalBox,
|
||||
signalBoxDir,
|
||||
conditions,
|
||||
zIndex,
|
||||
loopback //
|
||||
);
|
||||
|
||||
// //
|
||||
// // Detect Sinal Box ...
|
||||
// hasSignalBox = DetectXCAEAConditions(
|
||||
// drawer,
|
||||
// trend,
|
||||
// pivots,
|
||||
// conditions,
|
||||
// pivotBox,
|
||||
// signalBox,
|
||||
// targets,
|
||||
// additionalSL,
|
||||
// signalBoxDir,
|
||||
// helper,
|
||||
// zIndex,
|
||||
// loopback //
|
||||
// );
|
||||
|
||||
//
|
||||
// Make Pivot Box UnAvailable ...
|
||||
if (pivotBox.IsValid())
|
||||
|
||||
Reference in New Issue
Block a user