tt1:=ref(o>c,2) and ref(c/o<0.94,2);tt2:=upnday(c,2);tt3:=c>ref((l+(h-l)/2),2) and h<ref(o,2);ttt:=tt1 and tt2 and tt3;stickline(ttt,o,c,2,0),colorlimagenta;stickline(ttt,l,h,0,0),colorlim...
参数 n 2 100 11 m 2 100 6cv:=close;bbiboll:=(ma(cv,3)+ma(cv,6)+ma(cv,12)+ma(cv,24))/4;upr:=bbiboll+m*std(bbiboll,n);dwn:=bbiboll-m*std(bbiboll,n);xg:c<dwn;
公式里,布林线中轨用20日均线代替。两者其实是一样的。ma5:=ma(c,5);ma20:=ma(c,20);t1:=c/ref(c,1)<1.025 and c>ref(c,1) and v<ref(v,1);{ 题目缩量没说明什么是缩量,这里认为是比前一天的成交量小就是缩量,而不是2根k线都跟前面同一根k线相比}t2:=close<ma20;t3:=ref(c,1)&g...
drawicon(cross(ema(c,3),ema(c,5))and c>o and c>ref(c,1)and c/ref(c,1)>=1.018 or cross(ema(c,3),ema(c,12))and c>o and c>ref(c,1)and c/ref(c,1)>=1.018 or cross...