mirror of
https://github.com/alexcercos/AlgoMasterNNFX-V1.git
synced 2025-07-31 15:57:49 +00:00
26 lines
801 B
MQL5
26 lines
801 B
MQL5
|
|
||
|
#include "../Base.mqh"
|
||
|
|
||
|
//+------------------------------------------------------------------+
|
||
|
//| All Symbols with Sufix Processor |
|
||
|
//+------------------------------------------------------------------+
|
||
|
class CSymbolProcessorAllSufix : public CSymbolProcessorBase
|
||
|
{
|
||
|
protected:
|
||
|
virtual void PreProcessString(string &symbol_string, string &custom_string);
|
||
|
virtual void PostProcessArray(string &array[], string &custom_string);
|
||
|
};
|
||
|
|
||
|
void CSymbolProcessorAllSufix::PreProcessString(string &symbol_string, string &custom_string)
|
||
|
{
|
||
|
SetStringToAllSymbols(symbol_string);
|
||
|
}
|
||
|
|
||
|
void CSymbolProcessorAllSufix::PostProcessArray(string &array[], string &custom_string)
|
||
|
{
|
||
|
TrimString(custom_string);
|
||
|
|
||
|
for (int i=0; i<ArraySize(array); i++)
|
||
|
array[i] += custom_string;
|
||
|
}
|