股票-通达信黑马顶底指标公式.docx
通达信黑马顶底指标公式_正点财经B0:=EMA(0.667*REF(AC,1)+0.333*AC,2)-AC;B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9)*100-70;B2:=SMA(B1,9,1)+100;B3:=(C-LLV(L,9)/(HHV(H,9)-LLV(L,9)*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;B7:=IF(B660,B6-60,0);STICKLINE(REF(B7,1)B7,B7,REF(B7,1),5,0),COLORRED;STICKLINE(REF(B7,1)B7,B7,REF(B7,1),5,0),COLORFFFF00;主力:EMA(CLOSE-MA(CLOSE,7)/MA(CLOSE,7)*480,2),LINETHICK2,COLORRED;散户:EMA(CLOSE-MA(CLOSE,11)/MA(CLOSE,11)*480,7),LINETHICK2,COLORWHITE;DRAWTEXT(CROSS(主力,散户)AND主力-10,-20,升),COLORYELLOW;DRAWICON(CROSS(主力,散户)AND主力-10AND散户REF(散户,1)ORCROSS(主力,散户)AND散户-35,-15,1);加速探底:IF(MA(C,5)-C)/C0.04AND(MA(C,10)-MA(C,5)/MA(C,5)0.04,40,0.85),COLORYELLOW;机会来临1:REF(IF(REF(C,1)/C0.04AND(MA(C,10)-MA(C,5)/MA(C,5)0.04,40,0),1),COLOR9999FF;A11:=3*SMA(C-LLV(L,55)/(HHV(H,55)-LLV(L,55)*100,5,1)-2*SMA(C-LLV(L,55)/(HHV(H,55)-LLV(L,55)*100,5,1);黑马线:=EMA(A11,5);A21:=(黑马线-REF(黑马线,1)/REF(黑马线,1)*100;A31:=EMA(C,5);A41:=(C-LLV(L,21)/(HHV(H,21)-LLV(L,21)*100;趋势线:=(MA(3*SMA(A41,6,1)-2*SMA(SMA(A41,5,1),5,1),2);A51:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60)*100;DRAWTEXT(FILTER(REF(黑马线,1)90ANDA210,7),黑马线,跑),COLOR00FF00;DRAWTEXT(CROSS(A11,黑马线)AND黑马线A51,黑马线,黑马),COLORYELLOW;DRAWTEXT(CROSS(黑马线,A51)AND趋势线80,黑马线,追涨),COLOR688EC1;DRAWTEXT(CROSS(趋势线,0)AND黑马线40,5,大黑马),COLORFFFF00;底部:=(A21-10ANDA21REF(A21,1)*25;DRAWICON(底部ANDA31REF(A31,1),25,1);机会来临2:REF(IF(MA(C,5)-C)/C0.04AND(MA(C,10)-MA(C,5)/MA(C,5)0.04,65,0),1),COLORF00FF0;通达信黑马顶底指标公式实例图解:通达信黑马顶底指标公式