见红必涨通达信指标公式源码

合集下载

通达信指标公式源码 风雨过见彩虹附图

通达信指标公式源码 风雨过见彩虹附图

{风雨过见彩虹附图}{西电进出实用源码}V1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;V2:=IF(V1>0,V1,0);V3:STICKLINE(V1>0,V1,0,3,0),COLORRED;U4:=EMA(EMA(V1,30),3)*2,COLORFF99FF;X:=0;F1:=ZIG(3,15);阴雨天:IF((F1> REF(F1,1)),0,20),COLORFFCC00,LINETHICK1; STICKLINE(阴雨天=20,20,0,3,0),COLORFF8868;重心:=(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);Q5:=MA(C,4);压力:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1);低吸:=CROSS(SJ,ZJ) AND LAST(SJ<ZJ,5,1) ANDSJ<30,COLORRED,LINETHICK2;小心雷击:IF(C>1.02*MA(C,4) AND CROSS(C,MA(C,4)) AND C>压力AND C>O,0.1,0),COLORWHITE;STICKLINE(小心雷击,0,10,1,0),COLORWHITE;A:(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100,COLORWHITE,LINETHICK1; B:EMA(EMA(V1,30),3)*2,CIRCLEDOT,COLORFF00FF;量:=IF(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),1.5,0)LINETHICK2;绝底:=IF(L<=LLV(L,100),-1,0)LINETHICK2;初晴:=IF(COUNT(C/REF(C,1)<0.96,6)>=1 AND LAST(C<O,2,1) AND (REF(L,1)/REF(C,4)<0.85 ORL/REF(C,3)<0.85) AND C>O,1.2,0),COLORGREEN,LINETHICK2;雨后见彩虹:IF((阴雨天=0 AND 量AND 初晴) OR (阴雨天=0 AND 量AND 绝底) OR(阴雨天=0 AND 绝底AND 初晴),5,0),COLORYELLOW,LINETHICK2; STICKLINE(雨后见彩虹,28,15,2,0),COLORRED;STICKLINE(雨后见彩虹,15,5,5,0),COLOR00FF00;STICKLINE(雨后见彩虹,5,0,8,0),COLORFF0080;。

通达信指标公式源码大全

通达信指标公式源码大全

通达信指标公式源码大全Profit: EMA(EMA(EMA(High,5),5)*1.15.Color=ffffff。

LineThickness=1;Risk: EMA(EMA(High,5),5)*1.1.Color=yellow;Drawdown:EMA(MA(EMA(High,5),5),5)*1.05.Color=00FF00;Balance: EMA(EMA(EMA(High,5),5)。

Color=FF00FF。

LineThickness=1;Rebound: MA(MA(MA(High,5),5)*0.95.Color=gray。

LineThickness=1;Oversold: MA(MA(MA(Close,5),5)*0.9.Color=blue。

LineThickness=1;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),34,1)/SMA(ABS(Close-REF(Close,1)),7,1)*100;VAR9:=SMA(Max(Close-REF(Close,1),13,1)/SMA(ABS(Close-REF(Close,1)),13,1)*100;VAR10:=IF(Cross(3,16,1)=0 AND High>Low+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Rewritten:The profit ___ (EMA) of the high price over 5 ds。

通达信指标公式源码 让你不错过任何一个主升浪

通达信指标公式源码 让你不错过任何一个主升浪

{N=18,N1=10}O1:=(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1; O2:=EMA(O1,3),COLORFF00FF,LINETHICK1;O3:=EMA(O2,3),COLOR00FF00,LINETHICK1;MMM:=MA(CLOSE,20);DRAWTEXT((CLOSE<MMM),MMM,'*'),COLOR00FF00,LINETHICK5; DRAWTEXT((CLOSE>MMM),MMM,'*'),COLOR0000FF,LINETHICK5; VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;{粉}STICKLINE(CLOSE< REF(CLOSE,1),HIGH,LOW,0,0 ),COLOR00DD00; STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,3.2,0 ),COLORFF33FF; STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,2.7,0 ),COLORFF55FF; STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,2.1,0 ),COLORFF77FF; STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,1.5,0 ),COLORFF99FF; STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,0.9,0 ),COLORFFBBFF; STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,0.3,0 ),COLORFFDDFF; {金}STICKLINE(CLOSE> REF(CLOSE,1),HIGH,LOW,0,0 ),COLOR000DDD; STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,3.2,0 ),COLOR003333; STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,2.7,0 ),COLOR005555; STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,2.1,0 ),COLOR007777; STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,1.5,0 ),COLOR009999; STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,0.9,0 ),COLOR00BBBB;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,0.3,0 ),COLOR00DDDD; {红}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,CLOSE,REF(CLOSE,1),3.2,0),COLOR000555;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,CLOSE,REF(CLOSE,1),2.7,0),COLOR000777;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,CLOSE,REF(CLOSE,1),2.1,0),COLOR000999;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,CLOSE,REF(CLOSE,1),1.5,0),COLOR000BBB;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,CLOSE,REF(CLOSE,1),0.9,0),COLOR000DDD;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,CLOSE,REF(CLOSE,1),0.3,0),COLOR000FFF;{绿}STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),3.2,0),COLOR005500;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),2.7,0),COLOR007700;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),2.1,0),COLOR009900;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),1.5,0),COLOR00BB00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0.9,0),COLOR00DD00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0.3,0),COLOR00FF00;{紫}STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLOR550055; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLOR770077; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLOR990099; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORBB00BB; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORDD00DD; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFF00FF; {蓝}STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLORFF3300; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLORFF5500; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLORFF7700; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF9900; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORFFBB00; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFFDD00; DRAWTEXT(FILTER(VAR19=1,5),LOW,' '),COLORFF00FF;DRAWICON(FILTER(VAR19=1,5),LOW,9);DRAWTEXT(FILTER(VAR1A=1,5),HIGH,' '),COLOR00FF00;DRAWICON(FILTER(VAR1A=1,5),HIGH,15);{大量:=HHV(V,N)=V;小量:=LLV(V,N)=V;大量高价线:IF(BARSLAST(大量)>0,REF(H,大量),DRAWNULL),COLORFF00FF; 小量低价线:IF(BARSLAST(小量)>0,REF(H,小量),DRAWNULL),COLOR00FFFF;} {N 2.00 30.00 10.00}{LL1:=O>=REF(C,1) AND C>O AND C>REF(HHV(H,N1),1);LL2:=L>REF(L,1) AND C>O AND C>REF(HHV(H,N1),1);LL:=LL1 AND LL2;DRAWTEXT(LL,LOW*0.99,'涨停'),COLORYELLOW;}{无里头一号中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF00FF,LINETHICK2; 上: BBI+3*STD(BBI,10),COLOR00FF00;下: BBI-3*STD(BBI,10),COLOR0000FF;安全:=MA(C,30),CIRCLEDOT,COLORFF00FF;TJ1:=下*1.05>中AND 中*1.05>上AND 中>=REF(中,1) ANDREF(中,1)>=REF(中,2);TJ2:=LLV(REF(VOL,1),60);VAR91:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);VAR92:=VAR91/5;LB:=V/VAR92;TJ3:=LB>2 OR VOL/REF(VOL,1)>2;TJ4:=C<LLV(LOW,250)*2;XG:=TJ1 AND TJ3 AND TJ4;DRAWICON(XG,LOW*0.96,23);};{VAR444:=C;}操作:=MA(C,5);生命线:HHV(操作,13),LINETHICK1,COLORWHITE;{收盘破此线短逃};MA(C,5),COLOR00FF00;X1A:=30;X1B:HHV(C,X1A),COLORFF5500;X1C:=IF(ISLASTBAR,BARSLAST(C=CONST(X1B))+1,1/0);X1D:=IF(X1C=1,' 1',IF(X1C=2,' 2',IF(X1C=3,' 3',IF(X1C=4,' 4',IF(X1C=5,' 5', IF(X1C=6,' 6',IF(X1C=7,' 7',IF(X1C=8,' 8',IF(X1C=9,' 9',IF(X1C=10,' 10',IF(X1C=11,' 11',IF(X1C=12,' 12',IF(X1C=13,' 13',IF(X1C=14,' 14',IF(X1C=15,' 15',IF(X1C=16,' 16',IF(X1C=17,' 17',IF(X1C=18,' 18',IF(X1C=19,' 19',IF(X1C=20,' 20',IF(X1C=21,' 21',IF(X1C=22,' 22',IF(X1C=23,' 23',IF(X1C=24,' 24',IF(X1C=25,' 25',IF(X1C=26,' 26',IF(X1C=27,' 27',IF(X1C=28,' 28',IF(X1C=29,' 29',IF(X1C=30,' 30',' 0'))))))))))))))))))))))))))))));X1E:DRAWTEXT(ISLASTBAR,X1B,X1D),COLORFF5500;X2A:=30;X2B:LLV(C,X2A),COLORFF00FF;X2C:=IF(ISLASTBAR,BARSLAST(C=CONST(X2B))+1,1/0);X2D:=IF(X2C=1,' 1',IF(X2C=2,' 2',IF(X2C=3,' 3',IF(X2C=4,' 4',IF(X2C=5,' 5', IF(X2C=6,' 6',IF(X2C=7,' 7',IF(X2C=8,' 8',IF(X2C=9,' 9',IF(X2C=10,' 10',IF(X2C=11,' 11',IF(X2C=12,' 12',IF(X2C=13,' 13',IF(X2C=14,' 14',IF(X2C=15,' 15',IF(X2C=16,' 16',IF(X2C=17,' 17',IF(X2C=18,' 18',IF(X2C=19,' 19',IF(X2C=20,' 20',IF(X2C=21,' 21',IF(X2C=22,' 22',IF(X2C=23,' 23',IF(X2C=24,' 24',IF(X2C=25,' 25',IF(X2C=26,' 26',IF(X2C=27,' 27',IF(X2C=28,' 28',IF(X2C=29,' 29',IF(X2C=30,' 30',' 0'))))))))))))))))))))))))))))));X2E:DRAWTEXT(ISLASTBAR,X2B,X2D),COLORFF00FF;。

通达信公式源码指标暴涨启动点副图源码 通达信

通达信公式源码指标暴涨启动点副图源码 通达信

暴涨启动点副图源码通达信贴图这是一个可能暴涨的提前筛选指标,可以选出来盘中跟踪,出现急拉是可跟进,也可以稍回调后跟进DIF:EMA(CLOSE,9)-EMA(CLOSE,150),NODRAW;DEA:EMA(DIF,12),NODRAW;MACD:2*(DIF-DEA),COLORSTICK;DIK:4*DIF-3*DEA,COLORYELLOW;DED:=EMA(DIK,1),COLORGREEN;IF(C>DED,DED,DRAWNULL),COLORRED,LINETHICK3;IF(DED<=REF(DED,1),DED,DRAWNULL),COLORGREEN,LINETHICK3;Æô¶¯µã:=MACD<0 AND MACD>REF(MACD ,1) ANDREF(MACD ,1)<REF(MACD ,2)AND REF(MACD ,2)<REF(MACD ,3)AND REF(MACD ,3)<REF(MACD ,4);STICKLINE(Æô¶¯µã,8,MACD,2,0),COLORMAGENTA;·Ö½çÏß:0,COLORFF00FF;DRAWICON(Æô¶¯µã,20,11);STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB; STICKLINE(MACD<=REF(MACD,1) ANDMACD>0,0,MACD,1.8,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD>0,0,MACD,1.1,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD>0,0,MACD,0.6,0),COLOR40FF00;STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR000055; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR000099; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR0000BB; STICKLINE(MACD<=REF(MACD,1) ANDMACD<0,0,MACD,1.8,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD<0,0,MACD,1.1,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD<0,0,MACD,0.6,0),COLOR40FF00;。

通达信指标公式源码 必涨指标 副图源码 有未来

通达信指标公式源码 必涨指标 副图源码 有未来

清仓:=1.66*MA(FORCAST(CLOSE,2),40),COLORRED;出货:=1.36*MA(FORCAST(CLOSE,2),40),COLOR08FFFF;高抛:=1.16*MA(FORCAST(CLOSE,2),40),COLORFF82FF;低吸:=0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300;满仓:=0.72*MA(FORCAST(CLOSE,2),40),COLORGREEN;强通1:=清仓>REF(清仓,1),;强通2:=出货>REF(出货,1),;强通3:=高抛>REF(高抛,1),;强通4:=低吸>REF(低吸,1),;强通5:=满仓>REF(满仓,1),;上升通道:=强通1 AND 强通2 AND 强通3 AND 强通4 AND 强通5,; MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10),;MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);五强:=MA5>REF(MA5,1),;十强:=MA10>REF(MA10,1),;二十强:=MA20>REF(MA20,1),;三十强:=MA30>REF(MA30,1),;六十强:=MA60>REF(MA60,1),;小均强:=五强AND 十强,;均强:=十强AND 二十强AND 三十强,;大均强:=十强AND 二十强AND 三十强AND 六十强,;JJD:=(H+L+C)/3;强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) /3),8),60),COLORRED,LINETHICK2;强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) /3.18),8),20),COLORWHITE,LINETHICK2;强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) /3.258),8),10),COLORYELLOW,LINETHICK2;强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) /3.08),80),13),COLORLIMAGENTA,LINETHICK2;开始走强1:=强势线1>REF(强势线1,1),;开始走强2:=强势线2>REF(强势线2,1),;开始走强3:=强势线3>REF(强势线3,1),;开始走强4:=强势线4>REF(强势线3,1),;双强1:=开始走强1 AND 开始走强2,;双强2:=开始走强2 AND 开始走强3,;双强3:=开始走强2 AND 开始走强3,;双强4:=开始走强3 AND 开始走强4,;三强:=开始走强1 AND 开始走强2 AND 开始走强3,;四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4,; 强势为王:=双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强OR 四强,;VV:=(C+L+H)/3;DSA:=SMA(XMA(VV,15),2,1)LINETHICK3;顶部1:=DSA*1.0888,COLORMAGENTA,LINETHICK1;顶部2:=DSA*1.158,COLORBROWN,LINETHICK1;顶部3:=DSA*1.218,COLORRED,LINETHICK1;底部1:=DSA*0.9518,COLORLICYAN,LINETHICK1;底部2:=DSA*0.888,COLORLIMAGENTA,LINETHICK1;底部3:=DSA*0.8,COLORGREEN,LINETHICK1;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,60);五日走强:=MA1>REF(MA1,1),;十日走强:=MA2>REF(MA2,1),;二十日走强:=MA3>REF(MA3,1),;六十日走强:=MA4>REF(MA4,1),;低位主升:=五日走强AND 十日走强AND 六十日走强,;主升浪:=五日走强AND 十日走强AND 二十日走强,;大主升浪:=十日走强AND 二十日走强AND 六十日走强,;大主升浪2:=五日走强AND 十日走强AND 二十日走强AND 六十日走强,; 总主升:=主升浪AND 大主升浪AND 大主升浪2,;总主升浪:=低位主升OR 主升浪OR 大主升浪OR 大主升浪2 OR 总主升,; 绝对主升浪:L<底部1 AND 总主升浪AND 强势为王ANDC<DSA,COLORYELLOW,LINETHICK2;回调加仓:L<底部1 AND C<DSA AND 强势为王,COLORMAGENTA,LINETHICK2,LINESTICK;DRAWICON(回调加仓>0,1.1,1);老介出马:绝对主升浪AND 回调加仓AND H<DSA,COLORRED,;;A:=MA(C,30);A1:=A*1.1;A4:=A*0.9;A2:=A1-(A1-A4)*0.191;持仓:=IF(HIGH*1.01>A2 ORREF(HIGH,1)>REF(A2,1),A1,A4),LINETHICK3,COLORRED;生命线:=IF(HIGH*1.01>A2 ORREF(HIGH,1)>REF(A2,1),A2,A4),LINETHICK3,COLORFFFFFF;主升持仓:=持仓>生命线,;主升1:=持仓>REF(持仓,1),;主升2:=生命线>REF(生命线,1),;主升:=主升1 AND 主升2,;堆量连阳:=(老介出马AND 主升持仓AND 主升) OR (回调加仓AND 主升持仓AND 主升),;介必升选股:(堆量连阳AND 小均强) OR (回调加仓AND 小均强),COLORYELLOW,LINETHICK4,STICK;DRAWICON(介必升选股>0,1.1,3);DRAWICON(介必升选股>0,1.1,1);DRAWICON(介必升选股>0,0.6,7);DRAWICON(介必升选股>0,0.3,9);。

底部+资金流进=必涨通达信指标公式源码

底部+资金流进=必涨通达信指标公式源码

通达信公式:底部+资金流进=必涨买:=MA(CLOSE,1);卖:=(LOW+HIGH+CLOSE)/3;奇:= MA(卖,5);准:= HHV(奇,10);急卖奇准:IF(HHV((买<准),5),50,10),COLORFF6699;STICKLINE(急卖奇准=10,50,10,1,1),COLORFF6699;短卖奇准:IF(HHV((买<准),10),50,20),COLORGREEN;STICKLINE(短卖奇准=20,50,20,1,0),COLORGREEN;TTR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TTR);辅助线:=((DMM * 100) / TTR);XXX:=(MA(((ABS((辅助线- 神偷线)) / (辅助线+ 神偷线)) * 100),3));奇准:= MA(卖,5);买卖:=LLV(奇准,10);底部关注:IF(((XXX > 88) AND (神偷线< 5.8)),95,50),LINETHICK1,COLORYELLOW; STICKLINE(底部关注=95,50,95,1.5,0),COLORYELLOW,LINETHICK1;急买奇准:IF(LLV((买<买卖),5),75,50),COLORRED,LINETHICK1;STICKLINE(急买奇准=75,50,75,1.5,0),COLORRED,LINETHICK1;短买奇准:IF(LLV((买<买卖),10),85,50),COLORRED,LINETHICK1;STICKLINE(短买奇准=85,50,85,1.5,0),COLORRED,LINETHICK1;ADXR:=((XXX + REF(XXX,3)) / 2);VAR1:=MA(LOW,1);VAR2:=MA(HIGH,2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);动向趋势线:XXX,LINETHICK2,COLORFFAA66;。

通达信指标公式源码 立庄量 筹码主图 疯狂拉升 副图指标

通达信指标公式源码 立庄量 筹码主图 疯狂拉升 副图指标

{立庄量}VOLUME:=VOL,LINETHICK0;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,10);V2:=IF(BARSTATUS=2,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1),COLORRED; STICKLINE(V2>=1,(LLV(L,10)/2+HHV(H,10)/2),C,2,0),COLORYELLOW;{筹码主图}底线:=COST(30),COLOR00FF00;拉升线:=COST(70),COLORFF00FF;逃顶线:=COST(90);风险线:=HHV(COST(90),20);VV:=HHV(COST(90),10);XX:=LLV(COST(70),20);拉升阶级:=IF(XX<拉升线,XX,0),COLORWHITE,LINETHICK0;STICKLINE(XX<拉升线,XX,拉升线,1,0),COLORFF5B90;疯狂拉升:=IF(XX<底线,底线,0),COLORYELLOW,LINETHICK0;STICKLINE(XX<底线,底线,拉升线,1,0),COLOR98A154;套牢筹码:=IF(逃顶线<VV,逃顶线,0),COLORWHITE,LINETHICK0;STICKLINE(逃顶线<VV,逃顶线,VV,1,0),COLORBLUE;{鱼身}M1:=IF(CAPITAL<1,EMA(VOL,55),C);M2:=IF(CAPITAL<1,WMA(M1,360),DMA(M1,VOL/CAPITAL));M3:=IF(CAPITAL<1,DMA(MA(C,5),VOL/VOL/CAPITAL),DMA(MA(C,5),VOL/CAPITAL)); STICKLINE(M1>M2,MA(C,14)*0.97,M3*0.97,1,0),COLORMAGENTA;持股:IF(M1>M2,1,0),COLORCC00CC,LINETHICK0,NODRAW;持币:IF(M1<=M2,1,0),COLORCC00CC,LINETHICK0,NODRAW;STICKLINE(M1<M2,MA(C,14)*0.97,M3*0.97,1,0),COLORCYAN;{STICKLINE(C>=O ,O ,C ,3 ,0 ),COLORRED;STICKLINE(O> C ,C ,O ,3 ,0 ),COLORFFFFCC;STICKLINE(C>=O ,C ,H ,0 ,0 ),COLORRED;STICKLINE(C>=O ,O ,L ,0 ,0 ),COLORRED;STICKLINE(O> C ,C ,L ,0 ,0 ),COLORFFFFCC;STICKLINE(O> C ,O ,H ,0 ,0 ),COLORFFFFCC;}市场重心:(HHV(H,0)+LLV(L,0))/2,COLORYELLOW;{八线}七天线:EMA(C,7);持股线:EMA(C,15),COLORRED,LINETHICK2;生命线:EMA(C,25),COLORGREEN;初月线:EMA(C,34),COLORYELLOW;双月线:EMA(C,56),COLOR0099FF,LINETHICK2;长牛线:EMA(C,235),COLORMAGENTA;牛熊线:EMA(C,453),COLORWHITE,LINETHICK3;STICKLINE(C<持股线,H,L,0,1),COLORGREEN;STICKLINE(C<持股线,O,C,2,1),COLORGREEN;STICKLINE(C>持股线,H,L,0,0),COLORRED;STICKLINE(C>持股线,O,C,2,0),COLORRED;{大箱体}{顶: COST(95)*1, LINEDOT,COLORRED;}VAR11:=(2*CLOSE+HIGH+LOW)/4;底: EMA(VAR11,99)*0.91,DOTLINE,COLORGREEN;{霸王庄}主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);指数趋势:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3); 强弱分界:=80;主力筹码集中度:=WINNER(C)*100;散筹筹码集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;QIANG:=(主力持仓-散筹筹码集中度)>20 AND (主力筹码集中度-散筹筹码集中度)>0 AND 主力持仓>50;强庄坐镇:=IF(QIANG,1,0),COLORRED,LINETHICK0;DRAWTEXT(强庄坐镇,(底* 0.99),'●'),COLORYELLOW;●霸王庄●:=IF(QIANG AND 主力筹码集中度-散筹筹码集中度>20,1,0),LINETHICK0,COLORFF80FF,NODRAW;DRAWTEXT(●霸王庄●,(底* 0.98),'●'),COLORRED;。

通达信指标公式源码通达信趋势波浪指标源码打破一买就跌一卖就涨

通达信指标公式源码通达信趋势波浪指标源码打破一买就跌一卖就涨

通达信指标公式源码通达信趋势波浪指标源码打破一买就跌一卖就涨K1:=10;K2:=20;K3:=30;K4:=40;K5:=50;K6:=60;K7:=70;K8:=80;K9:=90;K10:=100;K11:=110;K12:=120;N1:=K1*2-1;N2:=K2*2-1;N3:=K3*2-1;N4:=K4*2-1;N5:=K5*2-1;N6:=K6*2-1;N7:=K7*2-1;N8:=K8*2-1;N9:=K9*2-1;N10:=K10*2-1;N11:=K11*2-1;N12:=K12*2-1;S1:=EMA(C,N1); S2:=EMA(C,N2); S3:=EMA(C,N3); S4:=EMA(C,N4); S5:=EMA(C,N5); S6:=EMA(C,N6); S7:=EMA(C,N7); S8:=EMA(C,N8); S9:=EMA(C,N9); S10:=EMA(C,N10); S11:=EMA(C,N11); S12:=EMA(C,N12);M1:=EMA(S1,K1);M2:=EMA(S2,K2);M3:=EMA(S3,K3);M4:=EMA(S4,K4);M5:=EMA(S5,K5);M6:=EMA(S6,K6);M7:=EMA(S7,K7);M8:=EMA(S8,K8);M9:=EMA(S9,K9);M10:=EMA(S10,K10);M11:=EMA(S11,K11);M12:=EMA(S12,K12);TJB:=(M1+M2+M3+M4+M5+M6+M7+M8+M9+M10+M11+M12)/12;由于股市中的涨跌曲线非常复杂,买超强涨股,卖跌停股,是一种吸血模式,有利于无穷的累计财富,因此建立更稳定的趋势波浪指标特别重要。

趋势波浪指标,被称为TJB指标,它由短期均线和长期均线组成,分别由短期周期最高的10、20、30、40、50、60、70、80、90、100、110、120拟合出的短期均线,长期周期最高的10、20、30、40、50、60、70、80、90、100、110、120拟合出的长期均线,组合起来即为TJB指标,通常情况下,TJB指标的上升趋势表明股票正处于上涨趋势。

通达信指标公式源码 红球预警副图主图选股指标

通达信指标公式源码 红球预警副图主图选股指标

VAR55:=EMA(EMA(EMA(CLOSE,8),13),62);VAR56:=((REF(HIGH,1) + REF(LOW,1)) / 2);VAR57:=(MA(CLOSE,20) + (2 * STD(CLOSE,20)));VAR58:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),7,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),7,1)) * 100);卖出1:=FILTER(CROSS(79,VAR58),4);MA21:=REF(CLOSE,1);ZX:=((SMA(MAX((CLOSE - MA21),0),6,1) / SMA(ABS((CLOSE - MA21)),6,1)) * 100);卖出2:=CROSS(84,ZX);卖出3:=CROSS(90,RSI);卖出:=卖出1 OR 卖出2 OR 卖出3;DRAWICON(卖出,(LOW * 1.1),12);A:=EMA((EMA(C,29)+EMA(C,31)+EMA(C,33))/3,3);A1:=EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLOR1010FF;A3:=IF(K2!=2,EMA((EMA(C,5)+EMA(C,6)+EMA( C,7))/3,3),DRAWNULL),COL ORCYAN,LINETHICK3;{COLOR1030FF;}A4:=IF(K2!=2,EMA((EMA(C,7)+EMA(C,9)+EMA( C,11))/3,3),DRAWNULL),COLOR1040FF;A5:=IF(K2!=2,EMA((EMA(C,9)+EMA(C,11)+EMA( C,13))/3,3),DRAWNULL)COLOR1050FF;A6:=IF(K2!=2,EMA((EMA(C,11)+EMA(C,13)+EMA( C,15))/3,3),DRAWNULL)COLOR1060FF;A7:=IF(K2!=2,EMA((EMA(C,13)+EMA(C,15)+EMA( C,17))/3,3),DRAWNULL)COLOR1070FF;A8:=IF(K2!=2,EMA((EMA(C,15)+EMA(C,17)+EMA( C,19))/3,3),DRAWNULL)COLOR1080FF;A9:=IF(K2!=2,EMA((EMA(C,17)+EMA(C,19)+EMA( C,21))/3,3),DRAWNULL),COLORLIMAGEN TA;{COLOR1080EF;}{好}A10D:=IF(K2!=2,EMA((EMA(C,19)+EMA(C,21)+EMA( C,23))/3,3),DRAWNULL),COLORLIMAGEN TA;{COLOR10C0FF;}A11D:=IF(K2!=2,EMA((EMA(C,21)+EMA(C,23)+EMA( C,25))/3,3),DRAWNULL),COLORWHITE,LI NETHICK2;A15D:IF(K2!=2,A-(A1-A*0.977),DRAWNULL),COLORBLUE,LINETHICK3;{COLORFF0000;原997} A24D:=IF(K2!=2, A-(A10D-A),DRAWNULL)COLORF6D030;A25D:=IF(K2!=2, A-(A11D-A*0.987),DRAWNULL)COLORF5F030;{原997}AK2:=IF(K2=2,EMA((EMA(C,5)+EMA(C,7)+EMA( C,9))/3,3),DRAWNULL);AK1:=IF(K2=2,A-(A1-A*0.987),DRAWNULL);{原997}{5日变色线}越过成仙M240:MA(C,240),COLORGRAY,LINETHICK1;M144:=MA(C,144),COLORWHITE,LINETHICK1;M88:=MA(C,88),COLORLIGRAY,LINETHICK1;越过有道M120:MA(C,120),COLORMAGENTA,LINETHICK1;{越过强势M60:MA(C,60),COLORGREEN,LINETHICK3;}M30:=MA(C,27),COLORGREEN,LINETHICK2;M20:=MA(C,17),COLORMAGENTA,LINETHICK2;M10:=MA(C,10),COLORWHITE,LINETHICK1;M5:MA(C,3),COLORRED,LINETHICK3;BB55:=ATAN((M5/REF(M5,1)-1)*100)*180/3.1416;IF(BB55>30 AND M5>REF(M5,1), M5,DRAWNULL),COLORRED,LINETHICK3; BB100:=ATAN((M10/REF(M10,1)-1)*100)*180/3.1416;IF(BB55<0 AND M5<REF(M5,1), M5,DRAWNULL),COLORCYAN,LINETHICK2;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));{变色下插支撑线}{YM:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3, 40);YM1:=EMA(YM,1),NODRAW;YM2:=EMA(YM1,2),NODRAW;DRAWBAND(YM1,RGB(240,120,80),YM2,RGB(40,240,50));{变色条。

通达信超牛龙头股指标公式

通达信超牛龙头股指标公式

通达信超牛龙头股指标公式涨跌:=REF(C,1);涨停:=IF(((((C - 涨跌) * 100) / 涨跌) >= (10 - ((0.01 * 100) / 涨跌))),1,0);DIF:=(EMA(C,12) - EMA(C,26));DEA:=EMA(DIF,9);MACD:=((DIF - DEA) * 2);VAR2:=(CLOSE * VOL);VAR3:=EMA((((((EMA(VAR2,3) / EMA(VOL,3)) + (EMA(VAR2,6) / EMA(VOL,6))) + (EMA(VAR2,12) / EMA(VOL,12))) + (EMA(VAR2,24) / EMA(VOL,24))) / 4),13);VAR4:=EMA(CLOSE,9);飞狐线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 20) / 100));强势线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 6) / 100));支撑线:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);压力线:=EMA((VAR4 * 1.14),5);盈损线:=(LLV(REF(LOW,1),2) + ((HHV(REF(HIGH,1),2) - LLV(REF(LOW,1),2)) / 2));QD:=(((C > 强势线) AND (C > 支撑线)) AND (C > 盈损线));小妖:=((COUNT(QD,10) = 1) AND QD);XYJJ:=BARSLAST(小妖);JS:=CROSS(C,压力线);妖狐:=((COUNT(JS,XYJJ) <= 1) AND JS);HX1:=((REF(妖狐,1) AND (O > 压力线)) AND (C > 压力线));HX2:=((REF(妖狐,1) AND CROSS(C,飞狐线)) AND (C > 压力线));狐仙前世:=(小妖 AND 妖狐);狐仙金身:=(HX1 OR HX2);妖狐王:=((((REF(涨停,1) AND (O > 压力线)) AND (O > REF(H,1)))AND (REF(H,1) < REF(压力线,1))) AND (L >= 压力线));XG:=((狐仙前世 OR 狐仙金身) OR 妖狐王);AAAA:=MA(C,1);AAA:=SMA(SMA(SMA(AAAA,2,1),2,1),2,1);BBB:=MA(AAA,3);DRAWBAND(AAA,RGB(255,255,0),BBB,RGB(0,0,255));CCC:=(3*C+L+O+H)/6;牛线:=(20*CCC+19*REF(CCC,1)+18*REF(CCC,2)+17*REF(CCC,3)+16 *REF(CCC,4)+15*REF(CCC,5)+14*REF(CCC,6)+13*REF(CCC,7)+12* REF(CCC,8)+11*REF(CCC,9)+10*REF(CCC,10)+9*REF(CCC,11)+8* REF(CCC,12)+7*REF(CCC,13)+6*REF(CCC,14)+5*REF(CCC,15)+4* REF(CCC,16)+3*REF(CCC,17)+2*REF(CCC,18)+REF(CCC,20))/210,c olorred,LINETHICK2;马线:=MA(牛线,5);DRAWBAND(牛线,RGB(255,40,0),马线,RGB(256,200,0));STICKLINE(IF((C>REF(C,1)*1.096),2,0),OPEN,CLOSE,3,0),color red;DRAWTEXT(XG=1,LOW-0.05,'超牛龙头'),coloryellow;。

千载难逢+见红有庄通达信指标公式源码

千载难逢+见红有庄通达信指标公式源码

市场趋势[0|1]:0代表无趋势为震荡市,1代表单边趋势市。

单边趋势市操作思路:大周期判断趋势---小周期入场---移止损至市场成本---看大周期移止损---止损变止盈---碰止盈---大周期趋势改变。

我的系统理念就是这样,把所有的行情都当单边来做,不主动平仓而让它自己发展,只是不断提高止损。

当碰到不可避免的震荡时,小周期止损+尽快移至成本,系统也不会来回的耳光。

而大单边来时,相信也有不错的表现,毕竟我们已经控制住了“亏损”,不是么!觉得有些细节还是没有说清楚:1、大周期判断趋势---是要入多单还是空单?2、小周期入场(数量级不宜差太大)---过滤小周期逆向波,右侧交易。

3、设止损--- 按照小周期图表交易系统。

4、止损移至市场成本价---小周期有“适当”盈利后再移。

5、入场工作结束--- 小周期关掉不看,回到大周期图表。

6、若碰止损,重复1~5。

7、若大周期出现有利趋势,止损不断朝有利方向移动---按照大周期图表的交易系统。

8、碰止损(止赢),循环以上操作。

?再结合我提到的3点细节,我想因该比较清晰了。

1、在高一级周期出现转向信号之后,再在低一级周期执行同向的信号操作,逆向的则过滤掉。

这样,胜算会增加一些。

止损不断沿高一级周期的趋势方向移动。

例如:日线上面出现了做多的信号之后,我会在30分钟图形看信号,若30分钟为下跌,立马过滤掉!直到30分钟的下跌结束,转为上涨时才入场多单。

2、如果要抓住单边行情,必定要舍弃在短周期频繁操作的思维。

如何避免频繁交易?只能选择使用高一级时间周期的信号平仓。

但是,入场仍然必须在小周期,因为止损代价小。

3、小周期入场后,要尽快地(适当)将止损移至开仓位,保证单笔交易的安全性。

以上3点重要性依次递增!!!特别是最后一条!可以说是我理念的灵魂!想再强调的是:1.无序的震荡可能会连续地把你止损出去,市场根本就不尊重我们,所以迅速移至成本非常地重要。

2.设计和优化系统一定从最坏的情况来考虑,不要老想着怎么多赚。

通达信经典见红有喜选股公式

通达信经典见红有喜选股公式
VAR11:=1;
VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;
VAR13:=EMA(VAR12,21);
VAR14:=STD(VAR12,21);
VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11;
VAR16:=(EMA(VAR15,89)-25)*1.56*VAR11;
VAR5:=REF(LLV(CLOSE,480),1)*VAR1;
VAR6:=REF(HHV(CLOSE,480),1)*VAR1;
VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;
VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1;
VAR17:=EMA(VAR16,5)*1.22*VAR11;
VAR18:=EMA(VAR17,3)*VAR11;
VAR19:=3*VAR17-2*VAR18*VAR11;
VAR1A:=IF(CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18) AND CROSS(VAR17,VAR18),1,0);
VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1;
VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1;
VARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1;

通达信源码指标公式红码技术

通达信源码指标公式红码技术

导引公式:SQWEVAR1:=(C+H+O+L)/4;SQWE:XMA(VAR1,32)*(1-100/1000);STICKLINE(C>0,0,10,15,0),COLOR781816;AQWEVAR1:=(C+H+O+L)/4;AQWE:XMA(VAR1,20)*(1+80/1000);STICKLINE(C>0,0,10,15,0),COLOR781816;黑码通道主图STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR000055; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000088; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR0000AA; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000FF; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000EE; STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLOR666600; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555500; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR888800; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORAAAA00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORCCCC00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOREEEE00; STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3.1,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; SS1:=1121010;SS3:=DATE<SS1;AAA1:=(C-REF(C,1))/REF(C,1)>=0.058 AND (C-REF(C,1))/REF(C,1)<0.095 AND SS3;AA2:=(C-REF(C,1))/REF(C,1)>=0.098 AND SS3;STICKLINE(AAA1,O,C,0,1 ),COLOR9B37FF;STICKLINE(AAA1,OPEN,CLOSE,3,0 ),COLOR6300C6;STICKLINE(AAA1,OPEN,CLOSE,2.7,0 ),COLOR6D00DB;STICKLINE(AAA1,OPEN,CLOSE,2.1,0 ),COLOR7800F0;STICKLINE(AAA1,OPEN,CLOSE,1.5,0 ),COLOR8000FF;STICKLINE(AAA1,OPEN,CLOSE,0.9,0 ),COLOR8F20FF;STICKLINE(AAA1,OPEN,CLOSE,0.3,0 ),COLOR9B37FF;{DRAWTEXT(AAA1,L*0.96,'大阳'),COLOR9B37FF;}STICKLINE(AA2,C,O,3,0 ),COLOR00AAFF;STICKLINE(AA2,C,O,2.1,0 ),COLOR00BBFF;STICKLINE(AA2,C,O,1.5,0 ),COLOR00CCFF;STICKLINE(AA2,C,O,1,0 ),COLOR00DDFF;STICKLINE(AA2,C,O,0.6,0 ),COLOR00EEFF;STICKLINE(AA2,C,O,0.2,0 ),COLOR00FFFF;{DRAWTEXT(AA2,L*0.98,'涨停'),COLOR00DDDD;DRAWICON( AA2,L*0.98,1);}AA1:="AQWE.AQWE#DAY";BB1:="SQWE.SQWE#DAY";VAR1:=(C+H+O+L)/4;SJXZ:=IF(DATE<1931128,1,0);DRAWTEXT_FIX(1=1,0.7,0,0,''),COLORWHITE;通道上轨:AA1*SJXZ,COLORYELLOW,LINETHICK2;通道下轨:BB1*SJXZ,COLORRED,LINETHICK2;风险:=100*(L-BB1)/BB1,NODRAW;幅度:=100*(AA1-BB1)/BB1,NODRAW;STICKLINE(AA1>LOW ANDAA1<HIGH,AA1,MAX(AA1,MAX(OPEN,CLOSE)),3,0),COLORYELLOW; STICKLINE(AA1>LOW AND AA1<HIGH,AA1,HIGH,0,0),COLORYELLOW; STICKLINE(AA1<LOW,OPEN,CLOSE,3,0),COLORYELLOW; STICKLINE(AA1<LOW,OPEN,CLOSE,1,0),COLORYELLOW; STICKLINE(AA1<LOW,HIGH,LOW,0,0),COLORYELLOW;STICKLINE(BB1>LOW ANDBB1<HIGH,BB1,MIN(MIN(OPEN,CLOSE),BB1),3,0),COLORRED; STICKLINE(BB1>MIN(C,O) ANDBB1<MAX(C,O),BB1,MIN(OPEN,CLOSE),3,0),COLORRED; STICKLINE(BB1>HIGH,OPEN,CLOSE,3,0),COLORRED;STICKLINE(BB1>HIGH,HIGH,LOW,0,0),COLORRED;{VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4); DRAWTEXT(CROSS(动能趋势线,70)AND C>通道上轨,HIGH*1.02,'←卖出'),COLORYELLOW;}{RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND C<通道下轨,LOW,'↖买入'),COLORRED;}DRAWTEXT_FIX(1=1,0.7,0.05,0,''),COLORRED;DRAWTEXT_FIX(1=1,0.7,0.1,0,''),COLORWHITE;H-MAX启动确认副图SJXZ:=IF(DATE<1981128,1,0);DRAWTEXT_FIX(1=1,0.7,0,0,''),COLORWHITE;DIF:=EMA(CLOSE,SS)-EMA(CLOSE,LL);DEA:=EMA(DIF,MM);A:=(DIF-DEA)*2*SJXZ;黄金钻信号:IF(A<0,0,A*A),LINETHICK3,,COLORRED;DIF1:=EMA(CLOSE,SSS)-EMA(CLOSE,LLL);DEA1:=EMA(DIF1,200);AA:=(DIF1-DEA1)*2*SJXZ;启动引导线:IF(A<0,0,AA*AA),LINETHICK2,COLOR0055FF; MID:=MA(CLOSE,30);红码:=MID+2*STD(CLOSE,30),LINETHICK2,COLOR0055FF; XX:=EMA(C,5),LINETHICK2,COLORGREEN; DRAWICON(C>红码AND C>=O ,黄金钻信号,26);。

通达信副图红色看涨(附源码)

通达信副图红色看涨(附源码)

通达信副图红色看涨(附源码)通达信副图红色看涨(附源码)VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));红色持股:STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),4,0),COLOR000099;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,0),COLOR0000CC;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2,0),COLOR0000FF;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),1,0),COLOR0000FF;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0,0),COLOR0000FF;STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,LOW,HIGH,0.1,0),COLOR0000FF;VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));青色观望:STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),4,0),COLORDDDD00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLOREEEE00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 O VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),2,0),COLORFFFF00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),1,0),COLORFFFF00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),0,0),COLORFFFF00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,LOW,HIGH,0.1,0),COLORFFFF00;VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);黄色短买:STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR33 DDCC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR33 EECC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR33 FFCC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),1,0),COLOR33 FFCC;DRAWTEXT(VAR19,REF(CLOSE,1),'短买'),COLOR33FFCC;VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);品红离场:STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORFF 66FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORFF 77FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORFF 88FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1,0),COLORFF 99FF;DRAWTEXT(VAR1A,REF(CLOSE,1)+0.1,'离场'),COLORFF99FF;MA3:=MA(CLOSE,3),COLORGREEN,LINETHICK3;YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;辰星线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+1 6*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL, 8)+11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL,11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YTSL,15)+4*REF( YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+REF(YTSL,20))/211,C OLORFF0000;牵牛线:MA(CLOSE,26),COLORFF00FF;等待:IF(MA3>辰星线,辰星线,MA3);AA:=FORCAST(CLOSE,21);BB:=FORCAST(CLOSE,111);中轨:=MA(CLOSE,26);上轨:=中轨+STD(CLOSE,20);下轨:=中轨-STD(CLOSE,20);上极限:(中轨+2*STD(CLOSE,20)),COLORFFFF00;下极限:(中轨-2*STD(CLOSE,20)),COLORFFFF00;离场:IF(VAR1A,1,0),LINETHICK0;短买:IF(VAR19,1,0),LINETHICK0;注:平台目前更新的有关公式源码,(会有收费,捡漏勿扰,该副图为孤品1元可得)(全部支持电脑手机),使用过程中,若有不懂,可以及时联系我们这边,帮忙处理,,喜欢加关注,感谢点赞支持,后市若有可期,希望越来越好!。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
DRAWICON(CROSS(KK,TT),TT,17);
A222:=COST(15);
A333:=A111-A222;
A444:=(A111+A222)/2;
单峰密集:=A333/A444*100<30,LINETHICK0;
B1:=HHV(HIGH,250);
B2:=LLV(LOW,250);
B3:=B1-B2;
B4:=(A444-B2);
低位:=A444<(B3*04+B2),LINETHICK0;
启爆:=主力持仓大于75% AND低位单峰密集AND B4 AND WINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;
爆:=CROSS(VAR5,10) AND启爆;
DRAWICON(爆,TT,25);
DRAWTEXT(爆,TT,'<----天下无敌'),COLORRED;
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,3,1);
VAR4:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
VAR5:=ABS(VAR4),COLORGREEN;
A111:=COST(85);
VAR19:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100;
PP:MA(VAR19,5),COLORBLUE,LINETHICK2;
VAR20:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100;
KK:MA(VAR20,3)பைடு நூலகம்LINETHICK2,COLORGREEN;
此副图指标很简练,一目了然,加进了两条引导线,让你能提前把握预知。当红柱出现时可轻仓跟进,待出现三条以上确定趋势形成后可加仓买入。总体来说准确率还是挺高的。
VAR1:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100;
TT:MA(VAR1,20);
STICKLINE(VAR1-TT>0,VAR1,TT,2,0),COLORRED,LINETHICK1;
低位单峰密集:=单峰密集AND低位;
B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}
主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
主力持仓大于75%:=主力持仓%>=75 {AND主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;
相关文档
最新文档