標籤:

通達信自適應通道主圖指標公式

N:=75;P:=5;P1:=10;A1:=REF(H,P)=HHV(H,2*P+1);B1:=FILTER(A1,P);C1:=BACKSET(B1,P+1);D1:=FILTER(C1,P);E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); F1:=E1>REF(E1,1);短壓:DRAWLINE(D1,H,F1,H,1),COLORCYAN,DOTLINE;A2:=REF(L,P)=LLV(L,2*P+1);B2:=FILTER(A2,P);C2:=BACKSET(B2,P+1);D2:=FILTER(C2,P);E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);F2:=E2>REF(E2,1);短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED,DOTLINE;AA1:=REF(C,P1)=HHV(C,2*P1+1);BB1:=FILTER(AA1,P1);CC1:=BACKSET(BB1,P1+1);DD1:=FILTER(CC1,P1);EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1); FF1:=EE1>REF(EE1,1);長壓:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN LINETHICK1;AA2:=REF(L,P1)=LLV(L,2*P1+1);BB2:=FILTER(AA2,P1);CC2:=BACKSET(BB2,P1+1);DD2:=FILTER(CC2,P1);EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);FF2:=EE2>REF(EE2,1);長支:DRAWLINE(DD2,L,FF2,L,1),COLORRED LINETHICK1;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);突破:C>短壓 OR C> 長壓,NODRAW;DRAWICON(突破 AND REF(突破,1)=0,L*0.99,1);STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,1 ),COLOR5B5BFF;STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,2.7,0 ),COLOR0000CC;STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,2,0 ),COLOR0E0EFF;STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,1.2,0 ),COLOR4848FF;STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,0.6,0 ),COLOR7878FF;STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,0.1,0 ),COLORA1A1FF;STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,0,0 ),COLORCACAFF;STICKLINE(CLOSE< OPEN,HIGH,LOW,0,1 ),COLORCYAN;STICKLINE(CLOSE< OPEN,OPEN,CLOSE,2.7,0 ),COLOR990000;STICKLINE(CLOSE< OPEN,OPEN,CLOSE,2,0 ),COLORCC0000;STICKLINE(CLOSE< OPEN,OPEN,CLOSE,1.2,0 ),COLORFF4400;STICKLINE(CLOSE< OPEN,OPEN,CLOSE,0.6,0 ),COLORFF8800;STICKLINE(CLOSE< OPEN,OPEN,CLOSE,0.1,0 ),COLORFFCC00;STICKLINE(CLOSE< OPEN,OPEN,CLOSE,0,0 ),COLORCYAN;STICKLINE(C/REF(C,1)>1.097 AND C=H,C,O,1,0),COLORYELLOW;
推薦閱讀:

如何判斷多項運算是否需要使用數組公式?
該有的都有!各種圖形「計算公式」,說做咱就做!
這六個搭配公式,讓你在秋冬帥的無所畏懼~
公曆速推當日干支公式時
短線是銀公式集

TAG:公式 | 指標 |