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...
公式里,布林线中轨用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...
{主图}t1:=ma(c,15);if(c>=t1 and t1>=ref(t1,1),t1,draw**),colorred;if(c<t1 or t1<ref(t1,1),t1,draw**),colorgreen;stickline(c>=t1 and t1>=ref(t1,1),c,h,0,0),colorred;stickline(c>=t1 a...