通达信胡佛模式优化版副图指标
D周:="KDJ.D#WEEK";
D日:="KDJ.D";
KDJ周金叉:=D周>REF(D周,5) AND REF(D周,5)<REF(D周,10);
大冷股份:=HHV(D日,26)<77 AND BARSLAST(KDJ周金叉)>=12 AND REF(D周,5)>REF(D周,10) AND D周<38 AND (C<REF(LLV(L,20),1) OR L=LLV(L,20));
选:=大冷股份 AND BETWEEN(REF(BARSLAST(大冷股份),1),10,30);
胡佛模式:=选,LINETHICK0;
DRAWBAND(0>胡佛模式,RGB(0,0,0),0<胡佛模式,RGB(255,0,0));
DRAWTEXT(选,0.8,'胡佛模式'),COLORYELLOW;