apply some fix in Freezing Mechanism ...
This commit is contained in:
@@ -3240,7 +3240,11 @@ class X121SCTradeHandler : public XSCBaseAlert
|
||||
}
|
||||
|
||||
//
|
||||
if (canFreeze && position.profit < 0 && supportsCount <= 0 && profitInPoint >= freezePoint && !mData[iDX].freezed)
|
||||
if (canFreeze &&
|
||||
supportsCount <= 0 &&
|
||||
position.profit < 0 &&
|
||||
!mData[iDX].freezed &&
|
||||
MathAbs(profitInPoint) >= freezePoint)
|
||||
{
|
||||
//
|
||||
bool removeTPSL = RemoveFreezedPositionsTPSL();
|
||||
|
||||
Reference in New Issue
Block a user