最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信经典公式集锦

    正文概述    2024-05-04 04:27:07  
    {通达信经典量柱指标公式} 股价:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 底部警戒:=10,COLORRED,LINETHICK2; 底1:=CROSS(股价趋势,底部警戒); A1:=(2*CLOSE+HIGH+LOW)/4; A2:=LLV(LOW,27); A3:=HHV(HIGH,27); A4:=EMA((A1-A2)/(A3-A2)*100,13); A5:=EMA(0.618*REF(A4,1)+0.382*A4,3); 底2:=CROSS(A4,A5)ANDA4 波底:=底1AND底2; {奔牛} VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; 牛:=CROSS(VAR5,VAR3)ANDVAR3 2.1ANDC {提示} VARA2:=LLV(LOW,10); VARA3:=HHV(HIGH,25); 动力线:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4); {与破位} N:=19; VARB1:=HHV(HIGH,N); VARB2:=LLV(LOW,N); 阻力线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),21)-0.5; 操作线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),5)-0.5; 突破:=CROSS(操作线,阻力线)AND阻力线 破位:=CROSS(阻力线,操作线)AND阻力线 0.25; {立桩成立判断} V2:=IF(CURRBARSCOUNT=1,*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); T12:=V2 T0:=BARSLAST(T12); L1:=REF(L,T0); H1:=REF(H,T0); L11:=MIN(REF(L,1),L); L10:=MIN(L11,REF(L,2)); L21:=MAX(REF(L,1),L); L20:=MAX(L21,REF(L,2)); T111:=(REF(V2 =1,3)ORREF(V2 =1,2)ORREF(V2 =1,1))AND ((L10 L1ANDL20 H1)OR(L11 L1ANDL21 H1)OR(L H1)); T11:=T111ANDREF(T111,1)=0; {涨跌停} C3:=REF(C,1); :=IF((C-C3)*100/C3 =(10-0.01*100/C3),1,0); 跌停:=IF((C3-C)*100/C3 =(10-0.01*100/C3),1,0); {顶与底背离} LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); 顶背离:=CROSS(88,RSI); 底背离:=CROSS(FF,MA15); {45度攻击} X1:=(C+L+H)/3; BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; EMA8:=EMA(C,8); T1:=FILTER(BB13 1ANDEMA(X1,13) REF(EMA(X1,8),1),10); {获利盘提示} 获利盘:=WINNER(C)*100; {彩色柱线} VOLUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,5),COLORWHITE; MAVOL2:MA(VOLUME,35),COLORYELLOW;MAVOL3:MA(VOLUME,135),COLORGREEN; {V2:IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1),NODRAW,COLORRED;} STICKLINE(V2 =1,0,VOL*0.5,2,0),COLORYELLOW; STICKLINE(动力线 =3.2,0,VOL,1,0),COLOR238E23; STICKLINE(波底,0,VOL,2,0),COLORMAGENTA; DRAWTEXT(波底,VOL*0.8,'底'),COLORWHITE; DRAWICON(波底,VOL*1.1,5); STICKLINE(牛,0,VOL,2,0),COLORRED; DRAWTEXT(牛,VOL*1.15,'牛'),COLORWHITE; STICKLINE(突破,0,VOL,1,0),COLORBLUE; DRAWTEXT(突破,VOL*0.5,'突破'),COLORWHITE; DRAWICON(突破,VOL*1.2,1); STICKLINE(破位,0,VOL,0.5,0),COLORBROWN; DRAWTEXT(破位,VOL*0.5,'破位'),COLORWHITE; DRAWICON(破位,VOL*1.05,2); STICKLINE(T11,O,VOL,2,0),COLORFF00FF; STICKLINE(涨停,VOL*0.5,VOL,2.5,0),COLORLIRED; STICKLINE(涨停,VOL*0.5,VOL,0,0),COLORRED; STICKLINE(跌停,VOL*0.5,VOL,2.5,0),COLOR2F4F2F; STICKLINE(跌停,VOL*0.5,VOL,0,0),COLORBLACK; STICKLINE(顶背离,VOL*0.8,VOL,2.5,0),COLORGREEN; STICKLINE(底背离,0,VOL*0.2,3,0),COLOR7F017F; DRAWTEXT(T1,VOL*1.1,'∠'),COLOR007575; DRAWTEXT(获利盘 =75AND动力线 =3.2,VOL*1.1,'●'),COLORRED; DRAWTEXT(获利盘 75AND动力线 =3.2,VOL*1.1,'●'),COLORGREEN; {通达信民间操手专用经典主图指标公式} A:=AMOUNT/V/100; VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5); QQ:=EMA(((VARA/10)+EMA(A,13)),0); 行情线:=MA(A,1); 重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382; 【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4; 【黄金线】:IF(重心 =【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2; 【空仓线】:IF(重心 【操盘线】,【操盘线】,DRAWNULL),COLORCYAN,LINETHICK2; DRAWTEXT(ISLASTBAR,【操盘线】,'【操盘线】'),COLORRED; {引:EMA(CLOSE,2),LINETHICK1,COLORMAGENTA; 探:MA(CLOSE,5),LINETHICK1;} 变:EMA(CLOSE,5),LINETHICK1,COLORYELLOW; 金:IF(变 REF(变,1),变,DRAWNULL),COLORRED,LINETHICK1; 空:IF(变 REF(变,1),变,DRAWNULL),COLORGREEN,LINETHICK1; DRAWTEXT(ISLASTBAR,变,'【雷达线】'),COLORRED; {信号} DA:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4; DB:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK1; {DRAWTEXT(CROSS(DB,DA),DB,'←险'),COLORGREEN,LINETHICK1;} DRAWTEXT(CROSS(DA,【操盘线】),【操盘线】,'B'),COLORWHITE,LINETHICK1; {涨跌停显示} 涨停:=IF((C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(O,1)),1,0); STICKLINE(涨停,O,C,1,0),COLORYELLOW; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF -9.9,O,C,1,0),COLORBLUE; {民间操手专用经典主图均线指标2} VAR3:=LLV(HIGH,240); VAR4:=100*(CLOSE-VAR3)/VAR3; VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; VAR7:=0; VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH LOW+0.04,4,0); VAR11:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3); VAR12:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3); VAR13:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3); VAR14:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3); VAR15:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3); VAR16:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3); VAR17:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3); VAR18:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3); VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150); 买1:=VAR10; 买2:=(VAR11+VAR13+VAR15+VAR17); 卖1:=(VAR12+VAR14+VAR16+VAR18); B:IF(买1 0 OR 买2 0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; S:IF(卖1 0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN; VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34)); F:IF(CROSS(VAR200,MA(VAR300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLORFF00FF; DRAWTEXT(CROSS(S,卖1),S,'←逃'),COLORWHITE,LINETHICK1; DRAWTEXT(CROSS(B,买1),B,'←准备'),COLORRED,LINETHICK1; {JC1:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6; 参考价1:SMA(JC1,5,1),CIRCLEDOT,COLORGREEN; IF(C =参考价1,参考价1,DRAWNULL),CIRCLEDOT,COLOR0000FF;} PH:=TROUGHBARS(2,5,1); LL:=HHV(H,PH); TJ1:=LL=HIGH AND LL REF(LL,1);{//=1} TS:=SUMBARS(TJ1,2); TJ:=PEAKBARS(2,5,1)=1 AND TS DRAWICON(TJ,HIGH*1.01+0.02,2); 警告灯:IF(TJ,HIGH*1.008,DRAWNULL),CROSSDOT,LINETHICK2,COLORCYAN; PL:=BARSLAST(TJ); 支撑:IF(BARSLAST(TJ1), REF(LOW,BARSLAST(TJ1)),DRAWNULL),COLOREA91B5; 压力:IF(BARSLAST(TJ),REF(HIGH,PL),DRAWNULL),COLORYELLOW; TJ_2:=LOW REF(REF(LOW,TS),PL); DRAWTEXT(ISLASTBAR,压力,'压力'),COLORYELLOW; DRAWTEXT(ISLASTBAR,支撑,'支撑'),COLOREA91B5; {DRAWICON(COUNT(TJ_2,PL+1)=1,HIGH*1.005,2);{//向下的箭头表示出局点} {DRAWICON(BARSLAST(TJ1),REF(LOW*0.995,BARSLAST(TJ1)),1);}; {通达信经典角度线+SAR改装主图指标公式} SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100 100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100); AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,12),COLOR0000FF;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10); BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13); STICKLINE((((AA12 = AA10) AND (BB12 = 1)) AND (BB10 = 1)),AA10,AA12,4,0),COLOR0080FF; STICKLINE((((AA12 = AA10) AND (BB10 = 1)) AND (BB10 = 1)),AA10,AA12,4,0),COLOR00FF00; X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13 1 AND EMA(X1,13) REF(EMA(X1,8),1),10), EMA8,'∠45上升'),COLORWHITE;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF; 支撑:MA(REF(LLV(C,30),1),2),COLORABFF46; AA1:=AMOUNT/V;BB1:=L AA1*0.9; CC1:=(C-REF(C,1))/REF(C,1)*100 DD1:=L MA(C,5)*0.921;EE1:=V MA(V,5)*1.5; A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 线:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2)); LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25; MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); {通达信经典赚钱指标公式} N:=35;M:=35;N1:=3; B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100-M; B2:=SMA(B1,N,1)+100; B3:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100; B4:=Sma(B3,3,1); B5:=SMA(B4,3,1)+100; B6:=B5-B2; 控盘程度:(IF(B6 N1,B6-N1,0))*2.5,COLORYELLOW; 控盘度:100,COLORRED; stICKLINE(控盘程度,0,控盘程度,7,0),COLOR00FFFF; STICKLINE(控盘程度AND控盘程度 100,100,控盘程度,7,0),COLORRED; {通达信经典BBI主图指标公式} N1:=5; N2:=10; N3:=20; N4:=30; {画} stICKLINE(C =bbi,O,C,2.5,1),COLOR0000EE; STICKLINE(C =BBIANDC =O,C,H,0,1),COLOR0000EE; STICKLINE(C =BBIANDC =O,O,L,0,1),COLOR0000EE; STICKLINE(C =BBIANDC O,O,H,0,1),COLOR0000EE; STICKLINE(C =BBIANDC O,C,L,0,1),COLOR0000EE; STICKLINE(C BBI,O,C,2.5,1),COLORBLUE; STICKLINE(C BBIANDC =O,C,H,0,1),COLORBLUE; STICKLINE(C BBIANDC =O,O,L,0,1),COLORBLUE; STICKLINE(C BBIANDC O,O,H,0,1),COLORBLUE; STICKLINE(C BBIANDC O,C,L,0,1),COLORBLUE; BBI:(ma(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4,COLORRED,LINETHICK2; BB:=BBI REF(BBI,1); IF(BB,BBI,DRAWNULL)COLORGREEN,LINETHICK2; DRAWICON(crOSS(C,BBI),BBI*0.975,1); DRAWICON(CROSS(BBI,C),BBI*1.015,2); bs:=EMA(C,5),COLORWHITE; 升升不息:EMA(BS,30),COLORMAGENTA,LINETHICK2; 重心:(H+L+3*C+O)/6,NODRAW; STICKLINE(重心 0,重心,重心*1.001,0.1,0),COLORLIRED; 重心转向:重心 REF(重心,1)ANDREF(重心,1) REF(重心,2),NODRAW; STICKLINE(重心转向,L,MAX(C,O),0.1,0),COLORYELLOW; STICKLINE(重心转向,L,L*1.001,2,0),COLORYELLOW; N:=33; 高:=EMA(H/REF(CLOSE,1),N)*C,COLORCYAN,DOTLINE; 低:=EMA(L/REF(CLOSE,1),N)*C,COLORRED,DOTLINE; 卖:IF(CURRBARSCOUNT=1,高,DRAWNULL),COLORLIRED; 买:IF(CURRBARSCOUNT=1,低,DRAWNULL),COLORYELLOW; DRAWTEXT(CURRBARSCOUNT=1,卖,'_____'),COLORLIRED; DRAWTEXT(CURRBARSCOUNT=1,买,'_____'),COLORYELLOW; DRAWNUMBER(CURRBARSCOUNT=1,卖*1.01,卖),COLORLIRED; DRAWNUMBER(CURRBARSCOUNT=1,买*1.01,买),COLORYELLOW; VAR6:=REF(C,1); VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100; DRAWTEXT(CROSS(82,VAR7),H*1.01,'高抛'),COLORYELLOW; {通达信经典主图指标公式} 趋势线:ma(C,30),DOTLINECOLORFF00CC; IF(趋势线 =REF(趋势线,1),趋势线,DRAWNULL),DOTLINE,COLORYELLOW; 回归斜率线A:EMA(SLOPE(C,21)*20+C,42); 回归斜率线B:REF(回归斜率线A,2); IF(回归斜率线A REF(回归斜率线A,1),回归斜率线A,DRAWNULL),COLORRED; IF(回归斜率线A REF(回归斜率线A,1),回归斜率线A,DRAWNULL),COLORGREEN; IF(回归斜率线B REF(回归斜率线B,1),回归斜率线B,DRAWNULL),COLORRED; IF(回归斜率线B REF(回归斜率线B,1),回归斜率线B,DRAWNULL),COLORGREEN; 经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 经典K:=SMA(经典RL,3,1);经典D:=SMA(经典K,3,1);经典J:=3*经典K-2*经典D; MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20)))/(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20)))); MAHL2:=IF(EMA(C,2) 回归斜率线AANDMAHL1 0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A} MAHL3:=IF(EMA(C,2) 回归斜率线AANDMAHL1 0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A} {回归斜率带:DRAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线A,2),RGB(0,104,154));} {C 昨C红K柱+C O红K柱C 昨C红K柱C=昨C是跟白色24线 C 昨C蓝K柱+C O红K柱C 昨C蓝K柱} {stICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,0),COLORRED; STICKLINE(C OANDC REF(C,1),C,O,3,0),COLORFFCC00;} {STICKLINE(CLOSE REF(CLOSE,1)ANDC O,OPEN,CLOSE,2.1,0),COLOR000099; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR0000BB; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLOR0000DD; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLOR0000FF;} STICKLINE(CLOSE=REF(CLOSE,1),H,L,3,1),COLOR999999; STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,0),COLORWHITE; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR555555; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR777777; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR999999; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORBBBBBB; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORDDDDDD; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORFFFFFF; {STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,1),COLORCYAN; STICKLINE(C REF(C,1)ANDC O,C,O,3,0),COLORFFCC00; STICKLINE(C REF(C,1)ANDC O,OPEN,CLOSE,3,0),COLOR990000; STICKLINE(C REF(C,1)ANDC O,OPEN,CLOSE,2.7,0),COLORCC0000; STICKLINE(CLOSE REF(C,1),OPEN,CLOSE,2.1,0),COLORFF4400; STICKLINE(CLOSE REF(C,1),OPEN,CLOSE,1.5,0),COLORFF8800; STICKLINE(CLOSE REF(C,1),OPEN,CLOSE,0.9,0),COLORFFCC00;} {经典kdj买:IF(crOSS(经典K,经典D),(L-(H-L)/2),DRAWNULL),POINTDOT,LINETHICK6,COLOR0000FF; 经典kdJ买:IF(CROSS(经典K,经典D),(L-(H-L)/2),DRAWNULL),POINTDOT,LINETHICK6,COLOR0000FF;} DRAWICON(CROSS(经典K,经典D),L*0.96,26); {高亮红} 回归斜率买:IF(CROSS(EMA(C,3),回归斜率线A),(L-(H-L)/3),DRAWNULL),POINTDOT,COLOR0000FF;{高亮红} 回归斜率买_:DRAWICON(CROSS(EMA(C,3),回归斜率线A),L*0.98,1),{买}; 回归斜率卖:IF(CROSS(回归斜率线A,EMA(C,2)),(H+(H-L)/3),DRAWNULL),POINTDOT,COLOR00CF00;{中绿} 卖:DRAWICON(CROSS(回归斜率线A,EMA(C,2)),H*1.03,2); 经典KDJ卖:IF(CROSS(经典D,经典K),(H+(H-L)/2),DRAWNULL),CROSSDOT,LINETHICK3,COLOR00CF00;{中绿}; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,9,1); D:=SMA(K,9,1); J:=3*K-2*D; X2:=LLV(J,2)=LLV(J,8); {DRAWTEXT(CROSS(J,REF(J+0.01,1))ANDX2ANDJ 20,LOW*0.99,'★买'),COLORYELLOW;} DRAWICON(CROSS(J,REF(J+0.01,1))ANDX2ANDJ 20,LOW*0.99,23); VAR6:=REF(C,1); VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(Abs(C-VAR6),6,1)*100; DRAWTEXT(CROSS(84,VAR7),H*1.01,'逃顶'),COLORYELLOW; AA:=(REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1)) 0.6AND(MIN(O,C)-L)/(H-L) 0.6ANDvol REF(VOL,1); DRAWTEXT(AA,L*0.99,'揉搓'),COLORRED; C3:=REF(C,1); 跌停:=IF((C3-C)*100/C3 =(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,3,0),COLORBLUE; STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN; {DRAWTEXT(跌停,H+0.1,'跌停'),COLORGREEN;} 涨停:=IF(REF(C,1)*1.095-C 0.01,1,0); STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED; STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW; {DRAWTEXT(涨停,L-0.1,'板'),COLORYELLOW;} M1:=EMA(EMA(C,21),3); M2:=EMA(EMA(C,34),3); TT2:=CROSS(C,M1)ANDCROSS(C,M2); DRAWTEXT(TT2,L*0.96,'阳');
    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信经典公式集锦 加入收藏