This commit is contained in:
2025-03-22 15:32:23 +03:30
parent 7970785883
commit ddf021f4d4
2 changed files with 113 additions and 2 deletions
@@ -3471,6 +3471,9 @@ class XC121SMCTradeHandler : public XCBaseAlert
//
string prefix = "Protector: ";
//
int targetDistance = 5;
//
// Implement Protection Senario Here ...
int count = Count();
@@ -3758,8 +3761,8 @@ class XC121SMCTradeHandler : public XCBaseAlert
//
double targetDelta = isLong
? target + (15 * points)
: target - (15 * points);
? target + (targetDistance * points)
: target - (targetDistance * points);
bool canRF =
target > 0 &&
(isLong ? target > entry