股票-通达信每周5%买入顶部顶底买卖指标公式.docx
通达信每周5%买入顶部顶底买卖指标公式_正点财经V2:=EMA(V1,144);V3:(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*100,COLOR00BB00;卖出:-1*IF(CROSS(98.5,V3)ANDV1V2)ANDCOUNT(V397,3)=2,20,0)+90,COLORFF9900;抄:IF(CROSS(V3,5)ANDV1V2,-20,0)-50,COLOR0090FF;DRAWTEXT(CROSS(V3,5)ANDV1V2,-45,抄),COLORFF00FF;DRAWTEXT(CROSS(98.5,V3)ANDV1V2,75,卖),COLOR00FF00;TT2:=DMA(HIGH+LOW)+(CLOSE*2)/4.15),0.9);TT1:=REF(EMA(TT2,3),1);LC:=REF(CLOSE,1);RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;短卖:=STICKLINE(CROSS(RSI1,80),60,95,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(RSI1,80),98,卖),COLORFFFFCC;买R:STICKLINE(CROSS(RSI1,50),30,70,1,0),COLORRED,LINETHICK1;DRAWTEXT(CROSS(RSI1,50),50,买),COLORFFFFCC;压力:=HHV(MA(RSI1,3),13),COLORGREEN;支撑:=LLV(MA(RSI1,3),13),COLORYELLOW;AA:=REF(RSI1,N2)=HHV(RSI1,2*N2+1);BB:=BACKSET(AA,N2+1);CC:=FILTER(BB,N2)ANDRSI1=HHV(RSI1,N2+1);K1:=BARSLAST(REF(CC,1);顶背离:=REF(CLOSE,K1+1)CLOSEANDREF(RSI1,K1+1)RSI1ANDCC;DRAWTEXT(顶背离,RSI1*1.2,顶DRAWLINE(CC,RSI1,FILTER(顶背离0,5),RSI1,0),COLORWHITE;DRAWICON(顶背离,RSI1*1.1,2);AA2:=REF(RSI1,N2)=LLV(RSI1,2*N2+1);BB2:=BACKSET(AA2,N2+1);CC2:=FILTER(BB2,N2)ANDRSI1=LLV(RSI1,N2+1);K2:=BARSLAST(REF(CC2,1);底背离:REF(CLOSE,K2+1)CLOSEANDREF(RSI1,K2+1)RSI1ANDCC2;DRAWTEXT(底背离,RSI1*1.2,底DRAWLINE(CC2,RSI1,FILTER(底背离0,5),RSI1,0),COLORWHITE;DRAWICON(底背离,RSI1*0.98,1);A:=EMA(AMOUNT/C/1000000,7);MID:=EMA(A,P);UPPER:=MID+196/100*STD(A,25);LOWER:=MID-196/100*STD(A,25);饱和度:IF(A-LOWER)/(UPPER-LOWER)1,1,(A-LOWER)/(UPPER-LOWER),COLORWHITE;STICKLINE(CLOSE0)ANDISLASTBAR),0,1,3,1),COLORFFFFFF;STICKLINE(CLOSE0)ANDISLASTBAR),0.01,0.99,2.5,1),COLORFFFF00;STICKLINE(饱和度=1,0,90,4,0),COLORRED;H1:=EMA(C,8);H2:=EMA(H1,20);HH2:=EMA(CLOSE,14);HH3:=MEMA(CLOSE,4);VAR1:=(CLOSE-LLV(LOW,60.135)/(HHV(HIGH,60.135)-LLV(LOW,60)*80;VAR2:=SMA(VAR1,7,1);VAR3:=SMA(VAR2,5,1);全仓:CROSS(VAR2,VAR3)ANDVAR220ANDHH2N5:=BARSLAST(CROSS(CLOSE,TT1);N6:=BARSLAST(CROSS(TT1,CLOSE);黑马跟踪:IF(N5N6,N5+1,0);操:DRAWTEXT(黑马跟踪=1,TT2+TT2*(0.5),操),COLORRED;涨幅:DYNAINFO(14)*100,LINETHICK0;涨踪:(C-REF(C,黑马跟踪)/REF(C,黑马跟踪)*100;通达信每周5%买入顶部顶底买卖指标公式实例图解:通达信每周5%买入顶部顶底买卖指标公式