I put "Stop" my code:
while(Name = (loop(Assets)))
{
while(algo(loop("RSI")))
{
if(Algo == "RSI") {
if(assetType(Name) != FOREX)
continue; // Currency pairs only
asset(Name
Stop=optimize(30,10,50,10)*PIP;
int a=strcmp(Name,par2);
int b=strcmp(Name,par3);
if (a==0){short(par2); }
if (b==0){large(par3);}
}
}
}
And Zorro shows: 040:incosistence NZD/JPy:RSI optimize calls!
I think that NZD/JPY is the first pair that code builds.
ANy idea ? Thanks