当前位置: 爱约股 > 通达信答疑 > > 庄筹线穿越散筹线公式中,分别求出追庄和抄底的选股公式
来源:Internet,编辑:爱约股,2012-10-30
编写要求:
{庄筹线穿越散筹线} 庄筹线:EMA(WINNER(C)*70,5),COLORRED,LINETHICK2; 散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.91))*80,5),COLORGREEN,LINETHICK2; 捞活鱼:FILTER((CROSS(5,庄筹线) AND 散筹线40 OR REF (散筹线,20)>40; BB:= CROSS(28,庄筹线) AND 散筹线>40 AND AA=1; DRAWTEXT(BB,60,'(洗盘)'),COLORWHITE; CC:=REF(散筹线,1)>散筹线 AND REF (庄筹线,1)30 AND 散筹线>30 AND REF (庄筹线,1)-REF(庄筹线,2)>3.535; DD:=COUNT(REF(散筹线,1)>REF(庄筹线,1),5); 鸡雀升天:IF(CROSS(庄筹线, 散筹线) AND CC=1 AND DD>=5,10,30), COLORMAGENTA; DRAWTEXT(鸡雀升天=10,13,'追庄●'),COLORYELLOW; 求助:庄筹线穿越散筹线公式中,分别求出“追庄●”和“捞活鱼(抄底)”的选股(预警)公式!!!
爱约股解答:
庄筹线:=EMA(WINNER(C)*70,5);
散筹线:=EMA((WINNER(C*1.1)-WINNER(C*0.91))*80,5);
CC:=REF(散筹线,1)>散筹线 AND REF (庄筹线,1)<庄筹线 AND 庄筹线>30 AND 散筹线>30 AND REF (庄筹线,1)-REF(庄筹线,2)>3.535;
DD:=COUNT(REF(散筹线,1)>REF(庄筹线,1),5);
追庄:CROSS(庄筹线, 散筹线) AND CC=1 AND DD>=5;