diff --git a/Classes/x-saherelm.x121.xtrade.handler.class.mq5 b/Classes/x-saherelm.x121.xtrade.handler.class.mq5 index 98b8d0d1..6c6e922a 100644 --- a/Classes/x-saherelm.x121.xtrade.handler.class.mq5 +++ b/Classes/x-saherelm.x121.xtrade.handler.class.mq5 @@ -2650,7 +2650,8 @@ class X121SCTradeHandler : public XSCBaseAlert bool allowFreeze = AllowFreeze(); double freezeDistance = FreezeDistance(); bool removeFreezedPositionTPSL = RemoveFreezedPositionTPSL(); - bool canFreeze = !isInProfit && + bool canFreeze = allowFreeze && + !isInProfit && profitInPoint < 0 && freezeDistance > 0 && !mData[iDX].freezed &&