{思路不错。对把握中期拐点趋势有帮助} select count((max(ma(c,5),max(ma(c,10),ma(c,20)))-min(ma(c,5),min(ma(c,10),ma(c,20))))/min(ma(c,5),min(ma(c,10),ma(c,20)))*100,3)>0 and ma(c,5)>ref(ma(c,5),1)and ma(c,10)>ref(ma(c,10),1)and count(c/o>1.001 and c/o,2)=2; 20210311
{按楼主要求:5日均线,向上为红色k柱,向下为绿色k柱}tyx:=ma(c,5);stickline(c>=tyx and c>o,h,l,0,0),color0000ff; stickline(c>=tyx and c>o,c,o,12,0),color0000ff;stickline(c<tyx and c<o,h,l,0,0),color00ff00;s...
我能编出来。不难。只是有疑问。你对于第一根k线的中阳线或大阳线的涨幅是要求多少%? st:=ref(close,1)/ref(open,1);w1:=st>1.03 and close/open>1 and close/openref(open,1) and close>ref(close,1);w3:=highref(low,1);w4:=vol