forked from animatedread/Warrior_EA
The //| box blocks were excluded from0b06f8eand5efdb48and were what remained: 160 of them ran to 10+ lines, the longest to 88. Compressed to their leading topic sentences - 5 lines for a function header, 8 for a file header - keeping the box format and the standard MQL5 name/author lines verbatim. Verified at the BYTE level this time, across every in-scope file: the list of non-comment lines is byte-identical to HEAD and braces balance. The first check compared a locale-decoded 'git show' against a UTF-8 read and flagged 25 files that had not changed at all - every BOM and every non-ASCII line mismatched. 47,696 -> 40,665 lines in scope; comment share 38% -> 26%. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
24 lines
1.3 KiB
MQL5
24 lines
1.3 KiB
MQL5
//+------------------------------------------------------------------+
|
|
//| IndicatorResources.mqh |
|
|
//| AnimateDread |
|
|
//| in this EA (the 5 AD price-action indicators). The MA runs on |
|
|
//| the built-in iMA and the ZigZag on the stock one MetaTrader |
|
|
//| ships, so neither needs this. Toggled by WARRIOR_MARKET_BUILD. |
|
|
//+------------------------------------------------------------------+
|
|
#ifndef WARRIOR_INDICATOR_RESOURCES_MQH
|
|
#define WARRIOR_INDICATOR_RESOURCES_MQH
|
|
//--- The ZigZag that ships with every MetaTrader install, addressed by its path under MQL5\Indicators\.
|
|
//--- NOT routed through WARRIOR_CI: there is nothing to embed, and loading MetaQuotes' copy means any
|
|
//--- fix they make arrives without a rebuild here. Our ADZigZag was a byte-identical rename of it.
|
|
#define WARRIOR_STOCK_ZIGZAG "Examples\\ZigZag"
|
|
|
|
#ifdef WARRIOR_MARKET_BUILD
|
|
//--- resolves to the resource embedded from MQL5\Indicators\ (see the #resource block in Warrior_EA.mq5);
|
|
//--- the "::" path mirrors the #resource path minus its leading backslash
|
|
#define WARRIOR_CI(name) ("::Indicators\\" + (name) + ".ex5")
|
|
#else
|
|
//--- external, loaded by bare name from <MQL5>\Indicators\ at call time
|
|
#define WARRIOR_CI(name) (name)
|
|
#endif
|
|
|
|
#endif // WARRIOR_INDICATOR_RESOURCES_MQH
|