为什么这样写起来,多头信号正常,而空头不断的出现信号?
此主题相关图片如下:qq图片20170714100532.png
空的代码贴出来看下
[此贴子已经被作者于2017/7/14 10:07:32编辑过]
if l<ll2 then sell(holding>0,1,LIMIT,min(ll2,o));
if l<sx then sell(holding>0,1,limit,min(sx,o));
if h>hh2 then SELLSHORT(holding<0,1,limit,max(hh2,o));
if h>jx then SELLSHORT(holding<0,1,limit,max(jx,o));
buy(jdd and holding=0,1,THISCLOSE);
BUYSHORT(jkd and holding=0,1,THISCLOSE);