This commit is contained in:
2025-02-26 01:44:21 +03:30
parent 22298e8bab
commit 727888d783
19 changed files with 19179 additions and 9414 deletions
+97
View File
@@ -0,0 +1,97 @@
//
// Fix Signal TP Based On Working Zone ...
// double maxAllowedTP =
// hasLong
// ? mXWZConditions.workingZone.upper
// : mXWZConditions.workingZone.lower;
// bool canApplyMaxAlowedTP = (hasLong &&
// signal.tp > maxAllowedTP) ||
// (!hasLong && signal.tp < maxAllowedTP);
// if (canApplyMaxAlowedTP)
// {
// signal.tp = maxAllowedTP;
// }
//
// Configuring Global Protector ...
// signal.trailSL = true;
// signal.trailSLStartOnReachTPLevel = 3;
// signal.fullTPLevel = signal.GetRiskRewardRatio();
// //
// mXSupDemOBSSignalDetector.RemoveDraws();
// mXSupDemOBSSignalDetector.DrawConditions(
// mXSupDemOBSConditions,
// mVisionCycleHelper.mPOIDrawer //
// );
// //
// mXSupDemOBSSignalDetector.RemoveWorkingZoneDraws();
// mXSupDemOBSSignalDetector.DrawWorkingZone(
// mXSupDemOBSConditions,
// mVisionCycleHelper.mPOIDrawer //
// );
//
// bool canReplaceTarget =
// signal.target > 0 &&
// (hasLong
// ? signal.target > signal.tp
// : signal.target < signal.tp);
// if (canReplaceTarget)
// {
// //
// signal.tp = conditions.target;
// signal.target = tp;
// }
//
// consolidationState.UpdateTo(cTime);
// XPOIState filtered;
// consolidationState.Filter(
// filtered,
// NULL,
// XZONE_STATE_PASSED,
// false,
// XZONE_STATE_FAILED,
// false,
// XZONE_STATE_FAILED,
// false,
// XZONE_STATE_IGNORED,
// false //
// );
// XCBaseObject *objects[];
// int objectsCount = drawer.DrawState(
// filtered,
// objects //
// );
// if (IsValidSize(objectsCount))
// {
// //
// Print("");
// }
// //
// XOBFVG activeObfvgs[];
// int activeObfvgsCount = ExtractOBFVGs(
// activeObfvgs,
// consolidationState,
// analyseState //
// );
// bool hasActiveOBFVGs = IsValidSize(activeObfvgsCount);
// if (hasActiveOBFVGs)
// {
// //
// SpecifiedUpdateTo(activeObfvgs);
// for (int i = 0; i < activeObfvgsCount; i++)
// {
// //
// XCBaseObject *objects[];
// int objectsCount = drawer.DrawOBFVG(
// activeObfvgs[i],
// objects //
// );
// }
// }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff