26 lines
1.1 KiB
MQL5
26 lines
1.1 KiB
MQL5
//+------------------------------------------------------------------+
|
|
//| Modifier.mq5 |
|
|
//| Copyright 2026, MasterOfPuppets |
|
|
//| https://forge.mql5.io/masterofpuppets/mql5 |
|
|
//+------------------------------------------------------------------+
|
|
#ifndef MASTER_OF_PUPPETS_LIB_MODIFIER_MQ5
|
|
#define MASTER_OF_PUPPETS_LIB_MODIFIER_MQ5
|
|
|
|
#include <MasterOfPuppetsLib\Modifiers\Modifier.mqh>
|
|
|
|
#property copyright "Copyright 2026, MasterOfPuppets"
|
|
#property link "https://forge.mql5.io/masterofpuppets/mql5"
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| Modifier initialization function |
|
|
//+------------------------------------------------------------------+
|
|
void Modifier::Init(const TradeContext *srcTradeContext, const TraderContext *srcTraderContext,
|
|
const bool withExpert = false)
|
|
{
|
|
m_tradeContext = srcTradeContext;
|
|
m_traderContext = srcTraderContext;
|
|
m_withExpert = withExpert;
|
|
}
|
|
|
|
#endif
|
|
//+------------------------------------------------------------------+
|