Say we have a few custom indicators in the bot/EA:
#resource “\Indicators\indi1.ex4”
#resource “\Indicators\indi2.ex4”
#resource “\Indicators\indi3.ex4” (has a resource to indi4.ex4) i.e. 2 level nested
#resource “\Indicators\indi4.ex4”
All these custom indicators work by themselves in the terminal but crash (cannot load) when they are combined as resources to be used inside the bot/EA, specifically indi3.ex4 / indi4.ex4.
iCustom(Symbol(),Period,"::Indicators\indi4.ex4",param1,0,0);
iCustom(Symbol(),Period,“indi3.ex4::Indicators\indi4.ex4”,param1,0,0,0,0);
iCustom(Symbol(),Period,"\Indicators\indi3.ex4::Indicators\indi4.ex4",param1,0,0,0,0);
iCustom(Symbol(),Period,"\Experts\autobot.ex4::Indicators\indi4.ex4",param1,0,0,0,0);
I want to use all these indicators independent of each other in bot, but there is conflict between indi3 & indi4, is my guess.
What would be the correct calling code for iCustom()?