2026-02-27 00:10:46 +03:00
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
//| ClosePositionModifier.mqh |
|
|
|
|
|
//| Copyright 2026, MasterOfPuppets |
|
|
|
|
|
//| https://forge.mql5.io/masterofpuppets/mql5 |
|
|
|
|
|
//+------------------------------------------------------------------+
|
2026-03-03 01:42:02 +03:00
|
|
|
#include <MasterOfPuppetsLib\Modifier.mqh>
|
|
|
|
|
#include <MasterOfPuppetsLib\TradeContext.mqh>
|
2026-02-28 01:29:57 +03:00
|
|
|
|
2026-02-27 00:10:46 +03:00
|
|
|
#property copyright "Copyright 2026, MasterOfPuppets"
|
|
|
|
|
#property link "https://forge.mql5.io/masterofpuppets/mql5"
|
|
|
|
|
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
//| ClosePositionModifier Modifier class |
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
class ClosePositionModifier : public Modifier
|
|
|
|
|
{
|
|
|
|
|
public:
|
2026-02-28 02:24:46 +03:00
|
|
|
ClosePositionModifier(const TradeContext *srcTradeContext, const bool withExpert = false)
|
|
|
|
|
: Modifier(srcTradeContext, withExpert) {}
|
|
|
|
|
void Modify() override;
|
2026-02-27 00:10:46 +03:00
|
|
|
};
|
|
|
|
|
//+------------------------------------------------------------------+
|