721 lines
21 KiB
Plaintext
721 lines
21 KiB
Plaintext
///////////////////////////////////////////////////////
|
|
//
|
|
// SaherElm IT Center MQL5 Strategy Parser Library
|
|
// ------------------------------------------------
|
|
// Name: XCHStartegyConditionsParser
|
|
// Description: provide all conditions parsing
|
|
// for XCH Strategy ...
|
|
//
|
|
//
|
|
// Maintainer:
|
|
// ------------
|
|
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
|
|
//
|
|
//////////////////////////////////////////////////////
|
|
//
|
|
// Global Properties ...
|
|
#property library
|
|
#property copyright "Copyright 2023, SaherElm IT Center"
|
|
#property link "https://www.saherelm.ir"
|
|
#property version "1.00"
|
|
#property strict
|
|
|
|
//
|
|
// Imports ...
|
|
#include "../../Strategies/x-saherelm.x121.strategy.mq5"
|
|
|
|
//
|
|
#include "./Brent/x-saherelm.x121.amarkets.brent.long.parser.mq5"
|
|
#include "./Brent/x-saherelm.x121.amarkets.brent.short.parser.mq5"
|
|
// #include "./DowJones/x-saherelm.x121.amarkets.us30.long.parser.mq5"
|
|
// #include "./DowJones/x-saherelm.x121.amarkets.us30.short.parser.mq5"
|
|
#include "./EURGBP/x-saherelm.x121.amarkets.eurgbp.long.parser.mq5"
|
|
#include "./EURGBP/x-saherelm.x121.amarkets.eurgbp.short.parser.mq5"
|
|
#include "./EURJPY/x-saherelm.x121.amarkets.eurjpy.long.parser.mq5"
|
|
#include "./EURJPY/x-saherelm.x121.amarkets.eurjpy.short.parser.mq5"
|
|
#include "./EURCHF/x-saherelm.x121.amarkets.eurchf.long.parser.mq5"
|
|
#include "./EURCHF/x-saherelm.x121.amarkets.eurchf.short.parser.mq5"
|
|
// #include "./AUDUSD/x-saherelm.x121.amarkets.audusd.long.parser.mq5"
|
|
// #include "./AUDUSD/x-saherelm.x121.amarkets.audusd.short.parser.mq5"
|
|
#include "./EURAUD/x-saherelm.x121.amarkets.euraud.long.parser.mq5"
|
|
#include "./EURAUD/x-saherelm.x121.amarkets.euraud.short.parser.mq5"
|
|
#include "./NZDUSD/x-saherelm.x121.amarkets.nzdusd.long.parser.mq5"
|
|
#include "./NZDUSD/x-saherelm.x121.amarkets.nzdusd.short.parser.mq5"
|
|
#include "./EURNZD/x-saherelm.x121.amarkets.eurnzd.long.parser.mq5"
|
|
#include "./EURNZD/x-saherelm.x121.amarkets.eurnzd.short.parser.mq5"
|
|
// #include "./USDCAD/x-saherelm.x121.amarkets.usdcad.long.parser.mq5"
|
|
// #include "./USDCAD/x-saherelm.x121.amarkets.usdcad.short.parser.mq5"
|
|
#include "./EURCAD/x-saherelm.x121.amarkets.eurcad.long.parser.mq5"
|
|
#include "./EURCAD/x-saherelm.x121.amarkets.eurcad.short.parser.mq5"
|
|
// #include "./EURUSD/x-saherelm.x121.amarkets.eurusd.long.parser.mq5"
|
|
// #include "./EURUSD/x-saherelm.x121.amarkets.eurusd.short.parser.mq5"
|
|
// #include "./USDJPY/x-saherelm.x121.amarkets.usdjpy.long.parser.mq5"
|
|
// #include "./USDJPY/x-saherelm.x121.amarkets.usdjpy.short.parser.mq5"
|
|
// #include "./USDCHF/x-saherelm.x121.amarkets.usdchf.long.parser.mq5"
|
|
// #include "./USDCHF/x-saherelm.x121.amarkets.usdchf.short.parser.mq5"
|
|
// #include "./GBPUSD/x-saherelm.x121.amarkets.gbpusd.long.parser.mq5"
|
|
// #include "./GBPUSD/x-saherelm.x121.amarkets.gbpusd.short.parser.mq5"
|
|
// #include "./XAUUSD/x-saherelm.x121.amarkets.xauusd.long.parser.mq5"
|
|
// #include "./XAUUSD/x-saherelm.x121.amarkets.xauusd.short.parser.mq5"
|
|
#include "./XAGUSD/x-saherelm.x121.amarkets.xagusd.long.parser.mq5"
|
|
#include "./XAGUSD/x-saherelm.x121.amarkets.xagusd.short.parser.mq5"
|
|
|
|
//
|
|
// Conditions Parser ...
|
|
struct X121StartegyAMarketsConditionsParser
|
|
{
|
|
//
|
|
string _version;
|
|
|
|
//
|
|
// Parsers ...
|
|
XSymbolParser _symbolParser;
|
|
|
|
//
|
|
// EURUSD ...
|
|
// X121StartegyAMarketsEURUSDLongConditionsParser _eurusdLongParser;
|
|
// X121StartegyAMarketsEURUSDShortConditionsParser _eurusdShortParser;
|
|
|
|
//
|
|
// GBPUSD ...
|
|
// X121StartegyAMarketsGBPUSDLongConditionsParser _gbpusdLongParser;
|
|
// X121StartegyAMarketsGBPUSDShortConditionsParser _gbpusdShortParser;
|
|
|
|
//
|
|
// EURGBP ...
|
|
X121StartegyAMarketsEURGBPLongConditionsParser _eurgbpLongParser;
|
|
X121StartegyAMarketsEURGBPShortConditionsParser _eurgbpShortParser;
|
|
|
|
//
|
|
// USDJPY ...
|
|
// X121StartegyAMarketsUSDJPYLongConditionsParser _usdjpyLongParser;
|
|
// X121StartegyAMarketsUSDJPYShortConditionsParser _usdjpyShortParser;
|
|
|
|
//
|
|
// EURJPY ...
|
|
X121StartegyAMarketsEURJPYLongConditionsParser _eurjpyLongParser;
|
|
X121StartegyAMarketsEURJPYShortConditionsParser _eurjpyShortParser;
|
|
|
|
//
|
|
// USDCHF ...
|
|
// X121StartegyAMarketsUSDCHFLongConditionsParser _usdchfLongParser;
|
|
// X121StartegyAMarketsUSDCHFShortConditionsParser _usdchfShortParser;
|
|
|
|
//
|
|
// EURCHF ...
|
|
X121StartegyAMarketsEURCHFLongConditionsParser _eurchfLongParser;
|
|
X121StartegyAMarketsEURCHFShortConditionsParser _eurchfShortParser;
|
|
|
|
//
|
|
// XAUUSD ...
|
|
// X121StartegyAMarketsXAUUSDLongConditionsParser _xauusdLongParser;
|
|
// X121StartegyAMarketsXAUUSDShortConditionsParser _xauusdShortParser;
|
|
|
|
//
|
|
// XAGUSD ...
|
|
X121StartegyAMarketsXAGUSDLongConditionsParser _xagusdLongParser;
|
|
X121StartegyAMarketsXAGUSDShortConditionsParser _xagusdShortParser;
|
|
|
|
//
|
|
// AUDUSD ...
|
|
// X121StartegyAMarketsAUDUSDLongConditionsParser _audusdLongParser;
|
|
// X121StartegyAMarketsAUDUSDShortConditionsParser _audusdShortParser;
|
|
|
|
//
|
|
// EURAUD ...
|
|
X121StartegyAMarketsEURAUDLongConditionsParser _euraudLongParser;
|
|
X121StartegyAMarketsEURAUDShortConditionsParser _euraudShortParser;
|
|
|
|
//
|
|
// NZDUSD ...
|
|
X121StartegyAMarketsNZDUSDLongConditionsParser _nzdusdLongParser;
|
|
X121StartegyAMarketsNZDUSDShortConditionsParser _nzdusdShortParser;
|
|
|
|
//
|
|
// EURNZD ...
|
|
X121StartegyAMarketsEURNZDLongConditionsParser _eurnzdLongParser;
|
|
X121StartegyAMarketsEURNZDShortConditionsParser _eurnzdShortParser;
|
|
|
|
//
|
|
// USDCAD ...
|
|
// X121StartegyAMarketsUSDCADLongConditionsParser _usdcadLongParser;
|
|
// X121StartegyAMarketsUSDCADShortConditionsParser _usdcadShortParser;
|
|
|
|
//
|
|
// EURCAD ...
|
|
X121StartegyAMarketsEURCADLongConditionsParser _eurcadLongParser;
|
|
X121StartegyAMarketsEURCADShortConditionsParser _eurcadShortParser;
|
|
|
|
//
|
|
// DOWJONES ...
|
|
// X121StartegyAMarketsUS30LongConditionsParser _dowjonesLongParser;
|
|
// X121StartegyAMarketsUS30ShortConditionsParser _dowjonesShortParser;
|
|
|
|
//
|
|
// BRENT ...
|
|
X121StartegyAMarketsBRENTLongConditionsParser _brentLongParser;
|
|
X121StartegyAMarketsBRENTShortConditionsParser _brentShortParser;
|
|
|
|
//
|
|
bool IsFiltered(
|
|
XSignal &signal, // Provided Signal
|
|
X121StrategyConditions &conditions, // Market Conditions
|
|
bool force = false //
|
|
)
|
|
{
|
|
//
|
|
bool result = false;
|
|
|
|
//
|
|
// Validate Args ...
|
|
if (!signal.IsValid() || !conditions.IsValid())
|
|
{
|
|
//
|
|
result = true;
|
|
return result;
|
|
}
|
|
|
|
//
|
|
bool isLong = IsLong(signal.type);
|
|
|
|
//
|
|
result =
|
|
//
|
|
isLong
|
|
? IsLongFiltered(
|
|
signal,
|
|
conditions,
|
|
force //
|
|
)
|
|
: IsShortFiltered(
|
|
signal,
|
|
conditions,
|
|
force //
|
|
)
|
|
//
|
|
;
|
|
|
|
//
|
|
return result;
|
|
}
|
|
|
|
//
|
|
// Filter Long Signals ...
|
|
bool IsLongFiltered(
|
|
XSignal &signal,
|
|
X121StrategyConditions &conditions,
|
|
bool force = false //
|
|
)
|
|
{
|
|
//
|
|
bool result = false;
|
|
|
|
//
|
|
bool isEURUSD = _symbolParser.IsEURUSD(signal.symbol);
|
|
bool isGBPUSD = _symbolParser.IsGBPUSD(signal.symbol);
|
|
bool isEURGBP = _symbolParser.IsEURGBP(signal.symbol);
|
|
bool isXAUUSD = _symbolParser.IsXAUUSD(signal.symbol);
|
|
bool isXAGUSD = _symbolParser.IsXAGUSD(signal.symbol);
|
|
bool isUSDJPY = _symbolParser.IsUSDJPY(signal.symbol);
|
|
bool isEURJPY = _symbolParser.IsEURJPY(signal.symbol);
|
|
bool isUSDCHF = _symbolParser.IsUSDCHF(signal.symbol);
|
|
bool isEURCHF = _symbolParser.IsEURCHF(signal.symbol);
|
|
bool isAUDUSD = _symbolParser.IsAUDUSD(signal.symbol);
|
|
bool isEURAUD = _symbolParser.IsEURAUD(signal.symbol);
|
|
bool isNZDUSD = _symbolParser.IsNZDUSD(signal.symbol);
|
|
bool isEURNZD = _symbolParser.IsEURNZD(signal.symbol);
|
|
bool isUSDCAD = _symbolParser.IsUSDCAD(signal.symbol);
|
|
bool isEURCAD = _symbolParser.IsEURCAD(signal.symbol);
|
|
bool isBrent = _symbolParser.IsBrent(signal.symbol);
|
|
bool isDowJones = _symbolParser.IsDowJones(signal.symbol);
|
|
|
|
//
|
|
bool isEURUSDFiltered = false;
|
|
// _eurusdLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isGBPUSDFiltered = false;
|
|
// _gbpusdLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURGBPFiltered = _eurgbpLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isUSDJPYFiltered = false;
|
|
// _usdjpyLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURJPYFiltered = _eurjpyLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isUSDCHFFiltered = false;
|
|
// _usdchfLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURCHFFiltered = _eurchfLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isXAUUSDFiltered = false;
|
|
// _xauusdLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isXAGUSDFiltered = _xagusdLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isAUDUSDFiltered = false;
|
|
// _audusdLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURAUDFiltered = _euraudLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isNZDUSDFiltered = _nzdusdLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isEURNZDFiltered = _eurnzdLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isUSDCADFiltered = false;
|
|
// _usdcadLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURCADFiltered = _eurcadLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isDowJonesFiltered = false;
|
|
// _dowjonesLongParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isBrentFiltered = _brentLongParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
|
|
//
|
|
if (!force)
|
|
{
|
|
//
|
|
if (isEURUSD)
|
|
{
|
|
result = isEURUSDFiltered;
|
|
}
|
|
else if (isGBPUSD)
|
|
{
|
|
result = isGBPUSDFiltered;
|
|
}
|
|
else if (isEURGBP)
|
|
{
|
|
result = isEURGBPFiltered;
|
|
}
|
|
else if (isUSDJPY)
|
|
{
|
|
result = isUSDJPYFiltered;
|
|
}
|
|
else if (isEURJPY)
|
|
{
|
|
result = isEURJPYFiltered;
|
|
}
|
|
else if (isUSDCHF)
|
|
{
|
|
result = isUSDCHFFiltered;
|
|
}
|
|
else if (isEURCHF)
|
|
{
|
|
result = isEURCHFFiltered;
|
|
}
|
|
else if (isXAUUSD)
|
|
{
|
|
result = isXAUUSDFiltered;
|
|
}
|
|
else if (isXAGUSD)
|
|
{
|
|
result = isXAGUSDFiltered;
|
|
}
|
|
else if (isAUDUSD)
|
|
{
|
|
result = isAUDUSDFiltered;
|
|
}
|
|
else if (isEURAUD)
|
|
{
|
|
result = isEURAUDFiltered;
|
|
}
|
|
else if (isNZDUSD)
|
|
{
|
|
result = isNZDUSDFiltered;
|
|
}
|
|
else if (isEURNZD)
|
|
{
|
|
result = isEURNZDFiltered;
|
|
}
|
|
else if (isUSDCAD)
|
|
{
|
|
result = isUSDCADFiltered;
|
|
}
|
|
else if (isEURCAD)
|
|
{
|
|
result = isEURCADFiltered;
|
|
}
|
|
else if (isBrent)
|
|
{
|
|
result = isBrentFiltered;
|
|
}
|
|
else if (isDowJones)
|
|
{
|
|
result = isDowJonesFiltered;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
//
|
|
result =
|
|
//
|
|
isEURUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isGBPUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURGBPFiltered
|
|
//
|
|
||
|
|
//
|
|
isUSDJPYFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURJPYFiltered
|
|
//
|
|
||
|
|
//
|
|
isUSDCHFFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURCHFFiltered
|
|
//
|
|
||
|
|
//
|
|
isXAUUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isXAGUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isAUDUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURAUDFiltered
|
|
//
|
|
||
|
|
//
|
|
isNZDUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURNZDFiltered
|
|
//
|
|
||
|
|
//
|
|
isUSDCADFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURCADFiltered
|
|
//
|
|
||
|
|
//
|
|
isBrentFiltered
|
|
//
|
|
||
|
|
//
|
|
isDowJonesFiltered
|
|
//
|
|
;
|
|
}
|
|
|
|
//
|
|
return result;
|
|
}
|
|
|
|
//
|
|
// Filter Short Signals ...
|
|
bool IsShortFiltered(
|
|
XSignal &signal,
|
|
X121StrategyConditions &conditions,
|
|
bool force = false //
|
|
)
|
|
{
|
|
//
|
|
bool result = false;
|
|
|
|
//
|
|
bool isEURUSD = _symbolParser.IsEURUSD(signal.symbol);
|
|
bool isGBPUSD = _symbolParser.IsGBPUSD(signal.symbol);
|
|
bool isEURGBP = _symbolParser.IsEURGBP(signal.symbol);
|
|
bool isXAUUSD = _symbolParser.IsXAUUSD(signal.symbol);
|
|
bool isXAGUSD = _symbolParser.IsXAGUSD(signal.symbol);
|
|
bool isUSDJPY = _symbolParser.IsUSDJPY(signal.symbol);
|
|
bool isEURJPY = _symbolParser.IsEURJPY(signal.symbol);
|
|
bool isUSDCHF = _symbolParser.IsUSDCHF(signal.symbol);
|
|
bool isEURCHF = _symbolParser.IsEURCHF(signal.symbol);
|
|
bool isAUDUSD = _symbolParser.IsAUDUSD(signal.symbol);
|
|
bool isEURAUD = _symbolParser.IsEURAUD(signal.symbol);
|
|
bool isNZDUSD = _symbolParser.IsNZDUSD(signal.symbol);
|
|
bool isEURNZD = _symbolParser.IsEURNZD(signal.symbol);
|
|
bool isUSDCAD = _symbolParser.IsUSDCAD(signal.symbol);
|
|
bool isEURCAD = _symbolParser.IsEURCAD(signal.symbol);
|
|
bool isBrent = _symbolParser.IsBrent(signal.symbol);
|
|
bool isDowJones = _symbolParser.IsDowJones(signal.symbol);
|
|
|
|
//
|
|
bool isEURUSDFiltered = false;
|
|
// _eurusdShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isGBPUSDFiltered = false;
|
|
// _gbpusdShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURGBPFiltered = _eurgbpShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isUSDJPYFiltered = false;
|
|
// _usdjpyShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURJPYFiltered = _eurjpyShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isUSDCHFFiltered = false;
|
|
// _usdchfShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURCHFFiltered = _eurchfShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isXAUUSDFiltered = false;
|
|
// _xauusdShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isXAGUSDFiltered = _xagusdShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isAUDUSDFiltered = false;
|
|
// _audusdShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURAUDFiltered = _euraudShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isNZDUSDFiltered = _nzdusdShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isEURNZDFiltered = _eurnzdShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isUSDCADFiltered = false;
|
|
// _usdcadShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
bool isEURCADFiltered = _eurcadShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isBrentFiltered = _brentShortParser.IsFiltered(
|
|
signal,
|
|
conditions //
|
|
);
|
|
bool isDowJonesFiltered = false;
|
|
// _dowjonesShortParser.IsFiltered(
|
|
// signal,
|
|
// conditions //
|
|
// );
|
|
|
|
//
|
|
if (!force)
|
|
{
|
|
//
|
|
if (isEURUSD)
|
|
{
|
|
result = isEURUSDFiltered;
|
|
}
|
|
else if (isGBPUSD)
|
|
{
|
|
result = isGBPUSDFiltered;
|
|
}
|
|
else if (isEURGBP)
|
|
{
|
|
result = isEURGBPFiltered;
|
|
}
|
|
else if (isUSDJPY)
|
|
{
|
|
result = isUSDJPYFiltered;
|
|
}
|
|
else if (isEURJPY)
|
|
{
|
|
result = isEURJPYFiltered;
|
|
}
|
|
else if (isUSDCHF)
|
|
{
|
|
result = isUSDCHFFiltered;
|
|
}
|
|
else if (isEURCHF)
|
|
{
|
|
result = isEURCHFFiltered;
|
|
}
|
|
else if (isXAUUSD)
|
|
{
|
|
result = isXAUUSDFiltered;
|
|
}
|
|
else if (isXAGUSD)
|
|
{
|
|
result = isXAGUSDFiltered;
|
|
}
|
|
else if (isAUDUSD)
|
|
{
|
|
result = isAUDUSDFiltered;
|
|
}
|
|
else if (isEURAUD)
|
|
{
|
|
result = isEURAUDFiltered;
|
|
}
|
|
else if (isNZDUSD)
|
|
{
|
|
result = isNZDUSDFiltered;
|
|
}
|
|
else if (isEURNZD)
|
|
{
|
|
result = isEURNZDFiltered;
|
|
}
|
|
else if (isUSDCAD)
|
|
{
|
|
result = isUSDCADFiltered;
|
|
}
|
|
else if (isEURCAD)
|
|
{
|
|
result = isEURCADFiltered;
|
|
}
|
|
else if (isBrent)
|
|
{
|
|
result = isBrentFiltered;
|
|
}
|
|
else if (isDowJones)
|
|
{
|
|
result = isDowJonesFiltered;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
//
|
|
result =
|
|
//
|
|
isEURUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isGBPUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURGBPFiltered
|
|
//
|
|
||
|
|
//
|
|
isUSDJPYFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURJPYFiltered
|
|
//
|
|
||
|
|
//
|
|
isUSDCHFFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURCHFFiltered
|
|
//
|
|
||
|
|
//
|
|
isXAUUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isXAGUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isAUDUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURAUDFiltered
|
|
//
|
|
||
|
|
//
|
|
isNZDUSDFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURNZDFiltered
|
|
//
|
|
||
|
|
//
|
|
isUSDCADFiltered
|
|
//
|
|
||
|
|
//
|
|
isEURCADFiltered
|
|
//
|
|
||
|
|
//
|
|
isBrentFiltered
|
|
//
|
|
||
|
|
//
|
|
isDowJonesFiltered
|
|
//
|
|
;
|
|
}
|
|
|
|
//
|
|
return result;
|
|
}
|
|
};
|
|
|
|
// |