通达信财神BS妖股启动主图指标公式
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA54:=MA(CLOSE,54);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0ANDVAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0ANDVAR3>VAR2,VAR3,0),25);
VAR6:=VAR4100/VAR1;
VAR7:=VAR5100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
BUY1:=ZIG(3,10);
SELL1:=MA(BUY1,2);
DRAWICON(CROSS(BUY1,SELL1),L-0.1,7);
DRAWICON(CROSS(SELL1,BUY1),H+0.1,8);
STICKLINE(BUY1>SELL1ANDO>=C,C,O,-1,0),COLORRED;
STICKLINE(BUY1>SELL1ANDO>=C,L,H,0,0),COLORRED;
STICKLINE(BUY1100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13ANDVAR13<20;
LJB:=1/WINNER(CLOSE);
STICKLINE(C/REF(C,1)>=1.096ANDH=C,O,C,2,0),COLORYELLOW;HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BARSLAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(HJ_11,HJ_12);HJ_15:=MAX(HJ_14,HJ_13);HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)100>5;HJ_17:=HJ_10<150;HJ_18:=(OPEN-HJ_15)/HJ_15100<30;HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)100<50;HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)100<30;HJ_21:=VOL/MA(VOL,5)<3.5;HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)100<80;HJ_25:=HJ_16ANDHJ_17ANDHJ_18ANDHJ_19ANDHJ_20ANDHJ_21ANDHJ_22;暴利:=FILTER(HJ_25,15);PL1:=(((CLOSE-MA54)/MA54)<0.1);PL2:=(((CLOSE-MA10)/MA10)<0.3);偏离率:=(((PL1=1)AND(PL2=1))0.2);平台突破:=((((偏离率=0)AND(REF(偏离率,1)=0.2))AND(REF((COUNT((偏离率=0.2),10)=10),1)=1))-0.1);妖股突破:=平台突破=-0.1;XDF:=(暴利OR妖股突破);VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05AND(DYNAINFO(7)/O>1.05);FLIGA:=(VOL/REF(VOL,1)>1.2ANDCOUNT(CLOSE>OPEN,1))OR(LOW>REF(HIGH,1)ANDCOUNT(OPEN>CLOSE,1)ANDVOL/REF(VOL,1)>1.2);妖股:XDFANDC/REF(C,1)>1.095ANDFLIGAANDVARAA,NODRAW;DRAWICON(妖股,LOW0.995,7);DRAWTEXT(妖股,LOW0.975,’妖股’),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.20,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.30,0.01,1,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.50,0.10,1,GNBLOCK),COLORWHITE;
http://m.xxxnonstop.com/gupiaozhuanti/19854.html