//+------------------------------------------------------------------+ //| ProtectModifier.mq5 | //| Copyright 2026, MasterOfPuppets | //| https://forge.mql5.io/masterofpuppets/mql5 | //+------------------------------------------------------------------+ #include "ProtectModifier.mqh" #property copyright "Copyright 2026, MasterOfPuppets" #property link "https://forge.mql5.io/masterofpuppets/mql5" //+------------------------------------------------------------------+ //| Modify function | //+------------------------------------------------------------------+ void ProtectModifier::Modify() { m_tradeContext.GetTrade().PositionModify(m_tradeContext.GetPositionInfo().Ticket(), m_tradeContext.GetPositionInfo().PriceOpen(), m_tradeContext.GetPositionInfo().TakeProfit()); } //+------------------------------------------------------------------+