通達信自用賣點主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2022-06-07 來源:互聯(lián)網(wǎng)
通達信自用賣點主圖指標公式:
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
DRAWICON(CROSS(MA10,MA5),MA10,2); {5日下穿10日做記號};
DRAWICON(CROSS(MA60,MA5),MA60,2); {5日下穿60日做記號};
A1:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));
A2:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));
①:=(C<O AND O>A1 AND C<A2) OR (C<O AND REF(O,1)>A1 AND C<A2);
DRAWTEXT(①,MA(C,20),'斷頭刀'),COLORGREEN;
②:=(C<O AND O>A1 AND L<A2) OR (C<O AND REF(O,1)>A1 AND L<A2);
DRAWTEXT(②,L,'R斷頭刀'),COLORGREEN;
DRAWTEXT(H>REF(O,3)*1.19,H,'小心'),COLORGREEN;
DRAWTEXT(H>REF(O,3)*1.32,H,'▲小心'),COLORGREEN;
DRAWTEXT(H>REF(O,3)*1.36,H,'絕對小心'),COLORGREEN;
DRAWTEXT(H/MAX(O,C)>1.03,C,'▲小心'),COLORGREEN;
PDAY1 := BARSLAST(CROSS(MA60,MA5));{5日均線下穿60日均線}
PDAY2 := BARSLAST(CROSS(MA60,MA10));{10日均線下穿60日均線,至此形成鴨頸部}
PDAY3 := BARSLAST(LOW=LLV(LOW,PDAY2));{形成頭部,要反彈}
PDAY4 := BARSLAST(CROSS(MA5,MA10));{反彈后,5日均線和10日均線金叉}
PDAY5 := BARSLAST(CROSS(MA10,MA5));{反彈不久,5日均線和10日均線形成死叉,形成嘴部}
DGLYT1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
DGLYT2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
DGLYT:=DGLYT1 AND DGLYT2;
DRAWTEXT(DGLYT,H,'倒掛LYT'),COLORGREEN;
MA30:=MA(C,30);
TSJ:=COUNT(CROSS(MA20,MA5),21)=1 AND COUNT(CROSS(MA30,MA5),21)>0 AND
COUNT(CROSS(MA20,MA10),21)>0 AND COUNT(CROSS(MA30,MA10),21)>0;
MM1:=MA(V,5);
MM2:=MA(V,10);
MM3:=MA(V,20);
MM4:=MA(V,30);
DXJ:=COUNT(CROSS(MM3,MM1),21)=1 AND COUNT(CROSS(MM4,MM1),21)>0 AND
COUNT(CROSS(MM3,MM2),21)>0 AND COUNT(CROSS(MM4,MM2),21)>0;
ZTJ:=COUNT(TSJ,13)>0 AND COUNT(DXJ,13)>0;
TSJDSJ:=ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0);
DRAWTEXT(TSJDSJ,H,'#'),COLORGREEN;
TY:=C;
AA1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(AA1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),COLORYELLOW;
前期低位:REF(C,BARSLAST(LD)),COLOR00FF00,POINTDOT;
STICKLINE(C,前期低位,前期低位,8,0),COLORYELLOW;
絕對量頂天立地:=V>REF(HHV(V,60),1) OR V>REF(HHV(V,120),1);{絕對量頂天立地};
DRAWTEXT(絕對量頂天立地 AND O>C AND C<REF(C,1),C,'L頂天賣'),COLORGREEN;
通達信自用賣點主圖指標公式實例圖解:
通達信自用賣點主圖指標公式