forked from masterofpuppets/mql5
22 lines
1.1 KiB
MQL5
22 lines
1.1 KiB
MQL5
//+------------------------------------------------------------------+
|
|
//| ClosePositionModifier.mqh |
|
|
//| Copyright 2026, MasterOfPuppets |
|
|
//| https://forge.mql5.io/masterofpuppets/mql5 |
|
|
//+------------------------------------------------------------------+
|
|
#include <MasterOfPuppetsLib\Modifier.mqh>
|
|
#include <MasterOfPuppetsLib\TradeContext.mqh>
|
|
|
|
#property copyright "Copyright 2026, MasterOfPuppets"
|
|
#property link "https://forge.mql5.io/masterofpuppets/mql5"
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| ClosePositionModifier Modifier class |
|
|
//+------------------------------------------------------------------+
|
|
class ClosePositionModifier : public Modifier
|
|
{
|
|
public:
|
|
ClosePositionModifier(const TradeContext *srcTradeContext, const bool withExpert = false)
|
|
: Modifier(srcTradeContext, withExpert) {}
|
|
void Modify() override;
|
|
};
|
|
//+------------------------------------------------------------------+
|