last ...
This commit is contained in:
@@ -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
Reference in New Issue
Block a user