for(shift=Bars-1; shift>=0; shift--) // <----- this loop does nothing at all ! !double ZigZagHigh=iCustom(NULL,0,"ZigZag",MODE_HIGH,0);
double ZigZagLow=iCustom(NULL,0,"ZigZag",MODE_LOW,0);
double LowestBar=Low[Lowest(NULL,0,MODE_LOW,ExtDepth,sh
. . .
bool a=false, b=false; // Note: b is a bool . . .int shift, BlueArrowIndex, RedArrowIndex, Index = 0;
double zag, zig; b=0;
while(a<2)
{
if(zig>0) zag=zig;
zig=iCustom(NULL, 0, "ZigZag", 0, b);
if(zig>0) a+=1;
b++; // how can you increment a bool ??
. . .
if(AccountFreeMargin()<(SafetyPercent/100)*AccountBalance())
{
Print("We have no money. Free Margin = ", AccountFreeMargin());
return(0);
}
}
} // <----- this is the closing brace of start()if (!ExistPositions()){ // <----- so this give this error 'ExistPositions' - expression on global scope not allowedif(diClose0<diMA1 && (ZigZagLow) )
{
OpenBuy();
return(0);
我可以发帖。
但请帮助我完成我的项目。
好吗?
我的项目 只是一个MA程序,并试图在其中加入人字形。
我可以发帖。
但请帮助我完成我的项目。
好吗?
我可以发帖。
但请帮助我完成我的项目。
好吗?
到目前为止,我从1970年到今天进行了回测。
结果是烧毁了账户。
好的......一些评论......。
. . .
. . .
把这一步骤提高
我想修改 escape ea。
所以我就用了里面的所有代码。
我想修改 escape ea。
所以我就用了里面的所有代码。