kdjmacd1:=(high+low+open+close)/(4);kdjmacd3:=(2)*(ema(llv(kdjmacd1,8),13))-kdjmacd1;乾坤线:=(3)*(kdjmacd3)-(2)*(sma(kdjmacd3,9,1));xg:乾坤线>c and 乾坤线<ref(乾坤线,1);
a:=c>o*1.03;d:=v>ref(v,1)*1.10;量价自用:=a and d;ma20:=ma(c,20);ma7:=ma(c,7);aa:=o<ma20 and c>ma20;bb:=o<ma7 and c>ma7;cc:=ma7>ma20;上传中轨:aa and bb and cc;参考资料:http://tieba.baidu.com/f...
照你所说编写如下:m20:ma(c,20);涨幅:(c-ref(c,1))/ref(c,1)*100,nodraw;上拐:=m20>ref(m20,1) and ref(m20,1)3 and 上拐 and c>m20,nodraw;卖:kref(k,2),nodraw;drawicon(买,l,7);drawicon(卖,h,8);drawkline(h,o,l,c);个人觉得你所定的买卖条件不...