標籤:

通達信兩峰三峰箱體主圖指標公式

通達信兩峰三峰箱體主圖指標公式 N1:=10;N2:=60;N3:=10;A1:=REFX(HHV(H,N1),N1-1); A2:=IF(H=HHV(H,N1)&&H=A1,H,DRAWNULL);高點:=IF(A2=REF(A2,1),DRAWNULL,A2);F1:=FINDHIGH(高點,0,N2,1);F2:=FINDHIGH(高點,0,N2,2);AVGH:=(H+C+O+L)/4;平均:=(F1+F2+AVGH)/3;方差:=POW(F1-平均,2)+POW(F2-平均,2)+POW(AVGH-平均,2);標準差:=SQRT(方差);B1:=標準差<=(N3/100);C1:=COUNT(B1>0 AND REF(B1,1)=0,0);C2:=CONST(C1)-C1;P1:=BARSLAST(C2=0 AND REF(C2,1)>=1);P2:=CONST(P1);L1:=CONST(REF(AVGH,P1));LL1:IF(H>L1,DRAWNULL,L1),DOTLINE;L2:IF(CURRBARSCOUNT<=(N2+P2) AND CURRBARSCOUNT>=P2,L1,DRAWNULL)COLORYELLOW,DOTLINE;LOW1:=IF(ISLASTBAR,FINDLOW(L,P2,N2,1),DRAWNULL);L3:IF(CURRBARSCOUNT<=(N2+P2) AND CURRBARSCOUNT>=P2,CONST(LOW1),DRAWNULL)COLORYELLOW,DOTLINE;STICKLINE(CURRBARSCOUNT=P2 OR CURRBARSCOUNT=(P2+N2),L2,L3,0.000001,0)COLORYELLOW;F3:=FINDHIGH(高點,0,N2,3);B平均:=(F1+F2+F3+AVGH)/4;BFC:=POW(F1-平均,2)+POW(F2-平均,2)+POW(F3-B平均,2)+POW(AVGH-平均,2);BBZC:=SQRT(BFC);BB1:=BBZC<=(N3/70);BC1:=COUNT(BB1>0 AND REF(BB1,1)=0,0);BC2:=CONST(BC1)-BC1;BP1:=BARSLAST(BC2=0 AND REF(BC2,1)>=1);BP2:=CONST(BP1);BL1:=CONST(REF(AVGH,BP1));BBL1:IF(H>BL1,DRAWNULL,BL1),DOTLINE;BL2:IF(CURRBARSCOUNT<=(N2+BP2) AND CURRBARSCOUNT>=BP2,BL1,DRAWNULL)COLORYELLOW,DOTLINE;BLOW1:=IF(ISLASTBAR,FINDLOW(L,BP2,N2,1),DRAWNULL);BL3:IF(CURRBARSCOUNT<=(N2+BP2) AND CURRBARSCOUNT>=BP2,CONST(BLOW1),DRAWNULL)COLORYELLOW,DOTLINE;STICKLINE(CURRBARSCOUNT=BP2 OR CURRBARSCOUNT=(BP2+N2),BL2,BL3,0.000001,0)COLORYELLOW;
推薦閱讀:

腫瘤免疫組化指標含義大匯總(下)
選婿「指標化」與婚姻「冰冷化」
炒股不敗63招——認識超級短線指標
月經是否正常的四個重要指標

TAG:公式 | 指標 |