last works ...

This commit is contained in:
2025-10-02 20:23:31 +03:30
parent bb8ab13739
commit b77771b2fc
8 changed files with 3537 additions and 87 deletions
@@ -415,8 +415,8 @@ class XCXFIMABaseSignaller : public XCBaseSignaller
//
// Retrieve MA Band for Validation ...
double iMABandUpper = fimaConditions.maBandUpperBuffer[0];
double iMABandLower = fimaConditions.maBandLowerBuffer[0];
double iMABandUpper = fimaConditions.maBondUpperBuffer[0];
double iMABandLower = fimaConditions.maBondLowerBuffer[0];
//
// Validate by Edge Price ...
@@ -578,6 +578,9 @@ class XCXFIMAStrategy1Signaller : public XCXFIMABaseSignaller
// XBoxZone iBox;
// XCBoxObject *iBoxObj;
//
// poiDrawer.RemoveDraws();
// //
// has = iStructure.pvAnalysis.HasSupportBox(iBox);
// if (has)
@@ -608,21 +611,71 @@ class XCXFIMAStrategy1Signaller : public XCXFIMABaseSignaller
// }
// }
// //
// // Draw Zones ...
// has = HasChild(iStructure.supports);
// if (has) {
// //
// CArrayObj *iSupportObjs;
// poiDrawer.DrawBoxes(
// iStructure.supports,
// iSupportObjs,
// true //
// );
// }
// //
// has = HasChild(iStructure.resistances);
// if (has) {
// //
// CArrayObj *iResistanceObjs;
// poiDrawer.DrawBoxes(
// iStructure.resistances,
// iResistanceObjs,
// true //
// );
// }
//
// Detecte Fibo Section Changes ...
//
has = fimaHelper.IsFiboSectionChanged(iDir, iBar.Index());
has = has &&
IsXBullish(iDir) &&
fimaHelper.IsValeOverLast(iBar.Index());
//
has = fimaHelper.IsFiboSectionChanged(iDir, iBar.Index());
has = has &&
IsXBearish(iDir) &&
fimaHelper.IsPeakUnderLast(iBar.Index());
//
has = fimaHelper.HasFiboPush(iDir, iBar.Index(), 5);
//
if (has)
{
Print("Draw Zones ...");
}
//
// Disable Signallers ...
has = false;
iDir = X_DIRECTION_NONE;
//
// Strategy 1 ...
// Works on Support or Resistances Areas ...
has = Strategy1HasSignal(
iBar,
iZone,
iTargets,
iDir,
iFIMAConditions,
iStructure //
);
// has = Strategy1HasSignal(
// iBar,
// iZone,
// iTargets,
// iDir,
// iFIMAConditions,
// iStructure //
// );
//
// Strategy 2 ...