大智慧洗盘谷建仓峰指标公式

n1:=6;n2:=12;

q1:=(close*vol)/sum(VOL,100);

a1:=ma(q1,n1);

zm1:=SMA(a1,n1,1);

zm2:=sma(a1,n2,1);

zmf:(zm1-zm2)*10000,colorstick,linethick2;

fm:sma(zmf,3,1);

t1:=if(c>ma(close,13),1,0);

t2:=if(c<ma(close,13),1,0);

{www.zhibiaow.com 指标网_大智慧股票指标公式}

t3:=count(if(zmf>0 and zmf>ref(zmf,1),1,0),4)>=4;

t4:=count(if(zmf<0,1,0),5)>=5;

t5:=filter(t1 and t4,20);

t6:=filter(t2 and t3,20);

drawtext(t5,zmf-3,'洗盘谷'),colorgreen;

drawtext(t6,zmf+3,'建仓峰'),coloryellow;