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