您好,欢迎访问三七文档
通达信技术指标创建时间:2009年12月3日标准XT1箱体N(5,300,26)MA1:MA(CLOSE,3);MA2:MA(CLOSE,10);箱顶:PEAK(3,10,1)*0.98,COLORGRAY;箱底:TROUGH(3,10,1)*1.02,COLORGRAY;生命线:(PEAK(3,10,1)*0.98+TROUGH(3,10,1)*1.02)/2,COLORGRAY;神秘线:DMA(C,V/CAPITAL)COLORBLUE;中轨:MA(CLOSE,N),COLORMAGENTA;EMA60:EMA(CLOSE,60),COLORGREEN;薛斯通道N(2,120,13)VAR2:=CLOSE*VOL;VAR3:=EMA((EXPMA(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);SUP:1.06*VAR3;SDN:VAR3*0.94;VAR4:=EXPMA(CLOSE,9);LUP:EXPMA(VAR4*1.14,5);LDN:EXPMA(VAR4*0.86,5),COLORRED;A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3));A11:=SMA(A01,2,1);A21:=SMA(A11,2,1);A31:=3*A11-2*A21;A41:=2*A31-0.5;神光生命线点位:C*(1-(A41-A21)/15),COLORGREEN;QKX乾坤线VAR1:=(HIGH+LOW+OPEN+CLOSE)/4;VAR3:=2*EMA(LLV(VAR1,7),10)-VAR1;乾坤线:3*VAR3-2*SMA(VAR3,10,1),COLORGREEN;STICKLINE(CROSS(C,乾坤线),OPEN,CLOSE,3.5,0),COLORYELLOW;STICKLINE(CROSS(乾坤线,C),OPEN,CLOSE,3.5,0),COLOR00FF00;BTX宝塔线VAR1:=CLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,2);VAR2:=REF(VAR1,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR3:=REF(VAR2,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR4:=REF(VAR3,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR5:=REF(VAR4,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR6:=REF(VAR5,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR7:=REF(VAR6,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR8:=REF(VAR7,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR9:=REF(VAR8,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARA:=REF(VAR9,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARB:=REF(VARA,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARC:=REF(VARB,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);STICKLINE(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC,CLOSE,REF(CLOSE,1),2,1),COLORRED;{红1}VARD:=CLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,2);VARE:=REF(VARD,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARF:=REF(VARE,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR10:=REF(VARF,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR11:=REF(VAR10,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR12:=REF(VAR11,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR13:=REF(VAR12,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR14:=REF(VAR13,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR15:=REF(VAR14,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR16:=REF(VAR15,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR17:=REF(VAR16,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR18:=REF(VAR17,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,CLOSE,REF(CLOSE,1),2,0),COLORFFCC66;VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,1),COLORYELLOW;VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,2),COLOR00FF00;顶部:COST(95),COLORFFFF33;卖出:COST(75),COLORGREEN;买入:COST(30),COLORRED;底部:COST(5),COLORYELLOW;MACD1{金叉}DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9),LINETHICK1;MACD:=2*(DIF-DEA);STICKLINE(MACD=0,MACD,0,0,0),COLORF00FF0;STICKLINE(MACD0,MACD,0,0,0),COLORF00FF0;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,0,0),COLOR00FF00;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,0,0),COLOR00FF00;IF(DIF0,DIF,0),COLORRED,LINETHICK1;IF(DIF0,0,DIF),COLORRED,LINETHICK1;IF(DIFDEA,DIF,DEA),COLOR00FF00,LINETHICK1;IF(DIFDEA,DEA,DEA),COLORWHITE,LINETHICK1;金叉:=CROSS(DIF,DEA)ANDDIF0.3;STICKLINE(金叉,0,-0.1,4,0),COLOR0000FF;操盘手HXZD划线MA3:MA(CLOSE,3);MA10:MA(CLOSE,10);HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN)ANDH=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNTGDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1)COLORGREEN,LINETHICK1;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN)ANDL=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1)COLORRED,LINETHICK1;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK1;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(
本文标题:通达信技术指标
链接地址:https://www.777doc.com/doc-3236226 .html