首页 > 编程语言 >通达信涨停阴阳绝杀主图指标公式源码

通达信涨停阴阳绝杀主图指标公式源码

时间:2024-03-10 10:46:01浏览次数:31  
标签:10 EMA STICKLINE DRAWTEXT 主图 源码 绝杀 X1 REF

{ 通达信涨停阴阳绝杀主图指标公式源码 }

DRAWGBK(C>0, RGB(20,10,60),RGB(350,60,150),0,'1',0);
DRAWKLINE(H,O,L,C);
涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;
BL:=MA(CLOSE,10);
UB:=BL+2*STD(CLOSE,10);
LB:=BL-2*STD(CLOSE,10);
上穿A:=crOSS(C,UB);
上穿:=CROSS(LB,C);
ZDT:=BArslAST(上穿A);
DRAWLINE(上穿,O,REF(上穿,1),REF(O,1),1),COLOR00FF00;
DRAWLINE(上穿A,C,REF(上穿A,1),REF(C,1),1),COLOR00FFFF;
T:=BARSLAST(上穿A);
上穿2A:=CROSS(C,REF(O,T)) ;
DRAWICON(上穿2A=1 AND C>REF(C,1)*1.05,L*0.98,26);
DD:=C=LLV(C,20) AND WMA(C,21);
DDTJ:=BARSLAST(FILTER(CROSS(0.8,DD),2))+1;
低点:REF(C,DDTJ),COLOR00FF00,POINTDOT;
STICKLINE(DDTJ<=6,低点,低点,3,0),COLOR00FF00;
ZT:=ZTPRICE(REF(C,1),0.1)=C;
YX:=REF(BARSLAST(ZT)<=10,1) AND REF(C<o,1) and="" cross(c,ref(c,t));<br=""> DRAWTEXT((YX),LOW*0.99,'↖东方'),COLOR0000FF;
DRAWTEXT((REF(YX,1) AND C>O) ,L*0.99,'↖不败'),COLOR00FFFF;
DRAWTEXT((上穿),LOW*0.99,'↖阴绝'),COLOR00FF00;
DRAWTEXT((上穿A),LOW*0.99,'↖阳绝'),COLOR00FFFF;
STICKLINE(上穿A,O,C,2,0),COLORRED;
STICKLINE(上穿A,O,C,1,0),COLORYELLOW;
STICKLINE(上穿,O,C,3,0),COLORGREEN;
STICKLINE(上穿,O,C,1,0),COLORBLUE;
X1:=(C+L+H)/3;
X2:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
X3:=EMA(C,8);
DRAWTEXT(FILTER(X2>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),X3,'∠45角度'),COLORWHITE;

 

标签:10,EMA,STICKLINE,DRAWTEXT,主图,源码,绝杀,X1,REF
From: https://www.cnblogs.com/zhibiao/p/18063813

相关文章

  • 通达信红牛起爆主图指标公式
    {通达信红牛起爆主图指标公式}A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(......
  • 通达信强烈反转主图指标公式源码
    {通达信强烈反转主图指标公式源码}N1:=20;N2:=60;VAR1:=(LOW+HIGH+CLOSE)/3;X:MA(VAR1,5);A1:HHV(X,N1)COLORMAGENTA;A2:HHV(X,N2),COLORGREEN;A3:HHV(HIGH,N2)*0.98,COLOR0000FF;B1:LLV(X,N1);B2:LLV(LOW,N2)*1.02;DRAWICON(X>B1ANDREF(X,1)=REF(B1,1),B1*0......
  • 通达信狂风暴雨副图公式源码
    {通达信狂风暴雨副图公式源码}总亿:AMOUNT/100000000,COLORFF00FF,NODRAW;VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<open,var1*((high-open)+(close-low)),amount=""2))=""100000000,colorred,nodraw;&l......
  • 通达信彗华量副图源码带有使用说明
    {通达信彗华量副图源码带有使用说明}{彗华量}彗华量副图,带有使用说明   虚:IF((CURRBARSCOUNT=1)AND(PERIOD=5),(VOL*240)/FROMOPEN,DRAWNULL),NODRAW;STICKLINE((CURRBARSCOUNT=1)AND(PERIOD=5),虚,0,-1,-1),COLOR00C0C......
  • 通达信涨停筹码指标公式源码
    {通达信涨停筹码指标公式源码}X_1:=90;当日换手:vol/CAPITAL*100,NODRAW;半年换手:SUM(当日换手,126),NODRAW;X_2:=(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0));相对换手:VOL/(CAPITAL*X_2)*100,NODRAW;获利盘:WINNER(CLOSE)*100,NODRAW;X_3:=相对换手<......
  • 通达信强势主力资金指标公式源码
    {通达信强势主力资金指标公式源码}去ST:=NOT(NAMELIKE('ST')ORNAMELIKE('*ST')ORNAMELIKE('S'));去停牌:=DYNAINFO(4)>1;PC:=去STAND去停牌;AA05:=MA(C,5);BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;AA10:=MA(C,10);BB10:=ATAN((AA10/REF(......
  • 通达信爆量起涨指标公式源码
    {通达信爆量起涨指标公式源码}N:=15;M1:=5;M2:=10;M3:=20;M4:=60;公积金:FINANCE(18),COLORRED,NODRAW;现金流亿:FINANCE(26)/100000000,NODRAW;市值:FINANCE(40)/100000000,COLORFF00FF,NODRAW;SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/......
  • 通达信势在必行选股指标公式源码
    {通达信势在必行选股指标公式源码}去除ST:=IF(NAMELIKE('ST'),0,1)ANDIF(NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;去除大盘股:=CAPITAL/1000000<25;去除次新股:=FINANCE(42)>120;科创板:=IF(INBLOCK('科创板'),0,1);现价:=CLOSE>3ANDCLOSE<100;J1:......
  • 通达信波段趋势强弱主图,立体K线 红绿多空变色彩带源码
    {通达信波段趋势强弱主图,立体K线红绿多空变色彩带源码}X_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;X_2:=EMA(X_1,13);X_3:=EMA(X_2,3);X_4:=EMA(X_3,3);X_5:=EMA(X_4,3);X_6:=EMA(X_5,3);X_7:=EMA(X_6,3);DRAWBAND(X_2,RGB(150,50,20),X_7,RGB(36,150,40));NOTEXTMB101:IF(X_......
  • 通达信突破组合指标公式源码
    {通达信突破组合指标公式源码}量比:=V/REF(MA(V,1),1);五日涨幅:((C-REF(C,5))/REF(C,5)*100)NODRAW;今获利:WINNER(C)*100,NODRAW;昨获利:=REF(今获利,1);获利比增:今获利-昨获利,NODRAW;多方力度:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SM......