comment out unneccessary AMarkets Filters for Lightweighting Workspace ...
This commit is contained in:
@@ -856,6 +856,9 @@ bool InitGUI()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
UpdateGUI();
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -2082,6 +2085,9 @@ bool InitVolumeGUI()
|
|||||||
eaResetStaticVolumeBtn.Text("Default");
|
eaResetStaticVolumeBtn.Text("Default");
|
||||||
eaVolumePanel.Add(eaResetStaticVolumeBtnName);
|
eaVolumePanel.Add(eaResetStaticVolumeBtnName);
|
||||||
|
|
||||||
|
//
|
||||||
|
UpdateVolumeGUI();
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
//
|
//
|
||||||
#include "./Brent/x-saherelm.x121.amarkets.brent.long.parser.mq5"
|
#include "./Brent/x-saherelm.x121.amarkets.brent.long.parser.mq5"
|
||||||
#include "./Brent/x-saherelm.x121.amarkets.brent.short.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.long.parser.mq5"
|
||||||
#include "./DowJones/x-saherelm.x121.amarkets.us30.short.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.long.parser.mq5"
|
||||||
#include "./EURGBP/x-saherelm.x121.amarkets.eurgbp.short.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.long.parser.mq5"
|
||||||
@@ -47,16 +47,16 @@
|
|||||||
#include "./USDCAD/x-saherelm.x121.amarkets.usdcad.short.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.long.parser.mq5"
|
||||||
#include "./EURCAD/x-saherelm.x121.amarkets.eurcad.short.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.long.parser.mq5"
|
||||||
#include "./EURUSD/x-saherelm.x121.amarkets.eurusd.short.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.long.parser.mq5"
|
||||||
#include "./USDJPY/x-saherelm.x121.amarkets.usdjpy.short.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.long.parser.mq5"
|
||||||
#include "./USDCHF/x-saherelm.x121.amarkets.usdchf.short.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.long.parser.mq5"
|
||||||
#include "./GBPUSD/x-saherelm.x121.amarkets.gbpusd.short.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.long.parser.mq5"
|
||||||
#include "./XAUUSD/x-saherelm.x121.amarkets.xauusd.short.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.long.parser.mq5"
|
||||||
#include "./XAGUSD/x-saherelm.x121.amarkets.xagusd.short.parser.mq5"
|
#include "./XAGUSD/x-saherelm.x121.amarkets.xagusd.short.parser.mq5"
|
||||||
|
|
||||||
@@ -73,13 +73,13 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
|
|
||||||
//
|
//
|
||||||
// EURUSD ...
|
// EURUSD ...
|
||||||
X121StartegyAMarketsEURUSDLongConditionsParser _eurusdLongParser;
|
// X121StartegyAMarketsEURUSDLongConditionsParser _eurusdLongParser;
|
||||||
X121StartegyAMarketsEURUSDShortConditionsParser _eurusdShortParser;
|
// X121StartegyAMarketsEURUSDShortConditionsParser _eurusdShortParser;
|
||||||
|
|
||||||
//
|
//
|
||||||
// GBPUSD ...
|
// GBPUSD ...
|
||||||
X121StartegyAMarketsGBPUSDLongConditionsParser _gbpusdLongParser;
|
// X121StartegyAMarketsGBPUSDLongConditionsParser _gbpusdLongParser;
|
||||||
X121StartegyAMarketsGBPUSDShortConditionsParser _gbpusdShortParser;
|
// X121StartegyAMarketsGBPUSDShortConditionsParser _gbpusdShortParser;
|
||||||
|
|
||||||
//
|
//
|
||||||
// EURGBP ...
|
// EURGBP ...
|
||||||
@@ -88,8 +88,8 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
|
|
||||||
//
|
//
|
||||||
// USDJPY ...
|
// USDJPY ...
|
||||||
X121StartegyAMarketsUSDJPYLongConditionsParser _usdjpyLongParser;
|
// X121StartegyAMarketsUSDJPYLongConditionsParser _usdjpyLongParser;
|
||||||
X121StartegyAMarketsUSDJPYShortConditionsParser _usdjpyShortParser;
|
// X121StartegyAMarketsUSDJPYShortConditionsParser _usdjpyShortParser;
|
||||||
|
|
||||||
//
|
//
|
||||||
// EURJPY ...
|
// EURJPY ...
|
||||||
@@ -98,8 +98,8 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
|
|
||||||
//
|
//
|
||||||
// USDCHF ...
|
// USDCHF ...
|
||||||
X121StartegyAMarketsUSDCHFLongConditionsParser _usdchfLongParser;
|
// X121StartegyAMarketsUSDCHFLongConditionsParser _usdchfLongParser;
|
||||||
X121StartegyAMarketsUSDCHFShortConditionsParser _usdchfShortParser;
|
// X121StartegyAMarketsUSDCHFShortConditionsParser _usdchfShortParser;
|
||||||
|
|
||||||
//
|
//
|
||||||
// EURCHF ...
|
// EURCHF ...
|
||||||
@@ -108,8 +108,8 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
|
|
||||||
//
|
//
|
||||||
// XAUUSD ...
|
// XAUUSD ...
|
||||||
X121StartegyAMarketsXAUUSDLongConditionsParser _xauusdLongParser;
|
// X121StartegyAMarketsXAUUSDLongConditionsParser _xauusdLongParser;
|
||||||
X121StartegyAMarketsXAUUSDShortConditionsParser _xauusdShortParser;
|
// X121StartegyAMarketsXAUUSDShortConditionsParser _xauusdShortParser;
|
||||||
|
|
||||||
//
|
//
|
||||||
// XAGUSD ...
|
// XAGUSD ...
|
||||||
@@ -148,8 +148,8 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
|
|
||||||
//
|
//
|
||||||
// DOWJONES ...
|
// DOWJONES ...
|
||||||
X121StartegyAMarketsUS30LongConditionsParser _dowjonesLongParser;
|
// X121StartegyAMarketsUS30LongConditionsParser _dowjonesLongParser;
|
||||||
X121StartegyAMarketsUS30ShortConditionsParser _dowjonesShortParser;
|
// X121StartegyAMarketsUS30ShortConditionsParser _dowjonesShortParser;
|
||||||
|
|
||||||
//
|
//
|
||||||
// BRENT ...
|
// BRENT ...
|
||||||
@@ -230,38 +230,43 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
bool isDowJones = _symbolParser.IsDowJones(signal.symbol);
|
bool isDowJones = _symbolParser.IsDowJones(signal.symbol);
|
||||||
|
|
||||||
//
|
//
|
||||||
bool isEURUSDFiltered = _eurusdLongParser.IsFiltered(
|
bool isEURUSDFiltered = false;
|
||||||
signal,
|
// _eurusdLongParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
bool isGBPUSDFiltered = _gbpusdLongParser.IsFiltered(
|
// );
|
||||||
signal,
|
bool isGBPUSDFiltered = false;
|
||||||
conditions //
|
// _gbpusdLongParser.IsFiltered(
|
||||||
);
|
// signal,
|
||||||
|
// conditions //
|
||||||
|
// );
|
||||||
bool isEURGBPFiltered = _eurgbpLongParser.IsFiltered(
|
bool isEURGBPFiltered = _eurgbpLongParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isUSDJPYFiltered = _usdjpyLongParser.IsFiltered(
|
bool isUSDJPYFiltered = false;
|
||||||
signal,
|
// _usdjpyLongParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
bool isEURJPYFiltered = _eurjpyLongParser.IsFiltered(
|
bool isEURJPYFiltered = _eurjpyLongParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isUSDCHFFiltered = _usdchfLongParser.IsFiltered(
|
bool isUSDCHFFiltered = false;
|
||||||
signal,
|
// _usdchfLongParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
bool isEURCHFFiltered = _eurchfLongParser.IsFiltered(
|
bool isEURCHFFiltered = _eurchfLongParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isXAUUSDFiltered = _xauusdLongParser.IsFiltered(
|
bool isXAUUSDFiltered = false;
|
||||||
signal,
|
// _xauusdLongParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
bool isXAGUSDFiltered = _xagusdLongParser.IsFiltered(
|
bool isXAGUSDFiltered = _xagusdLongParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
@@ -290,10 +295,11 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isDowJonesFiltered = _dowjonesLongParser.IsFiltered(
|
bool isDowJonesFiltered = false;
|
||||||
signal,
|
// _dowjonesLongParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
bool isBrentFiltered = _brentLongParser.IsFiltered(
|
bool isBrentFiltered = _brentLongParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
@@ -481,38 +487,43 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
bool isDowJones = _symbolParser.IsDowJones(signal.symbol);
|
bool isDowJones = _symbolParser.IsDowJones(signal.symbol);
|
||||||
|
|
||||||
//
|
//
|
||||||
bool isEURUSDFiltered = _eurusdShortParser.IsFiltered(
|
bool isEURUSDFiltered = false;
|
||||||
signal,
|
// _eurusdShortParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
bool isGBPUSDFiltered = _gbpusdShortParser.IsFiltered(
|
// );
|
||||||
signal,
|
bool isGBPUSDFiltered = false;
|
||||||
conditions //
|
// _gbpusdShortParser.IsFiltered(
|
||||||
);
|
// signal,
|
||||||
|
// conditions //
|
||||||
|
// );
|
||||||
bool isEURGBPFiltered = _eurgbpShortParser.IsFiltered(
|
bool isEURGBPFiltered = _eurgbpShortParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isUSDJPYFiltered = _usdjpyShortParser.IsFiltered(
|
bool isUSDJPYFiltered = false;
|
||||||
signal,
|
// _usdjpyShortParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
bool isEURJPYFiltered = _eurjpyShortParser.IsFiltered(
|
bool isEURJPYFiltered = _eurjpyShortParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isUSDCHFFiltered = _usdchfShortParser.IsFiltered(
|
bool isUSDCHFFiltered = false;
|
||||||
signal,
|
// _usdchfShortParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
bool isEURCHFFiltered = _eurchfShortParser.IsFiltered(
|
bool isEURCHFFiltered = _eurchfShortParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isXAUUSDFiltered = _xauusdShortParser.IsFiltered(
|
bool isXAUUSDFiltered = false;
|
||||||
signal,
|
// _xauusdShortParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
bool isXAGUSDFiltered = _xagusdShortParser.IsFiltered(
|
bool isXAGUSDFiltered = _xagusdShortParser.IsFiltered(
|
||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
@@ -545,10 +556,11 @@ struct X121StartegyAMarketsConditionsParser
|
|||||||
signal,
|
signal,
|
||||||
conditions //
|
conditions //
|
||||||
);
|
);
|
||||||
bool isDowJonesFiltered = _dowjonesShortParser.IsFiltered(
|
bool isDowJonesFiltered = false;
|
||||||
signal,
|
// _dowjonesShortParser.IsFiltered(
|
||||||
conditions //
|
// signal,
|
||||||
);
|
// conditions //
|
||||||
|
// );
|
||||||
|
|
||||||
//
|
//
|
||||||
if (!force)
|
if (!force)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
// #include "./Ingot/x-saherelm.x121.ingot.parser.mq5"
|
// #include "./Ingot/x-saherelm.x121.ingot.parser.mq5"
|
||||||
// #include "./Alpari/x-saherelm.x121.alpari.parser.mq5"
|
// #include "./Alpari/x-saherelm.x121.alpari.parser.mq5"
|
||||||
// #include "./Errante/x-saherelm.x121.errante.parser.mq5"
|
// #include "./Errante/x-saherelm.x121.errante.parser.mq5"
|
||||||
// #include "./AMarkets/x-saherelm.x121.amarkets.parser.mq5"
|
#include "./AMarkets/x-saherelm.x121.amarkets.parser.mq5"
|
||||||
// #include "./IFCMarkets/x-saherelm.x121.ifcmarkets.parser.mq5"
|
// #include "./IFCMarkets/x-saherelm.x121.ifcmarkets.parser.mq5"
|
||||||
// #include "./OtetMarkets/x-saherelm.x121.otetmarkets.parser.mq5"
|
// #include "./OtetMarkets/x-saherelm.x121.otetmarkets.parser.mq5"
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@ struct X121StartegyConditionsParser
|
|||||||
// XCHICHWAPStartegyIngotConditionsParser _ingotParser;
|
// XCHICHWAPStartegyIngotConditionsParser _ingotParser;
|
||||||
// XCHICHWAPStartegyAlpariConditionsParser _alpariParser;
|
// XCHICHWAPStartegyAlpariConditionsParser _alpariParser;
|
||||||
// XCHICHWAPStartegyErranteConditionsParser _erranteParser;
|
// XCHICHWAPStartegyErranteConditionsParser _erranteParser;
|
||||||
// X121StartegyAMarketsConditionsParser _amarketsParser;
|
X121StartegyAMarketsConditionsParser _amarketsParser;
|
||||||
// XCHICHWAPStartegyIFCMarketsConditionsParser _ifcmarketsParser;
|
// XCHICHWAPStartegyIFCMarketsConditionsParser _ifcmarketsParser;
|
||||||
// XCHICHWAPStartegyOtetMarketsConditionsParser _otetmarketsParser;
|
// XCHICHWAPStartegyOtetMarketsConditionsParser _otetmarketsParser;
|
||||||
|
|
||||||
@@ -622,12 +622,11 @@ struct X121StartegyConditionsParser
|
|||||||
|
|
||||||
//
|
//
|
||||||
// AMarkets ...
|
// AMarkets ...
|
||||||
bool isAMarketsFiltered = false;
|
bool isAMarketsFiltered = _amarketsParser.IsFiltered(
|
||||||
// _amarketsParser.IsFiltered(
|
signal,
|
||||||
// signal,
|
conditions,
|
||||||
// conditions,
|
force //
|
||||||
// force //
|
);
|
||||||
// );
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// IFCMarkets ...
|
// IFCMarkets ...
|
||||||
|
|||||||
Reference in New Issue
Block a user