请教为什么我在EA中使用icustom()调用自定义指标后,EA只会开多单了,无法做空呢?
我是这样用的不知问题在哪里?
double bup=iBands(Symbol(),0,BPeriod,Deviation,0,PRICE_OPEN,MODE_UPPER,0);
double bdn=iBands(Symbol(),0,BPeriod,Deviation,0,PRICE_OPEN,MODE_LOWER,0);
double bup1=iCustom(Symbol(),0,\"yf2011\",12,5,3,1,1);
double bdn2=iCustom(Symbol(),0,\"yf2011\",12,5,3,2,1);
double bup3=iCustom(Symbol(),0,\"yf201108\",0,1,1);
double bdn4=iCustom(Symbol(),0,\"yf201108\",0,2,1);
if(Close[0]>bup*point && bup1==Close[0]>bup+*Point && bup3==Close[0]>bup*Point) SELL=true;
if(Close[0] |