//+------------------------------------------------------------------+ //| 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 \Indicators\ at call time #define WARRIOR_CI(name) (name) #endif #endif // WARRIOR_INDICATOR_RESOURCES_MQH