mql5/Include/MasterOfPuppetsLib/Modifiers/Modifier.mq5

26 lines
1.1 KiB
MQL5
Raw Permalink Normal View History

2026-03-06 07:00:43 +03:00
//+------------------------------------------------------------------+
//| 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 |
//+------------------------------------------------------------------+
2026-03-06 12:04:18 +03:00
void Modifier::Init(const TradeContext *srcTradeContext, const TraderContext *srcTraderContext,
const bool withExpert = false)
2026-03-06 07:00:43 +03:00
{
2026-03-06 07:29:22 +03:00
m_tradeContext = srcTradeContext;
m_traderContext = srcTraderContext;
2026-03-06 07:00:43 +03:00
m_withExpert = withExpert;
}
#endif
//+------------------------------------------------------------------+