公式里,布林线中轨用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)>ma5;t4:=count(t1,2)=2;xg:t2 and t3 and t4; 20210311
degree:=atan((ma(c,8)/ref(ma(c,8),1)-1)*100)*57.3;s:=45<=degree and c>ma(c,8);stickline(s and c>0,c,h,0.01,0),colorred;stickline(s and c>0,l,o,0.01,0),colorred;stickline(s and c>0,c,o,2...