短线(通达信主图叠加)
通达信顶级自动画线公式,可以叠加任何主图
通达信顶级自动画线公式,可以叠加任何主图A1:=REF(H,8)=HHV(H,2*8+1);B1:=FILTER(A1,8);C1:=BACKSET(B1,8+1);D1:=FILTER(C1,8);{高点}R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);S11:=R11>REF(R11,1);DRAWLINE(D1,H,S11,H,1),COLORBLUE;A2:=REF(L,8)=LLV(L,2*8+1);B2:=FILTER(A2,8);C2:=BACKSET(B2,8+1);D2:=FILTER(C2,8);{低点}T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);U11:=T11>REF(T11,1);DRAWLINE(D2,L,U11,L,1),COLORBLUE;M:=INTPART(3*8/5);A12:=REF(H,M)=HHV(H,2*M+1);B12:=FILTER(A12,M);C12:=BACKSET(B12,M+1);D12:=FILTER(C12,M);{高点}R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);DRAWLINE(D12,H,S112,H,1),COLORRED;A22:=REF(L,M)=LLV(L,2*M+1);B22:=FILTER(A22,M);C22:=BACKSET(B22,M+1);D22:=FILTER(C22,M);{低点}T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112>REF(T112,1);DRAWLINE(D22,L,U112,L,1),COLORRED;VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力:= REF(HIGH,BARSLAST(VAR2222));STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH ,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;支撑:= REF(LOW,BARSLAST(VAR4444));STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW, BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);RRRSV:=SMA(下档线,3,1);KKK:=SMA(RRRSV,3,1);DDD:=((3 * RRRSV) - (2 * KKK));JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24, DDD)))),COLORFFFFFF;压力位:=IF(ISLASTBAR,压力2,DRAWNULL);STICKLINE(ISLASTBAR ,压力位,压力位,120,0),LINETHICK4,COLORFFFFFF;底部:=LLV(HIGH,30),COLOR00FF00;底部位:=IF(ISLASTBAR,底部,DRAWNULL);STICKLINE(ISLASTBAR ,底部位,底部位,100,0),LINETHICK4,COLOR00FF00;。
通达信短线之王主图指标通达信指标源码
JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;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)); 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)); 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);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);红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:REF(离场,1)COLOR0000FF,NODRAW;青色观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORFF0000,NODRAW;短买:VAR19,COLOR33AACC,NODRAW;品红离场:VAR1A,COLORFF99FF,NODRAW;急速超跌:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF,NODRAW;上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;辰星线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*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, COLOR0000FF;牵牛线:MA(CLOSE,26),COLORFF00FF;等待:=IF(MA3>辰星线,辰星线,MA3);IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR00FFFF;IF(辰星线>REF(辰星线,1),辰星线,DRAWNULL),LINETHICK2,COLOR0000FF;IF(辰星线<REF(辰星线,1),辰星线,DRAWNULL),COLOR00FF00;IF(牵牛线>REF(牵牛线,1),牵牛线,DRAWNULL),LINETHICK1,COLORFF00FF;IF(牵牛线<REF(牵牛线,1),牵牛线,DRAWNULL),COLOR669933;STICKLINE(ISLASTBAR AND (红色持股OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;STICKLINE(ISLASTBAR AND (青色观望OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00; STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00; STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;CO:=(C-O);STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555; STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888; STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA; STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC; STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE; STICKLINE(短买,O,O+CO/3,2.8,0),COLOR335555; STICKLINE(短买,O,O+CO/3,2,0),COLOR338888;STICKLINE(短买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(短买,O,O+CO/3,1,0),COLOR33CCCC;STICKLINE(短买,O,O+CO/3,0,0),COLOR33EEEE; DRAWTEXT(短买,REF(CLOSE,1),'←短买'),COLOR33FFCC; STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055; STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088; STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC; STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE; DRAWTEXT(品红离场,REF(CLOSE,1)+0.1,'←离场'),COLORFF99FF;。
通达信资金叠加成交量主图指标公式
通达信资⾦叠加成交量主图指标公式套盘:=(1-WINNER(C))*100,COLORGREEN,NODRAW;TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;虚拟换:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME/CAPITAL*100,DRAWNULL),COLORGREEN,NODRAW;换⼿:VOL/CAPITAL*100,POINTDOT,NODRAW,COLORMAGENTA;STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;超B:=L2_AMO(0,2)/10000.0;⼤B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;⼩B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;⼤S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;⼩S:=L2_AMO(3,3)/10000.0;净流⼊:(超B+⼤B+中B+⼩B)-(超S+⼤S+中S+⼩S),NODRAW;N:=30;ZJD:=HHV(净流⼊,N);ZJX:=LLV(净流⼊,N);CJ:=HHV(V,N);BEIS:=CJ/(ZJD-ZJX);值:=CONST(CJ+ABS(ZJX)*BEIS);STICKLINE(净流⼊>0 ,值,值+净流⼊*BEIS,2,0),COLOR0000AA;STICKLINE(净流⼊<=0 ,值,值+净流⼊*BEIS,2,0),COLOR00AA00;DRAWTEXT(ISLASTBAR=1 AND 净流⼊<=0,值*1.12,' 净流⼊'),COLORGREEN;DRAWTEXT(ISLASTBAR=1 AND 净流⼊>0,值*0.88,' 净流⼊'),COLORRED;VOLUME:VOL,VOLSTICK;V1:=MA(VOLUME,5);V2:=MA(VOLUME,10);V3:=MA(VOLUME,30);{空中加油}STICKLINE(C<O AND C>REF(C,1),0,V,2,0),COLORMAGENTA;量倍:V/REF(V,1),NODRAW,COLOR0000DD;STICKLINE(IF(V>REF(HHV(V,239),1),0.99,1)<1,V,0,-1,1),COLORDD00DD;STICKLINE(IF(V>REF(HHV(V,239),1),0.99,1)<1 AND O>C,V,0,-1,0),COLORDD00DD;STICKLINE(IF(V<REF(LLV(V,119),1),0.99,1)<1,V,0,-1,0),COLOR00DD00;STICKLINE(IF(V<REF(LLV(V,239),1),0.99,1)<1,V,0,-1,0),COLORDD0000;STICKLINE(V/REF(V,1)>2 ,0,V/2,2,0),COLORYELLOW;DRAWICON(LAST(V>REF(V,1),2,0),V/3,1);TESTSKIP(NOT(超B OR ⼤B OR 中B OR ⼩B OR 超S OR ⼤S OR 中S OR ⼩S)!=0);超⼤单:=(超B)-(超S);⼤单:=(⼤B)-(⼤S);中单:=(中B)-(中S);⼩单:=(⼩B)-(⼩S);DAZHI:=CONST(MAX(ABS(净流⼊),MAX(ABS(超⼤单),MAX(ABS(⼤单),MAX(ABS(中单),ABS(⼩单)))))),NODRAW;近3净⼊:=SUM(净流⼊,3);近3超:=SUM(超⼤单,3);近3⼤:=SUM(⼤单,3);近3中:=SUM(中单,3),;近3⼩:=SUM(⼩单,3);近5净⼊:=SUM(净流⼊,5);近5超:=SUM(超⼤单,5);近5⼤:=SUM(⼤单,5);近5中:=SUM(中单,5);近5⼩:=SUM(⼩单,5);近10净⼊:=SUM(净流⼊,10);近10超:=SUM(超⼤单,10);近10⼤:=SUM(⼤单,10);近10中:=SUM(中单,10),;近10⼩:=SUM(⼩单,10);流⼊:=ABS(超B+⼤B+中B+⼩B)*1000/VOL;流出:=ABS(超S+⼤S+中S+⼩S)*1000/VOL;近3流⼊:=ABS(SUM(超B,3)+SUM(⼤B,3)+SUM(中B,3)+SUM(⼩B,3))*1000/VOL;近3流出:=ABS(SUM(超S,3)+SUM(⼤S,3)+SUM(中S,3)+SUM(⼩S,3))*1000/VOL;近5流⼊:=ABS(SUM(超B,5)+SUM(⼤B,5)+SUM(中B,5)+SUM(⼩B,5))*1000/VOL;近5流出:=ABS(SUM(超S,5)+SUM(⼤S,5)+SUM(中S,5)+SUM(⼩S,5))*1000/VOL;近10流⼊:=ABS(SUM(超B,10)+SUM(⼤B,10)+SUM(中B,10)+SUM(⼩B,10))*1000/VOL;近10流出:=ABS(SUM(超S,10)+SUM(⼤S,10)+SUM(中S,10)+SUM(⼩S,10))*1000/VOL;{ 当⽇ }DRAWRECTREL(0,0,240,999.2,IF(120,RGB(10,0,0),0));{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0,0.001,0,'单位(万元)'),COLORDDDDDD;} DRAWRECTREL(0,ABS(CONST(480-(ABS(净流⼊)*300/DAZHI))),44,480,IF(CONST(净流⼊)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(48,ABS(CONST(480-(ABS(超⼤单)*300/DAZHI))),94,480,IF(CONST(超⼤单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(98,ABS(CONST(480-(ABS(⼤单)*300/DAZHI))),142,480,IF(CONST(⼤单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(146,ABS(CONST(480-(ABS(中单)*300/DAZHI))),190,480,IF(CONST(中单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(194,ABS(CONST(480-(ABS(⼩单)*300/DAZHI))),238,480,IF(CONST(⼩单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0,0.001,0,'当⽇'),COLORFFFFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.005,0.49,0,'净流'),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.055,0.49,0,'超⼤'),COLOR00FFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.100,0.49,0,'⼤单'),COLOR00FFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.150,0.49,0,'中单'),COLOR00FFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.197,0.49,0,'⼩单'),COLOR00FFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.0,0.40,0,CEILING(净流⼊)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.051,0.40,0,CEILING(超⼤单)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.097,0.40,0,CEILING(⼤单)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.151,0.40,0,CEILING(中单)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.200,0.40,0,CEILING(⼩单)),COLORFFFFFF; {3⽇ }DRAWRECTREL(240,0,445,999.2,IF(120,RGB(10,0,0),0));DRAWRECTREL(0,CONST(940-(ABS(近3净⼊)*10/DAZHI)),42,999,IF(CONST(近3净⼊)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(47,CONST(940-(ABS(近3超)*10/DAZHI)),94,999,IF(CONST(近3超)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(98,CONST(940-(ABS(近3⼤)*10/DAZHI)),142,999,IF(CONST(近3⼤)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(146,CONST(940-(ABS(近3中)*10/DAZHI)),190,999,IF(CONST(近3中)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(194,CONST(940-(ABS(近3⼩)*10/DAZHI)),238,999,IF(CONST(近3⼩)>0,RGB(100,0,0),RGB(0,50,0)));DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.001,0.89,0,CEILING(近3净⼊))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.058,0.89,0,CEILING(近3超))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.106,0.89,0,CEILING(近3⼤))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.155,0.89,0,CEILING(近3中))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.200,0.89,0,CEILING(近3⼩))COLORFFFFFF; { 5}DRAWRECTREL(240,ABS(CONST(480-(ABS(近5超)*50/DAZHI))),285,480,IF(CONST(近5超)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(290,ABS(CONST(480-(ABS(近5⼤)*50/DAZHI))),335,480,IF(CONST(近5⼤)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(341,ABS(CONST(480-(ABS(近5中)*50/DAZHI))),386,480,IF(CONST(近5中)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(395,ABS(CONST(480-(ABS(近5⼩)*50/DAZHI))),440,480,IF(CONST(近5⼩)>0,RGB(100,0,0),RGB(0,50,0)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.245,0.49,0,'绝对超'),COLORFF8000; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.294,0.49,0,'绝对⼤'),COLORFF8000; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.343,0.49,0,'绝对中'),COLORFF8000; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.394,0.49,0,'绝对⼩'),COLORFF8000; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.244,0.40,0,CEILING(近5超)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.295,0.40,0,CEILING(近5⼤)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.350,0.40,0,CEILING(近5中)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.395,0.40,0,CEILING(近5⼩)),COLORFFFFFF;{ 10 }DRAWRECTREL(240,ABS(CONST(970-(ABS(近10超)*10/DAZHI))),289,999,IF(CONST(近10超)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(293,ABS(CONST(970-(ABS(近10⼤)*10/DAZHI))),337,999,IF(CONST(近10⼤)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(341,ABS(CONST(970-(ABS(近10中)*10/DAZHI))),386,999,IF(CONST(近10中)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(395,ABS(CONST(970-(ABS(近10⼩)*10/DAZHI))),440,999,IF(CONST(近10⼩)>0,RGB(100,0,0),RGB(0,50,0)));DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.244,0.90,0,CEILING(近10超)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.295,0.90,0,CEILING(近10⼤)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.350,0.90,0,CEILING(近10中)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.395,0.90,0,CEILING(近10⼩)),COLORFFFFFF;⼤宗进:=(超B)+(⼤B),NODRAW;⼤宗出:=(超S)+(⼤S),NODRAW;⾮⼤宗进:=(中B)+(⼩B),NODRAW;⾮⼤宗出:=(中S)+(⼩S),NODRAW;⼤宗进限制:=IF((超B+⼤B)=0,0,⼤宗进);⼤宗出限制:=IF((超S+⼤S)=0,0,⼤宗出);⾮⼤宗进限制:=IF(中B+⼩B=0,0,⾮⼤宗进);⾮⼤宗出限制:=IF(中S+⼩S=0,0,⾮⼤宗出);主⼒净流⼊:=(超B+⼤B)-(超S+⼤S),COLORRED,NODRAW;散户净流⼊:=(中B+⼩B)-(中S+⼩S),COLORRED,NODRAW;⼤单流⼊:=(超B+⼤B)/(超B+⼤B+超S+⼤S)*100,NODRAW;⼤单流⼊限制:=IF((超B+⼤B+超S+⼤S)=0,0,⼤单流⼊);⼤单流出⽐:=(超S+⼤S)/(超B+⼤B+超S+⼤S)*100,NODRAW;⼤单流出限制:=IF((超B+⼤B+超S+⼤S)=0,0,⼤单流出⽐);总流⼊⽐:=(超B+⼤B+中B+⼩B)/(超B+⼤B+中B+⼩B+超S+⼤S+中S+⼩S)*100,NODRAW;总流出⽐:=(超S+⼤S+中S+⼩S)/(超B+⼤B+中B+⼩B+超S+⼤S+中S+⼩S)*100,NODRAW;成交总量:=(超B+⼤B+中B+⼩B+超S+⼤S+中S+⼩S),NODRAW;机构参与度:=(超B+超S+⼤B+⼤S)/成交总量*100,COLORYELLOW,NODRAW;⼤单强度:=(超B+⼤B-超S-⼤S)/成交总量*100,COLORYELLOW,NODRAW;⼤单强度限制:=IF(⼤单强度=0,-100,⼤单强度);⼤单强度⽐:=IF(⼤单强度>=0,(⼤单强度限制+100)/2,100-ABS((⼤单强度限制-100)/2)),NODRAW;超单强度:=(超B-超S)/(超B+超S)*100,COLORYELLOW,NODRAW;超单强度限制:=IF(超单强度=0,-100,超单强度);超单强度⽐:=IF(超单强度>0,(超单强度限制+100)/2,IF(超单强度<0,100-ABS((超单强度限制-100)/2),0)),NODRAW;资⾦流向买:=⼤宗进限制+⾮⼤宗进限制;资⾦流向卖:=⼤宗出限制+⾮⼤宗出限制;流⼊⽐:=净流⼊*1000000/AMOUNT,NODRAW;⼤宗净流⼊:=(超B+⼤B)-(超S+⼤S),NODRAW;⼤宗流⼊⽐:=⼤宗净流⼊*1000000/AMOUNT,NODRAW;DRAWRECTREL(00,0,240,95,RGB(0,100,0));DRAWRECTREL(00,0,120,95,RGB(0,100,0));DRAWRECTREL(00,0,20+CONST(总流⼊⽐*160/100),95,RGB(100,0,0));DRAWTEXT_FIX(1,0.00,0.01,0,STRCAT(STRCAT('今⽇流向 ',CON2STR(资⾦流向买,0)),'')),COLORYELLOW;DRAWTEXT_FIX(1,0.17,0.01,0,STRCAT(STRCAT(' ',CON2STR(资⾦流向卖,0)),' ')),COLORYELLOW; DRAWRECTREL(00,570,285,661,RGB(0,100,0));DRAWRECTREL(00,570,285,661,RGB(0,100,0));DRAWRECTREL(00,570,150+CONST(⼤宗流⼊⽐*160/100),661,RGB(100,0,0));DRAWTEXT_FIX(1,0.1,0.58,1,STRCAT(STRCAT('机构介⼊度 ',CON2STR(⼤宗流⼊⽐,0)),' ')),COLORYELLOW;DRAWRECTREL(240,570,443,661,RGB(0,100,0));DRAWRECTREL(240,570,360,661,RGB(0,100,0));DRAWRECTREL(240,570,270+CONST(流⼊⽐*160/100),661,RGB(100,0,0));DRAWTEXT_FIX(1,0.35,0.58,1,STRCAT(STRCAT('资⾦介⼊度 ',CON2STR(流⼊⽐,0)),'')),COLORYELLOW;主买A:=ACTINVOL,COLORRED,NODRAW;主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:主买A*100/(主买A+主卖A),NODRAW,COLORRED;主卖:主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN;DRAWRECTREL(240,0,443,95,RGB(0,100,0));DRAWRECTREL(240,0,443,95,RGB(0,100,0));DRAWRECTREL(240,0,280+CONST(主买*160/100),95,RGB(100,0,0));DRAWTEXT_FIX(1,0.25,0.01,0,STRCAT(STRCAT('主动买卖⽐ ',CON2STR(主买,2)),'%')),COLORYELLOW;。
?通达信公式短线决策解盘,支撑压力阻力一目了然通达信公式
通达信公式短线决策解盘,支撑压力阻力一目了然通达信公式短线决策解盘需要L2数据支持才显示的。
支撑压力阻力一目了然不要背景颜色,就删除第三四行源码即可。
买线:=EMA(C,1);多空线:EMA(SLOPE(C,10)*10+C,20),COLORYELLOW;STICKLINE(买线>=多空线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR 220080;{多,深红色柱}STICKLINE(买线<多空线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR 408048;{空,深绿色柱}{DRAWKLINE(H,O,L,C);波段淡红青K线STICKLINE(买线>=卖线,C,O,3,0),COLOR000045;STICKLINE(买线>=卖线,C,O,2,0),COLOR000085;STICKLINE(买线>=卖线,C,O,1,0),COLOR0000C5;STICKLINE(买线>=卖线,C,O,0.3,0),COLOR0000E5;STICKLINE(买线>=卖线,L,H,0,0),COLOR0000FF;立体红颜色;STICKLINE(CLOSE<OPEN,L,H,0,0),COLOR00FF00;}{STICKLINE(买线<卖线,L,H,0,0 ),COLORFFFF00;STICKLINE(买线<卖线,C,O,3.1,0 ),COLOR000000;STICKLINE(买线<卖线,C,O,2.1,0 ),COLOR6A6A00;{以下为资金情况,替换上面原K线,LCY}DRAWKLINE(H,O,L,C);{画K线}换手率:VOL/CAPITAL*100,COLORRED,NODRAW;预换手:IF(CURRBARSCOUNT=1 AND PERIOD=5,换手率*240/FROMOPEN,DRAWNULL),COLORWHITE,NODRAW;量比:V/REF(MA(V,5),1),NODRAW,COLORWHITE;{预量比:DYNAINFO(17),NODRAW,COLORWHITE;}机构:(L2_VOL(0,0) - L2_VOL(0,1))*10000/FINANCE(7),NODRAW,COLORYELLOW;大户:(L2_VOL(1,0) - L2_VOL(1,1))*10000/FINANCE(7),NODRAW,COLORRED;中户:(L2_VOL(2,0) - L2_VOL(2,1))*10000/FINANCE(7),NODRAW,COLORMAGENTA;散户:(L2_VOL(3,0) - L2_VOL(3,1))*10000/FINANCE(7),NODRAW,COLORGREEN;主力:机构+大户,NODRAW,COLORYELLOW;主力占比:主力/换手率*100,NODRAW,COLORMAGENTA;三日主力:SUM(主力,3),COLORYELLOW,NODRAW;五日主力:SUM(主力,5),COLORRED,NODRAW;十日主力:SUM(主力,10),COLORMAGENTA,NODRAW;廿日主力:SUM(主力,20),COLORWHITE,NODRAW;STICKLINE(主力>0,O,C,2,1),COLORYELLOW;STICKLINE(主力<0,O,C,2,1),COLORLIBLUE;STICKLINE(机构>0,O,C,1,0),COLORYELLOW;STICKLINE(机构<0,O,C,1,0),COLORBLUE;STICKLINE(大户>0,O,(O+C)/2,1,0),COLORRED;STICKLINE(大户<0,O,(O+C)/2,1,0),COLORGREEN;ME2:=EMA(CLOSE,6);五天:=EXPMA(CLOSE,5),COLORRED;超短线:=EMA(ME2,11),COLORGREEN; LJL07:=(3*C+L+O+H)/6;牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07, 3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(L JL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,1 4)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJ L07,18)+REF(LJL07,20))/210,COLORRED;熊线:=MA(牛线,5),COLORYELLOW,LINETHICK4,POINTDOT;持股:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24 ))/4,COLORWHITE;{趋势}赚了:=IF(EMA(CLOSE,3)>超短线,超短线,DRAWNULL),COLORRED;持股角度:=ATAN((持股/REF(持股,1)-1)*100)*180/3.1416,COLORRED,NODRAW;月线:=EMA(持股,30),COLORYELLOW,DOTLINE;双月线:=EMA(持股,60),COLORCYAN,DOTLINE;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'>'DMI.MDI') AND UPNDAY('DMI.ADXR',1) AND ('DMI.ADX'>'DMI.ADXR'),0.460,0.26,0,'DMI 火箭升空'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'<'DMI.MDI') AND UPNDAY('DMI.ADXR',1) AND ('DMI.ADX'>'DMI.ADXR'),0.460,0.26,0,'DMI 空中炸弹'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'>'DMI.MDI'),0.460,0.21,0,'DMI 多头趋势'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('DMI.PDI'<'DMI.MDI'),0.460,0.21,0,'DMI 空头趋势'),COLORGREEN;{以下5行LCY增加}DRAWTEXT_FIX(CURRBARSCOUNT=1 AND('RSI.RSI1'>'RSI.RSI2') {AND ('RSI.RSI2')>'RSI.RSI3')} AND ('RSI.RSI1'>REF('RSI.RSI1',1)),0.460,0.61,0,'RSI 多头趋势'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('RSI.RSI1'>'RSI.RSI2') {AND ('RSI.RSI2')>'RSI.RSI3'} AND ('RSI.RSI1'=REF('RSI.RSI1',1)),0.460,0.61,0,'RSI 多头平'),COLORWHITE;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('RSI.RSI1'>'RSI.RSI2'){AND ('RSI.RSI2')>'RSI.RSI3'} AND ('RSI.RSI1'<REF('RSI.RSI1',1)),0.460,0.61,0,'RSI 多头向下'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('RSI.RSI1'<'RSI.RSI2') {AND ('RSI.RSI2')<'RSI.RSI3'} AND ('RSI.RSI1'<REF('RSI.RSI1',1)),0.460,0.61,0,'RSI 空头趋势'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('RSI.RSI1'<'RSI.RSI2') {AND ('RSI.RSI2')<'RSI.RSI3'} AND ('RSI.RSI1'>REF('RSI.RSI1',1)),0.460,0.61,0,'RSI 空头向上'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('KDJ.J','KDJ.K'),0.460,0.31,0,'K D J 金叉'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('KDJ.K','KDJ.J'),0.460,0.31,0,'K D J 死叉'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('KDJ.J'>'KDJ.K'),0.460,0.36,0,'K D J 多头趋势'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('KDJ.J'<'KDJ.K'),0.460,0.36,0,'K D J 空头趋势'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'>'MACD.DEA') AND 'MACD.MACD'>0,0.460,0.41,0,'MACD 中线看多'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'<'MACD.DEA') AND 'MACD.MACD'<0,0.460,0.41,0,'MACD 中线看空'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'>'MACD.DEA'),0.460,0.46,0,'MACD 多头趋势'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.DIF'<'MACD.DEA'),0.460,0.46,0,'MACD 空头趋势'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('MACD.DIF','MACD.DEA'),0.460,0.51,0,'MACD 金叉'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS('MACD.DEA','MACD.DIF'),0.460,0.51,0,'MACD 死叉'),COLORGREEN;{以下4行LCY增加}DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 'MACD.DIF'<=0 AND 'MACD.DIF'<REF('MACD.DIF',2) AND 'MACD.DIF'>REF('MACD.DIF',1),0.460,0.56,0,'MACD 建仓'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND REF('MACD.DIF',1)>REF('MACD.DIF',2) AND 'MACD.DIF'<REF('MACD.DIF',1),0.460,0.56,0,'MACD 减仓1'),COLORGREEN;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 'MACD.DIF'<=0 AND CROSS('MACD.DIF','MACD.DEA') AND 'MACD.MACD'>REF('MACD.MACD',1),0.460,0.56,0,'MACD 加仓'),COLOR8080FF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 'MACD.MACD'>0 ANDREF('MACD.MACD',1)>REF('MACD.MACD',2) AND 'MACD.MACD'<REF('MACD.MACD',1),0.460,0.56,0,'MACD 减仓2'),COLORGREEN;上涨:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 上涨,0.460,0.15,0,'上涨趋势'),COLORFF00FF;短线上涨:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);短线上涨0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);短线上涨1:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线上涨OR 短线上涨0 OR 短线上涨1),0.460,0.15,0,'短线上涨'),COLOR8080FF;短线回调:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);短线回调0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线回调OR 短线回调0),0.460,0.15,0,'短线回调'),COLORYELLOW;短线看空:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);短线看空0:=CURRBARSCOUNT=1 AND UPNDAY(双月线,1)DOWNNDAY(持股,1);短线空仓:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);短线空仓0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1);DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线空仓OR 短线空仓0 OR 短线看空OR 短线看空0),0.460,0.15,0,'短线空仓'),COLORYELLOW;短线震荡:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);短线震荡0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND UPNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);短线震荡1:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1);注意该股:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1);DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线震荡OR 短线震荡0 OR 短线震荡1 OR 注意该股),0.460,0.15,0,'短线震荡'),COLORYELLOW;短线反弹:=CURRBARSCOUNT=1 AND DOWNNDAY(双月线,1) AND DOWNNDAY(月线,1) AND UPNDAY(超短线,1) AND UPNDAY(持股,1);短线反弹0:=CURRBARSCOUNT=1 AND DOWNNDAY(双月UPNDAY(持股,1);DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (短线反弹OR 短线反弹0),0.460,0.15,0,'短线反弹'),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1 ,0.360,0.09,0,'◆今日操作提示◆')COLORFFFFFF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.MACD'>0) AND (CROSS('MACD.DIF','MACD.DEA') OR CROSS(持股,超短线)) AND UPNDAY(超短线,1),0.55,0.09,0,' 决策:中线全仓买入◆'),COLORFFFFFF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ('MACD.MACD'<0) AND (CROSS('MACD.DEA','MACD.DIF') OR CROSS(超短线,持股)) AND DOWNNDAY(超短线,1),0.55,0.09,0,' 决策:中线空仓◆'),COLORFFFFFF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(超短线,1) AND DOWNNDAY(持股,1),0.55,0.14,0,' 决策:短线空( 减 ) 仓◆'),COLORFFFFFF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND DOWNNDAY(超短线,1) AND UPNDAY(持股,1),0.55,0.09,0,' 决策:短线买入30 % ◆'),COLORFFFFFF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(超短线,1) AND UPNDAY(持股,1),0.55,0.14,0,' 决策:短线买入60 % ◆'),COLORFFFFFF;DRAWTEXT_FIX(CURRBARSCOUNT=1 AND UPNDAY(超短线,1) AND DOWNNDAY(持股,1),0.55,0.14,0,' 决策:短线震荡看看再说◆'),COLORFFFFFF;EMA5:EXPMA(C,5),COLORYELLOW,LINETHICK2;KK1:=EMA5<=REF(EMA5,1);蓝降:IF(KK1,EMA5,DRAWNULL),COLORLIBLUE,LINETHICK2;EMA10:EMA(CLOSE,10),COLORLIRED;EMA20日:EMA(C,20),LINETHICK3,COLORRED;{红升:IF(EMA20日>REF(EMA20日,1),EMA20日,DRAWNULL),COLORRED,LINETHICK3;}绿降:IF(EMA20日<=REF(EMA20日,1),EMA20日,DRAWNULL),COLOR00FF00,LINETHICK3;EMA5乖离率:(C-EMA5)/EMA5*100,NODRAW;{CYC∞}JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO( 8),DYNAINFO(3));DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));CYC∞:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE( 7)),EMA((HIGH+LOW+CLOSE)/3,120)),COLORYELLOW,CIRCLEDO T;{DD1:=EMA5>REF(EMA5,1);IF(DD1,EMA5,DRAWNULL),COLORYELLOW,LINETHICK2 ;}均价:=(3*C+H+L+O)/6;VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+ 4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1;SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1;SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) AND H/VAR1>1.1;SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)AND CLOSE>VAR2 AND CLOSE<VAR1;SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1)AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1)AND VAR2<REF(VAR2,1) AND CLOSE<VAR2);SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2;XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1)AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2);XD2:=VAR1=VAR2 AND CLOSE>VAR1;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和度:=IF(SAT>1,1,SAT)*100;DRAWTEXT_FIX(BARSTATUS=2 AND SZ1,0.8,0.05,0,'调整结束短线介入'),COLOR00FFFF;DRAWTEXT_FIX(BARSTATUS=2 AND SZ2,0.8,0.05,0,'上升通道走势良好'),COLOR00FFFF;DRAWTEXT_FIX(BARSTATUS=2 AND SZ3,0.8,0.05,0,'股价偏离注意调整'),COLOR00FFFF;DRAWTEXT_FIX(BARSTATUS=2 AND SZ4,0.8,0.05,0,'上升通道调整洗盘'),COLOR00FFFF;DRAWTEXT_FIX(BARSTATUS=2 AND SZ5,0.8,0.05,0,'转向特征注意离场'),COLORFFFF00;DRAWTEXT_FIX(BARSTATUS=2 AND SZ6,0.8,0.10,0,'通道改变坚决离场'),COLORFFFF00;DRAWTEXT_FIX(BARSTATUS=2 AND XD1,0.8,0.05,0,'下跌通道只宜观望'),COLORFFFF00;DRAWTEXT_FIX(BARSTATUS=2 AND XD2,0.8,0.05,0,'短期底部准备进入'),COLORYELLOW;S:=C-REF(C,1);DX:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;YC:=REF(CLOSE,1);止损价位:=(YC*1.0035*97+0.2)/99.65;DRAWTEXT_FIX(C!=0,0.02,0.05,0,STRCAT('止损价位 ',STRCAT(CON2STR(止损价位,2),' 元'))),COLOR00FFFF;{DRAWTEXT_FIX(C!=0,0.05,0.25,0,'线上工作. 线下休息'),COLOR00FFFF;}DRAWTEXT_FIX(C!=0,0.02,0.10,0,'☆ ============= ☆'),COLORYELLOW;E:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日阻力:=2*E-LOW;明日支撑:=2*E-HIGH;明日突破:=E+(HIGH-LOW);明日反转:=E-(HIGH-LOW);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);DRAWTEXT_FIX(C!=0,0.02,0.20,0,STRCAT('今日阻力:',STRCAT(CON2STR(今日阻力,2),' 元'))),COLORFFFF00;DRAWTEXT_FIX(C!=0,0.02,0.25,0,STRCAT('今日支撑:',STRCAT(CON2STR(今日支撑,2),' 元'))),COLOR8E8EFF;DRAWTEXT_FIX(C!=0,0.02,0.30,0,STRCAT('明日突破:',STRCAT(CON2STR(明日突破,2),' 元'))),COLORFFFFFF;DRAWTEXT_FIX(C!=0,0.02,0.35,0,STRCAT('明日阻力:',STRCAT(CON2STR(明日阻力,2),' 元'))),COLORFFFF00;DRAWTEXT_FIX(C!=0,0.02,0.40,0,STRCAT('明日支撑:',STRCAT(CON2STR(明日支撑,2),' 元'))),COLOR8E8EFF;DRAWTEXT_FIX(C!=0,0.02,0.45,0,STRCAT('明日反转:',STRCAT(CON2STR(明日反转,2),' 元'))),COLORYELLOW;DRAWTEXT_FIX(C!=0,0.02,0.50,0,'☆ ============= ☆'),COLORYELLOW;A:=HHV(H,13)=H AND H>REF(H,1);A1:=FILTER(A,12);B:=LLV(L,13)=L AND L<REF(L,1);B1:=FILTER(B,12);TS1:=BARSLAST(A1);压力:REF(HIGH,TS1),COLORWHITE,NODRAW;STICKLINE(1,压力,压力,1.5,0),COLORAEAE00;TS2:=BARSLAST(B1);支撑:REF(LOW,TS2),COLORYELLOW,NODRAW;STICKLINE(1,支撑,支撑,1.5,0),COLOR006DDB;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=3*K24-2*D24;压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),DOTLINE,C OLORLIBLUE;支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),DOTLINE,COLORYELLOW;HH:=CONST(HHV(C,0));LL:=CONST(LLV(C,0));HL:=HH-LL;顶:HH,NODRAW;DRAWICON(C=HH,HH*1.005,45);{绿底压字}DRAWICON(C=LL,LL*0.995,44);{红底托字}空间:=100*(压力-支撑)/支撑;卖空:=REF(压力,1)&&O<=压力&&C>压力;DRAWICON(CROSS(买线,多空线),L*0.97,42);{多}DRAWICON(CROSS(多空线,买线),H*1.03,43);{空}LC:=REF(CLOSE,1);{以下是LCY移植部分}RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);{FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);}DRAWTEXT({CROSS(FF,MA15)}CROSS(RSI,15),(LOW * 0.98),'↖RSI 底'),COLOR00FFFF;DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'↓←RSI 顶'),COLORCYAN;DRAWNUMBER(ISLASTBAR ,C,C),COLOR00FFFF;{行业板块排名}TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);TAA:=STRCAT(HYBLOCK,' 排名:');DRAWTEXT_FIX(ISLASTBAR,0.00,0.00,0,STRCAT(TAA,CON2ST R(TAX,0))),COLORYELLOW;。
通达信缠论看盘指标代码完整版(主图叠加)
{缠论看盘指标}MA5:MA(CLOSE5) COLORWHITELINETHICK2;MA10:MA(CLOSE10) COLORMAGENTALINETHICK1;MA20:MA(CLOSE20) COLORBLUELINETHICK1;MA60:MA(CLOSE60) COLORYELLOWLINETHICK2;MA250:MA(CLOSE250) COLORREDLINETHICK1;老笔:=0;G:=MA(C5);D:=MA(C10);HH:=REF(H5)=HHV(H11);LL:=REF(L5)=LLV(L11);FG01:=BACKSET(HH6)>BACKSET(HH5) ;FD01:=BACKSET(LL6)>BACKSET(LL5) ;FG02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND G>DFG01IF(BARSLAST(FD01)>BARSLAST(FG01)FG010));FD02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND D>GFD01IF(BARSLAST(FG01)>BARSLAST(FD01)FD010));FG0:=FG02 AND H=HHV(HBARSLAST(FD02));FD0:=FD02 AND L=LLV(LBARSLAST(FG02));GP:IF(FG0HDRAWNULL)CIRCLEDOTCOLORCYAN;DP:IF(FD0LDRAWNULL)CIRCLEDOTCOLORCYAN;GQ:=L>REF(H1) AND DAY!=REF(DAY1);DQ:=H<REF(L1) AND DAY!=REF(DAY1);GQL:=REF(LBARSLAST(GQ));DQH:=REF(HBARSLAST(DQ));FGH:=REF(HBARSLAST(FG0));FGL:=REF(LBARSLAST(FG0));FGH1:=REF(HBARSLAST(FG0)+1);FGL1:=REF(LBARSLAST(FG0)+1);FGH2:=REF(HBARSLAST(FG0)+2);FGL2:=REF(LBARSLAST(FG0)+2);FDH:=REF(HBARSLAST(FD0));FDL:=REF(LBARSLAST(FD0));FDH1:=REF(HBARSLAST(FD0)+1);FDL1:=REF(LBARSLAST(FD0)+1);FDH2:=REF(HBARSLAST(FD0)+2);FDL2:=REF(LBARSLAST(FD0)+2);FGZH:=IF(FGL<=FGL1FGH2FGH1);FGZL:=IF(FGH1<FGLFGLIF(FGL<=FGL1FGL2FGL1));FDZH:=IF(FDL1>FDHFDHIF(FDH>=FDH1FDH2FDH1));FDZL:=IF(FDH>=FDH1FDL2FDL1);FG1:=FGH>FDZH AND FG0;FD1:=FDL<FGZL AND FD0;FG:=FG1 AND FGH>FDH AND FGL>FDL AND FGL1>FDL;FD:=FD1 AND FDL<FGL AND FDH<FGH AND FDH1<FGH;BH0:=(H<=REF(H1) AND L>=REF(L1)) OR (H>=REF(H1) AND L<=REF(L1)); BHG:=COUNT(BH0BARSLAST(FD0));BHD:=COUNT(BH0BARSLAST(FG0));BGQ:=COUNT(GQBARSLAST(FD0));BDQ:=COUNT(DQBARSLAST(FG0));BK0:=IF(BHG>0BHG+2+老笔IF(BHDBHD+2+老笔3));BK:=IF(BGQBK0-BGQIF(BDQBK0-BDQBK0));G1X:=(FG AND BARSLAST(FD)>BK);D1X:=(FD AND BARSLAST(FG)>BK);G1:=(FG0 AND REF(HBARSLAST(FG0))>=REF(HBARSLAST(G1X)) ANDBARSLAST(D1X)>BARSLAST(G1X))OR (FG1 AND COUNT(GQBARSLAST(FD1))>0 ANDREF(HBARSLAST(FG1))>REF(HBARSLAST(G1X)));D1:=(FD0 AND REF(LBARSLAST(FD0))<=REF(LBARSLAST(D1X)) ANDBARSLAST(G1X)>BARSLAST(D1X))OR (FD1 AND COUNT(DQBARSLAST(FG1))>0 ANDREF(LBARSLAST(FD1))<REF(HBARSLAST(D1X)));G1H:=IF(BARSLAST(D1)>BARSLAST(G1)REF(HBARSLAST(G1))REF(HBARSLAST(D1)));D1L:=IF(BARSLAST(G1)>BARSLAST(D1)REF(LBARSLAST(D1))REF(LBARSLAST(G1)));G2:=G1 AND H=HHV(G1HBARSLAST(D1)+1) AND H>REF(H1) ANDBARSLAST(D1)>BARSLAST(G1);D2:=D1 AND L=LLV(D1LBARSLAST(G1)+1) AND L<REF(L1) ANDBARSLAST(G1)>BARSLAST(D1);G3:=G2 OR (FG0 AND REF(HBARSLAST(FG0))>REF(HBARSLAST(G2)) ANDBARSLAST(D2)>BARSLAST(G2));D3:=D2 OR (FD0 AND REF(LBARSLAST(FD0))<REF(LBARSLAST(D2)) ANDBARSLAST(G2)>BARSLAST(D2));GPB:IF(G1XHDRAWNULL)CIRCLEDOTCOLORYELLOW;DPB:IF(D1XLDRAWNULL)CIRCLEDOTCOLORYELLOW;DRAWICON(CROSS(MA20MA60)MA60*0.989);DIF:=MA(CLOSE5)-MA(CLOSE89);DIFMA:=MA(DIF36);XG:=CROSS(DIFDIFMA) AND DIF<3;{DRAWICON(XGH*1.0323);}{画线}NN:=G3;UU:=D3;L1:DRAWLINE(UULNN H0)COLORLIGREEN;L2:DRAWLINE(NNHUU L0)COLORLIGREEN; {标示端点数值}DRAWNUMBER(L1 AND L2 AND NN HH)COLORLIRED;DRAWNUMBER(L1 AND L2 AND UU LL)COLORLIMAGENTA;{折扣价}{DRAWICON(CURRBARSCOUNT=6LOW*0.9824);}DRAWNUMBER(CURRBARSCOUNT=6LOW*0.96C);{DRAWICON(CURRBARSCOUNT=11LOW*0.9825);}DRAWNUMBER(CURRBARSCOUNT=11LOW*0.96C);{DRAWICON(CURRBARSCOUNT=21LOW*0.9826);}DRAWNUMBER(CURRBARSCOUNT=21LOW*0.96C);{DRAWICON(CURRBARSCOUNT=61LOW*0.9827);}DRAWNUMBER(CURRBARSCOUNT=61LOW*0.96C);{DRAWICON(CURRBARSCOUNT=121LOW*0.9818);}DRAWNUMBER(CURRBARSCOUNT=121LOW*0.96C);{量能平台}N250:=250;PT250:=CONST(HHVBARS(VN250));{T250:IF(CURRBARSCOUNT<=N250CONST(IF(PT250=0CREF(CPT250)))DRAWNULL)COL OR990000;}{IF(CURRBARSCOUNT=PT250+1T250DRAWNULL)CIRCLEDOTCOLORFF0000LINETHICK 2;}{DRAWTEXT(CURRBARSCOUNT=N250T250'250')COLOR990000;}N120:=120;PT120:=CONST(HHVBARS(VN120));{T120:IF(CURRBARSCOUNT<=N120CONST(IF(PT120=0CREF(CPT120)))DRAWNULL)COL ORAAAA00;}{IF(CURRBARSCOUNT=PT120+1T120DRAWNULL)CIRCLEDOTCOLORFFFF00LINETHIC K2;}{DRAWTEXT(CURRBARSCOUNT=N120T120'120')COLORAAAA00;}N60:=60;PT60:=CONST(HHVBARS(VN60));{T60:IF(CURRBARSCOUNT<=N60CONST(IF(PT60=0CREF(CPT60)))DRAWNULL)COLOR00 BB00;}{IF(CURRBARSCOUNT=PT60+1T60DRAWNULL)CIRCLEDOTCOLOR00FF00LINETHICK2;} {DRAWTEXT(CURRBARSCOUNT=N60T60'60')COLOR00BB00;}N30:=30;PT30:=CONST(HHVBARS(VN30));{T30:IF(CURRBARSCOUNT<=N30CONST(IF(PT30=0CREF(CPT30)))DRAWNULL)COLOR00 00CC;}{IF(CURRBARSCOUNT=PT30+1T30DRAWNULL)CIRCLEDOTCOLOR0000FFLINETHICK2;} {DRAWTEXT(CURRBARSCOUNT=N30T30'30')COLOR0000CC;}N20:=20;PT20:=CONST(HHVBARS(VN20));{T20:IF(CURRBARSCOUNT<=N20CONST(IF(PT20=0CREF(CPT20)))DRAWNULL)COLORD D00DD;}{IF(CURRBARSCOUNT=PT20+1T20DRAWNULL)CIRCLEDOTCOLORFF00FFLINETHICK2;} {DRAWTEXT(CURRBARSCOUNT=N20T20'20')COLORDD00DD;}N10:=10;PT10:=CONST(HHVBARS(VN10));{T10:IF(CURRBARSCOUNT<=N10CONST(IF(PT10=0CREF(CPT10)))DRAWNULL)COLOR00 EEEE;}{IF(CURRBARSCOUNT=PT10+1T10DRAWNULL)CIRCLEDOTCOLOR00FFFFLINETHICK2;} {DRAWTEXT(CURRBARSCOUNT=N10T10'10')COLOR00EEEE;}N5:=5;PT5:=CONST(HHVBARS(VN5));{T5:IF(CURRBARSCOUNT<=N5CONST(IF(PT5=0CREF(CPT5)))DRAWNULL)COLORFFFFF F;}{IF(CURRBARSCOUNT=PT5+1T5DRAWNULL)CIRCLEDOTCOLORFFFFFFLINETHICK2;} {DRAWTEXT(CURRBARSCOUNT=N5T5'5')COLORFFFFFF;}ND:=10;PTD:=CONST(LLVBARS(VND));TDPX:IF(CURRBARSCOUNT<=NDCONST(IF(PTD=0OREF(OPTD)))DRAWNULL) COLOR9370DB;IF(CURRBARSCOUNT=PTD+1TDPXDRAWNULL)CIRCLEDOTCOLOR9370DBLINETHICK2;。
炒股进阶的9个软件技巧(六):主副图叠加品种好人好股
炒股进阶的9个软件技巧(六):主副图叠加品种好人好股本篇主要讲述如何在通达信软件的主副图区叠加指定品种,也就是说将两个股票的K线图叠加在一起,或者是两个指标线叠加在一起。
一般是将自己的股票与大盘K线叠在一起,这样就能比较出自己的个股走得比大盘强还是弱。
一、主图叠加品种在个股分析图界面,鼠标右键弹出菜单,选【叠加品种】-【叠加指定品种】,或在该版面按快捷键“Ctrl+O”(英文字母O),如图1所示。
请注意,支持叠加的周期为分时、日线、周线、月线、季线、年线,说的通熟一点就是,周期小于日线的,除了分时图,其他周期均不能叠加品种。
图1 叠加品种弹出如何2所示的“选择叠加的品种”的对话框,鼠标单击选择相应的品种,再点击确定即可。
图2 选择叠加品种对话框在“选择叠加的品种”对话框中,有10个大的板块,单击相应板块,对话框左侧有多个分类的文件夹,点击感兴趣的文件,右侧空白处就会显示相应的股票,然后点击股票,再点确定,就可以在主图上叠加相应股票的走势图了。
图3 选择股票例如,在平安银行分析图上叠加上证指数:第一步,右击菜单,选【叠加品种】-【叠加指定品种】,或者是快捷键“Ctrl+O”,弹出“选择叠加的品种”对话框,按照如图4所示的步骤操作。
图4 叠加品种步骤由于两者的纵坐标不同,因此弹出如图5所示的对话框,“叠加时,是否换成百分比坐标?”。
可以看下两者的区别。
图5 百分比坐标第一种,选择“否”,则出现如图6所示的情况,因为两者的纵坐标相差太大,平安银行的K线在图上缩成了一条线,这样的话,根本就看不出平安银行和上证指数之间的差异了。
图6 错误的纵坐标第二种,选择“是”,如图7所示,纵坐标便改为百分比形式,两者的K线就能同时存在于一张图上了,一眼就能看出两者的差距。
图7 百分比形式因此,对于在主图上叠加品种来说,还是选择百分比为好。
二、副图叠加品种在幅图上叠加品种的步骤如下:1、在副图指标上,右击鼠标,弹出菜单,选择【副图指标】-【叠加其它指标】,如图8所示。
通达信无敌短线主图源码
STICKLINE(C>=O,H,L,0,0),COLORFFFFFF;STICKLINE(C>=O,C,O,3,1),COLORFFFFFF;STICKLINE(C<O,H,L,0,0),COLORB6B600;STICKLINE(C<O,C,O,3,1),COLORB6B600;ZGD:=HHV(H,90)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L,90);ZDD2:=CONST(ZDD);急速超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14;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)); 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)); 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;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);买:VAR19,NODRAW,COLOR33FFCC;卖:VAR1A,NODRAW,COLORFF00FF;MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;持股线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*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, COLOR0000FF;持股线1:MA(CLOSE,26),COLORFF00FF;等待:=IF(MA3>持股线,持股线,MA3);IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR0000FF;IF(持股线>REF(持股线,1),持股线,DRAWNULL),LINETHICK2,COLOR0000FF;IF(持股线<REF(持股线,1),持股线,DRAWNULL),COLOR00FF00;IF(持股线1>REF(持股线1,1),持股线1,DRAWNULL),LINETHICK2,COLORFF00FF;IF(持股线1<REF(持股线1,1),持股线1,DRAWNULL),COLOR669933;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.8,0),COLOR33AACC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.6,0),COLOR33AACC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.4,0),COLOR33BBCC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,2),COLOR33CCCC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.0,0),COLOR33DDCC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),1.8,0),COLOR33EECC;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLOR33FFCC;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.8,0),COLORFF33FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.3,0),COLORFF44FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORFF55FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.8,0),COLORFF66FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF77FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.3,0),COLORFF88FF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1,0),COLORFF99FF;。
通达信超短线公式主图指标
通达信超短线公式主图指标通达信超短线公式主图指标JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1:=(CLOSE>REF(CLOSE,1) ANDCLOSE>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));VARD:=(CLOSE<REF(CLOSE,1) ANDCLOSE<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));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);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);红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:REF(离场,1)COLOR0000FF,NODRAW;青色观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORFF0000,NODRAW;短买:VAR19,COLOR33AACC,NODRAW; 品红离场:VAR1A,COLORFF99FF,NODRAW;急速超跌:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,C OLORFFFFFF,NODRAW;上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COL OR0000FF;月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,CO LORFF00FF;日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLO R00FFFF; {}辰星线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF (YTSL,3)+16*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,COLOR0000FF;牵牛线:MA(CLOSE,26),COLORFF00FF;等待:=IF(MA3>辰星线,辰星线,MA3);IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR00FFFF;IF(辰星线>REF(辰星线,1),辰星线,DRAWNULL),LINETHICK2,COLOR0000FF;IF(辰星线<REF(辰星线,1),辰星线,DRAWNULL),COLOR00FF00;IF(牵牛线>REF(牵牛线,1),牵牛线,DRAWNULL),LINETHICK1,COLORFF00FF;IF(牵牛线<REF(牵牛线,1),牵牛线,DRAWNULL),COLOR669933;STICKLINE(ISLASTBAR AND (红色持股OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF; STICKLINE(ISLASTBAR AND (青色观望OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00; STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900; STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5; STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055; STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088; STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA; STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC; STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE; STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500; STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800; STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00; STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00; STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00; CO:=(C-O);STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555; STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888; STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA; STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC; STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE; STICKLINE(短买,O,O+CO/3,2.8,0),COLOR335555; STICKLINE(短买,O,O+CO/3,2,0),COLOR338888; STICKLINE(短买,O,O+CO/3,1.5,0),COLOR33AAAA;STICKLINE(短买,O,O+CO/3,1,0),COLOR33CCCC; STICKLINE(短买,O,O+CO/3,0,0),COLOR33EEEE; DRAWTEXT(短买,REF(CLOSE,1),'←短买'),COLOR33FFCC; STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088; STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC; STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE; DRAWTEXT(品红离场,REF(CLOSE,1)+0.1,'←离场'),COLORFF99FF;。
通达信短线无敌主图指标源码
通达信短线⽆敌主图指标源码以下是通达信短线⽆敌主图指标源码(⽆源码的请下载附件导⼊){⾊带}DRAWBAND(EXPMA(CLOSE,10),RGB(125,50,50),EXPMA(CLOSE,60),RGB(0,100,50));DRAWKLINE(H,O,L,C);{⾦⾊涨停}STICKLINE(C/REF(C,1)>1.095,C,O,2{⾦⾊涨停黄⾊芯宽度},0),COLORYELLOW;{蓝⾊跌停}C2:=REF(C,1);跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,0.3,0),COLORFF0000;{通道⼀}MIDD:=MA(C,20);VART1:=POW((C-MIDD),2);VART2:=MA(VART1,20);VART3:=SQRT(VART2);UPPER:=MIDD+2*VART3;LOWER:=MIDD-2*VART3;{⾊带边线}操盘线:EXPMA(CLOSE,10),COLOR808080;DRAWNUMBER(ISLASTBAR,操盘线,操盘线),COLOR808080;强弱分界线:EXPMA(CLOSE,60),COLOR808080;DRAWNUMBER(ISLASTBAR,强弱分界线,强弱分界线),COLOR808080;{题材概念}Z1:=STRCAT(DYBLOCK,' ');Z2:=STRCAT(Z1,HYBLOCK);Z3:=STRCAT(Z2,' ');Z4:=STRCAT(Z3,GNBLOCK);Z5:=STRCAT(Z4,' ');Z6:=STRCAT(Z5,FGBLOCK);DRAWTEXT_FIX(ISLASTBAR,0.01,0.012,0,STRCAT(Z6,ZHBLOCK)),COLOR00FFFF;{主⼒吸货}A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) and="">DRAWTEXT(FILTER(买=1,5),LOW-0.06,'↖主⼒吸货'),COLORYELLOW;STICKLINE(买,OPEN,CLOSE,0.3,0),COLOR00FFFF;{抄底逃顶}Z:=MA(C,120);VAR3:=(MA(C,5)-Z)/Z;VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);D1:DRAWTEXT(CLOSE>Z AND REF(VAR4,1)<30 and="" var4="">REF(VAR4,1) AND REF(VAR4,1)D2:DRAWTEXT(REF(VAR4,1)<7 and="" var4="">REF(VAR4,1) AND REF(VAR4,1)<-0.1,0.94*low>D3:DRAWTEXT(CROSS(VAR4,5) AND VAR3<-0.3,0.94*low>X:=MA(C,120);VAR5:=(MA(H,5)-X)/X;VAR6:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);D41:DRAWTEXT(CROSS(95,VAR6) AND VAR5>0.3,H*1.02,'逃顶'),COLOR00FF00;D5:DRAWTEXT( CROSS(93,VAR6) AND HHV(H,30)/LLV(L,30)>1.1 AND REF(X,1)/X>0.997 ,H*1.02,'逃顶'),COLOR00FF00;D6:DRAWTEXT(CLOSE90 AND VAR6REF(VAR6,2) ,H*1.02,'逃顶'),COLOR00FF00;{抄底双线}抄底⼀:BOLL-2*STD(CLOSE,20),DOTLINE,COLORDB70DB;DRAWNUMBER(ISLASTBAR,抄底⼀,抄底⼀),COLORDB70DB;抄底⼆:REF(LOWER,1),DOTLINE,LINETHICK1,COLORDB70DB;DRAWNUMBER(ISLASTBAR,抄底⼆,抄底⼆),COLORDB70DB;{买点}MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;买点:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*R DRAWNUMBER(ISLASTBAR,买点,买点),COLOR00FFFF;{⽀撑位}BDGD:=CROSS(0.8,H=HHV(H,6));GDSJ:=BARSLAST(BDGD)+1;前⾼点:=REF(H,GDSJ);BDDD:=CROSS(0.8,L=LLV(L,6));DDSJ:=BARSLAST(BDDD)+1;前低点:=REF(L,DDSJ);⽀撑位:IF(DDSJ<>DRAWNUMBER(ISLASTBAR,⽀撑位,⽀撑位),LINETHICK1,COLOR007FFF;{⽌损位}⽌损位:MA(买点,6),COLOR0000FF;DRAWNUMBER(ISLASTBAR,⽌损位,⽌损位),COLOR0000FF;{压⼒位}压⼒位:IF(GDSJ<>DRAWNUMBER(ISLASTBAR,压⼒位,压⼒位),COLORFF7F00;{卖出双线}卖出⼀:BOLL+2*STD(CLOSE,20),DOTLINE,COLOR00FF00;DRAWNUMBER(ISLASTBAR,卖出⼀,卖出⼀),COLOR00FF00;卖出⼆:REF(UPPER,1),DOTLINE,LINETHICK1,COLOR00FF00;DRAWNUMBER(ISLASTBAR,卖出⼆,卖出⼆),COLOR00FF00;{拐点}VARA:=4*SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1),3.2,1);。
通达信叠加指标
通达信叠加指标
摘要:
通达信叠加指标
1.通达信介绍
2.通达信叠加指标的概念
3.通达信叠加指标的分类
4.通达信叠加指标的应用
5.通达信叠加指标的优势和局限
正文:
通达信叠加指标
通达信是一款专业的股票分析软件,提供了丰富的技术指标供投资者参考。
通达信叠加指标是指在同一图表中显示多个技术指标,以便于投资者对比分析。
1.通达信介绍
通达信(同花顺)是一款非常受欢迎的股票分析软件,拥有海量的金融数据和强大的分析功能。
通过通达信,投资者可以轻松地查看实时行情、分析技术指标、阅读资讯等。
2.通达信叠加指标的概念
通达信叠加指标是指在通达信软件中,将多个技术指标叠加在同一图表上,方便投资者对比分析。
这种叠加方式有助于提高分析效率,同时让投资者更直观地了解市场趋势。
3.通达信叠加指标的分类
通达信叠加指标主要分为以下几类:
(1) 趋势类指标:如移动平均线、指数平滑异同平均线等。
(2) 振荡类指标:如相对强弱指数(RSI)、随机指标等。
(3) 成交量指标:如成交量变异率、均量线等。
(4) 压力支撑类指标:如布林带、压力支撑线等。
4.通达信叠加指标的应用
投资者在实际操作中,可以根据自己的需求选择合适的叠加指标。
例如,在判断市场趋势时,可以叠加移动平均线和指数平滑异同平均线;在分析股票超买超卖情况时,可以叠加相对强弱指数和随机指标。
5.通达信叠加指标的优势和局限
通达信叠加指标的优势在于可以帮助投资者更全面地分析市场,提高分析效率。
然而,过多的叠加指标也可能会导致图表过于复杂,不利于快速做出决策。
通达信主图叠加指标
通达信主图叠加指标
《通达信主图叠加指标》
1. 通达信主图叠加指标能提高投资者对股票市场的敏锐性。
通达信的叠加指标是专业分析人员在通达信软件上叠加和组合技术、基本面、成交量等指标参数,以显示趋势,帮助投资者识别股票未来走向,帮助投资者作出投资决策。
2. 通达信叠加指标可帮助投资者发现投资机会。
通过叠加指标,投资者可以比较股票价格行为,容易发现股票的右趋势,从而帮助投资者获得更大的利润回报。
3. 通达信叠加指标可以帮助投资者降低投资风险。
叠加指标可以提醒投资者股票价格已经超过正常的变化范围,从而及时调整投资策略,降低投资风险,保护投资者的利益。
4. 通达信叠加指标能提高投资者的技能。
通达信叠加指标被视为技术投资者必备的分析技能,一旦投资者有了叠加指标的分析技能,他们就可以更好地把握投资的机会,更多地获得投资收益。
5. 通达信叠加指标的使用建议。
投资者在使用通达信叠加指标时,要充分了解指标的特点,要一直关注指标变化情况,结合实际情况,分析其变化趋势,根据自己的投资规划,制定有效的投资策略,做出准确合理的投资决策,及时调整投资组合,积极参与股票市场,取得良好的投资收益。
通达信 多根k线重叠 公式
通达信多根k线重叠公式
多根K线重叠是通达信股票交易软件中的一个技术指标,它主要用于判断多根
K线之间的趋势重叠情况。
当多根K线出现重叠时,表示市场上的交易活跃度较低,趋势可能出现调整或反转的可能性增加。
根据通达信的公式计算,多根K线重叠指标的计算方法如下:
1. 首先计算收盘价与开盘价的差值,如果差值小于等于0,就将该差值设为0。
2. 然后将差值除以收盘价,得到一个比率。
3. 接下来将比率累加,得到多根K线重叠指标的值。
多根K线重叠指标的值可以看作是市场的交易活跃度的反映,数值越大表示趋势重叠程度越高,交易活跃度越低。
当指标处于较低的水平时,可能是市场行情即将调整或反转的信号。
当指标值上升时,表示市场交易活跃度增加,趋势重叠程度变小,可能出现新的趋势形成。
在使用通达信进行股票交易时,多根K线重叠指标可以作为一个辅助工具来判断市场的趋势和交易机会。
当指标值较低时,可以考虑进行逆势操作或寻找反转信号。
而当指标值较高时,可以关注趋势延续的可能性,选择合适的进场时机。
总之,通达信的多根K线重叠指标是一个用于判断多根K线之间趋势重叠情
况的技术指标。
它可以帮助交易者判断市场的交易活跃度和趋势变化,辅助决策和选取适当的交易时机。
这个指标在分析股票行情时可以提供一定的参考价值,但需要结合其他技术指标和交易策略综合分析,并谨慎使用。
2023通达信分时图叠加指标
2023通达信分时图叠加指标2023通达信分时图叠加指标时图是指大盘和个股的动态实时(即时)分时走势图,其在实战研判中的地位极其重要,是即时把握多空力量转化即市场变化直接的根本所在。
今天在这给大家整理了一些相关的知识,我们一起来看看吧!通达信分时图叠加指标分时图叠加指标据悉,进入通达信分时界面,点一下“指标”栏,这时你就会看到一个分时指标窗口,在分时指标窗口上点鼠标右键,在下拉菜单里选择“选择分时指标”,然后找到你想要显示的分时指标,即可。
自定义指标默认安装在“技术指标公式”、“其他类型”里。
分时图看盘技巧中,看到即时股价,通过分时图的走势特征可以知道庄家的操盘手法和上攻的欲望;看均价,均价是该股当日市场的平均成本,是多空双方实力较量的分界线;将个股和大盘分时走势结合起来看,可以看出个股和大盘的走势关系。
散户如何利用分时图看盘分时走势组成了股价的短线、中线和长线趋势,中长线趋势无法左右,但短线的以及当日的走势是比较容易受到大资金或大筹码的拥有者的影响,对这种短线行为的分析有助于对中长线走势的把握,不过,这种走势很容易让人忽视对全局的认识。
投资者会受到股价涨跌产生强烈的心理影响,股价在明显上涨之后,涨势才会明朗,投资者看清这种趋势时才会考虑买进,这样就形成了分时走势中投资者的先入为主,再分析股价时就会自然而然的把分析建立在本身已涨的基础之上,这时感情是主导。
多日分时图战法一、分时趋势线到底怎样进行止损呢?首先需要掌握好分时趋势线的画法:1,不断低点的联系那画趋势线;2、以低点连线画平行线趋势线。
3、以股价形态画线。
二、运用分时趋势线设定止损位:以分时图来判定止损位,一般都以短线操作或波段操作为主。
既然是短线,则设定跌破趋势线的2-3%为宜,多以3%为止损位。
在这位置跌破趋势线后,股价横盘,而非继续下跌。
而横盘区间的低位,离跌破趋势线的点位只是回调了1%左右,尚可观望,看股价打破盘局后的走势如何。
随着时间的推移,趋势线画在A-C位置,此后一段时间,股价基本在趋势线上方运行。
通达信单元叠加模式
通达信单元叠加模式
通达信单元叠加模式是一种技术分析工具,它可以将多个指标图形叠加在同一张K线图上,以便于分析股票走势和预测趋势。
该模式可以用于各种市场和时间周期的股票分析,包括股票、期货、外汇等。
通达信单元叠加模式具有以下特点:一、可以叠加多个指标,包括移动平均线、MACD指标、布林带、KDJ指标等;二、可以自定义指标的颜色、线条类型和线条宽度,以便于观察和分析;三、可以进行多空分析和趋势判断,比如判断股票是否处于多头或空头市场、是否存在不同周期的趋势等;四、可以进行交易信号的生成和策略的制定,以便于投资者进行交易决策。
通达信单元叠加模式可以提高投资者的交易效率和决策水平,同时也可以降低交易风险和损失。
投资者可以利用该模式进行多维度的股票分析和预测,从而制定更科学、更合理的投资策略。
- 1 -。
主图叠加筹码分布通达信
主图叠加筹码分布HB:=COST(99.9); LB:=COST(0.1); B3:=(HB-LB)/50; B31:=HB-B3;B32:=HB-2*B3; B33:=HB-3*B3; B34:=HB-4*B3; B35:=HB-5*B3; B36:=HB-6*B3; B37:=HB-7*B3; B38:=HB-8*B3; B39:=HB-9*B3; B310:=HB-10*B3; B311:=HB-11*B3; B312:=HB-12*B3; B313:=HB-13*B3; B314:=HB-14*B3; B315:=HB-15*B3; B316:=HB-16*B3; B317:=HB-17*B3; B318:=HB-18*B3; B319:=HB-19*B3; B320:=HB-20*B3; B321:=HB-21*B3; B322:=HB-22*B3; B323:=HB-23*B3; B324:=HB-24*B3; B325:=HB-25*B3; B326:=HB-26*B3; B327:=HB-27*B3; B328:=HB-28*B3; B329:=HB-29*B3; B330:=HB-30*B3; B331:=HB-31*B3; B332:=HB-32*B3; B333:=HB-33*B3; B334:=HB-34*B3; B335:=HB-35*B3; B336:=HB-36*B3; B337:=HB-37*B3; B338:=HB-38*B3; B339:=HB-39*B3; B340:=HB-40*B3;B341:=HB-41*B3;B342:=HB-42*B3;B343:=HB-43*B3;B344:=HB-44*B3;B345:=HB-45*B3;B346:=HB-46*B3;B347:=HB-47*B3;B348:=HB-48*B3;B349:=HB-49*B3;A1:=WINNER(HB)*100-WINNER(B31)*100;A2:=WINNER(B31)*100-WINNER(B32)*100;A3:=WINNER(B32)*100-WINNER(B33)*100;A4:=WINNER(B33)*100-WINNER(B34)*100;A5:=WINNER(B34)*100-WINNER(B35)*100;A6:=WINNER(B35)*100-WINNER(B36)*100;A7:=WINNER(B36)*100-WINNER(B37)*100;A8:=WINNER(B37)*100-WINNER(B38)*100;A9:=WINNER(B38)*100-WINNER(B39)*100;A10:=WINNER(B39)*100-WINNER(B310)*100; A11:=WINNER(B310)*100-WINNER(B311)*100; A12:=WINNER(B311)*100-WINNER(B312)*100; A13:=WINNER(B312)*100-WINNER(B313)*100; A14:=WINNER(B313)*100-WINNER(B314)*100; A15:=WINNER(B314)*100-WINNER(B315)*100; A16:=WINNER(B315)*100-WINNER(B316)*100; A17:=WINNER(B316)*100-WINNER(B317)*100; A18:=WINNER(B317)*100-WINNER(B318)*100; A19:=WINNER(B318)*100-WINNER(B319)*100; A20:=WINNER(B319)*100-WINNER(B320)*100; A21:=WINNER(B320)*100-WINNER(B321)*100; A22:=WINNER(B321)*100-WINNER(B322)*100; A23:=WINNER(B322)*100-WINNER(B323)*100; A24:=WINNER(B323)*100-WINNER(B324)*100; A25:=WINNER(B324)*100-WINNER(B325)*100; A26:=WINNER(B325)*100-WINNER(B326)*100; A27:=WINNER(B326)*100-WINNER(B327)*100; A28:=WINNER(B327)*100-WINNER(B328)*100; A29:=WINNER(B328)*100-WINNER(B329)*100; A30:=WINNER(B329)*100-WINNER(B330)*100; A31:=WINNER(B330)*100-WINNER(B331)*100; A32:=WINNER(B331)*100-WINNER(B332)*100; A33:=WINNER(B332)*100-WINNER(B333)*100; A34:=WINNER(B333)*100-WINNER(B334)*100; A35:=WINNER(B334)*100-WINNER(B335)*100;A36:=WINNER(B335)*100-WINNER(B336)*100;A37:=WINNER(B336)*100-WINNER(B337)*100;A38:=WINNER(B337)*100-WINNER(B338)*100;A39:=WINNER(B338)*100-WINNER(B339)*100;A40:=WINNER(B339)*100-WINNER(B340)*100;A41:=WINNER(B340)*100-WINNER(B341)*100;A42:=WINNER(B341)*100-WINNER(B342)*100;A43:=WINNER(B342)*100-WINNER(B343)*100;A44:=WINNER(B343)*100-WINNER(B344)*100;A45:=WINNER(B344)*100-WINNER(B345)*100;A46:=WINNER(B345)*100-WINNER(B346)*100;A47:=WINNER(B346)*100-WINNER(B347)*100;A48:=WINNER(B347)*100-WINNER(B348)*100;A49:=WINNER(B348)*100-WINNER(B349)*100;A50:=WINNER(B349)*100-WINNER(LB)*100;STICKLINE(ISLASTBAR,HB ,HB ,A1*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B31 ,B31 ,A1*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B32 ,B32 ,A2*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B33 ,B33 ,A3*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B34 ,B34 ,A4*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B35 ,B35 ,A5*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B36 ,B36 ,A6*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B37 ,B37 ,A7*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B38 ,B38 ,A8*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B39 ,B39 ,A9*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B310 ,B310 ,A10*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B311 ,B311 ,A11*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B312 ,B312 ,A12*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B313 ,B313 ,A13*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B314 ,B314 ,A14*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B315 ,B315 ,A15*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B316 ,B316 ,A16*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B317 ,B317 ,A17*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B318 ,B318 ,A18*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B319 ,B319 ,A19*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B320 ,B320 ,A20*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B321 ,B321 ,A21*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B322 ,B322 ,A22*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B323 ,B323 ,A23*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B324 ,B324 ,A24*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B325 ,B325 ,A25*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B326 ,B326 ,A26*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B327 ,B327 ,A27*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B328 ,B328 ,A28*50 ,0 ),COLORGRAY;STICKLINE(ISLASTBAR,B329 ,B329 ,A29*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B330 ,B330 ,A30*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B331 ,B331 ,A31*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B332 ,B332 ,A32*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B333 ,B333 ,A33*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B334 ,B334 ,A34*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B335 ,B335 ,A35*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B336 ,B336 ,A36*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B337 ,B337 ,A37*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B338 ,B338 ,A38*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B339 ,B339 ,A39*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B340 ,B340 ,A40*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B341 ,B341 ,A41*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B342 ,B342 ,A42*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B343 ,B343 ,A43*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B344 ,B344 ,A44*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B345 ,B345 ,A45*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B346 ,B346 ,A46*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B347 ,B347 ,A47*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,B348 ,B348 ,A48*50 ,0 ),COLORGRAY; STICKLINE(ISLASTBAR,LB ,LB ,A50*50 ,0 ),COLORGRAY;当前获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;。
通达信指标——日内短线(主图)
N8:=STRCAT(CON2STR(YEAR,0),' 年');Y8:=STRCAT(CON2STR(MONTH,0),' 月');R8:=STRCAT(CON2STR(DAY,0),' 日');NN:=BARSLAST(DATE!=REF(DATE,1))+1;RHN:= REF(HHV(H,NN) ,0);RLN:= REF(LLV(L,NN) ,0);SJTJ:=DA TE<1590301;SJ:=SJTJ AND TIME<1590301;ZS:=IF(DATEREF(DATE,1),REF(C,1),REF(REF(C,1),BARSLAST(DA TEREF(DATE,1)))); KP:=IF(DATEREF(DATE,1),O,REF(O,BARSLAST(DA TEREF(DATE,1))));开:IF(SJTJ AND TIME>090000, KP,DRAWNULL),LINETHICK0,COLORYELLOW;高:IF(SJTJ,RHN,DRAWNULL),LINETHICK0,COLORMAGENTA;低:IF(SJTJ,RLN,DRAWNULL),LINETHICK0,COLORYELLOW;HH1:=IF(HLL1:=IF(L >REF(L,4) AND REF(L,1)>REF(L,4) AND REF(L,2)>REF(L,4) AND REF(L,3)>REF(L,4),REF(L,4),0);HH2:=IF(HH1>0,HH1,REF(HH1,BARSLAST(HH1>0)));LL2:=IF(LL1>0,LL1,REF(LL1,BARSLAST(LL1>0)));K1:=IF(C>HH2 ,-3,IF(CK2:=IF(K1<0 OR K1>0,K1,REF(K1,BARSLAST(K1<0 OR K1>0)));GX:=IF(C>10000,0.001,0.0005);HH22:=IF(C>20000,HH2+20,HH2*(1+GX));LL22:=IF(C>20000,LL2-20,LL2*(1-GX));G:=IF(K2=1,HH22,LL22);支撑:IF(REF(K2,1)=-3 AND SJTJ,REF(G,1),DRAWNULL),LINETHICK2,COLORRED;压力:IF(REF(K2,1)=1 AND SJTJ,REF(G,1),DRAWNULL),LINETHICK2,COLORGREEN;W2:=(O-C);HKX1:=W2>0 AND K2=-3 AND SJTJ;HKX2:=W2<=0 AND K2=-3 AND SJTJ;LKX1:=W2>0 AND K2=1 AND SJTJ;LKX2:=W2<=0 AND K2=1 AND SJTJ;STICKLINE(HKX1,O,C,2,0),COLORRED;STICKLINE(HKX1,O,H,0.0,0),COLORRED;STICKLINE(HKX1,C,L,0.0,0),COLORRED;STICKLINE(HKX2,O,C,2,1),COLORRED;STICKLINE(HKX2,O,L,0.0,0),COLORRED;STICKLINE(HKX2,C,H,0.0,0),COLORRED;STICKLINE(LKX1,O,C,2,0),COLORCYAN;STICKLINE(LKX1,O,H,0.0,0),COLORCY AN;STICKLINE(LKX1,C,L,0.0,0),COLORCY AN;STICKLINE(LKX2,C,O,2,1),COLORCYAN;STICKLINE(LKX2,C,H,0.0,0),COLORCYAN;STICKLINE(LKX2,O,L,0.0,0),COLORCY AN;GDK:=ABS(ZS-KP)/ZS>0.02;XB:=IF(C>13000,0.02,0.01);GDK2:=ABS(ZS-KP)/ZS>XB;KPGZ:=KP*1.0005;KPDZ:=KP*0.9995;HS11:= SJ AND C>KPGZ AND GDK2;LS11:= SJ AND CHS22:= SJ AND C>=KPDZ AND REF(C,1)>=KPDZ AND GDK2;LS22:= SJ AND C<=KPGZ AND REF(C,1)<=KPGZ AND GDK2;HS:= HS11 OR HS22;LS:= LS11 OR LS22;GDJ:=IF(LS,RHN,RLN);最高价:IF(C090500 AND TIME<093000 , RHN,DRAWNULL),LINETHICK2,COLORGREEN;最低价:IF(C>KP AND TIME>090500 AND TIME<093000 , RLN,DRAWNULL),LINETHICK2,COLORRED;DRAWNUMBER(ISLASTBAR AND TIME>090500 AND TIME<103000 AND GDK,GDJ,GDJ),COLORMAGENTA;HKX3:=W2>0 AND HS AND SJ;HKX4:=W2<=0 AND HS AND SJ;LKX3:=W2>0 AND LS AND SJ;LKX4:=W2<=0 AND LS AND SJ;STICKLINE(HKX3,O,C,2,0),COLORRED;STICKLINE(HKX3,O,H,0.0,0),COLORRED;STICKLINE(HKX3,C,L,0.0,0),COLORRED;STICKLINE(HKX4,O,C,2,1),COLORRED;STICKLINE(HKX4,O,L,0.0,0),COLORRED;STICKLINE(HKX4,C,H,0.0,0),COLORRED;STICKLINE(LKX3,O,C,2,0),COLORCYAN;STICKLINE(LKX3,O,H,0.0,0),COLORCY AN;STICKLINE(LKX3,C,L,0.0,0),COLORCY AN;STICKLINE(LKX4,C,O,2,1),COLORCYAN;STICKLINE(LKX4,C,H,0.0,0),COLORCYAN;STICKLINE(LKX4,O,L,0.0,0),COLORCY AN;SJ8:=STRCAT(STRCAT(N8,Y8), R8);GX1:=IF(C>8000,0.001,0.0005);HDK:=(K2=1 AND REF(K2,1)=-3 AND TIME<103500 AND NOT(GDK2)) OR (K2=1 AND REF(K2,1)=-3 AND TIME>103500) OR (K2=1 AND REF(K2,1)=1 AND REF(HS,1) AND TIME=103500);DRAWTEXT(HDK ,H*(1+GX1),1),COLORBLACK{COLORYELLOW};LDD:=(K2=-3 AND REF(K2,1)=1 AND TIME<103500 AND NOT(GDK2)) OR (K2=-3 AND REF(K2,1)=1 AND TIME>103500) OR (K2=-3 AND REF(K2,1)=-3 AND REF(LS,1) AND TIME=103500);DRAWTEXT(LDD ,LOW,2),COLORBLACK{COLORYELLOW};ODD:=(HS AND TIME<=090500 AND C>KP AND SJTJ) OR (HS AND REF(LS,1) AND TIME>090500 AND TIME<=102500 AND SJTJ );DRAWTEXT(ODD,O,2),COLORBLACK{COLORYELLOW};ODK:=(LS AND TIME<=090500 AND C090500 AND TIME<=102500 AND SJTJ);DRAWTEXT(ODK,O,1),COLORBLACK{COLORYELLOW};KKK1:=IF(CLOSE>10000,0.01,0.005);GDK1:=ABS(ZS-KP)/ZS>KKK1;HS1:=TIME>090500 AND TIME<=103000 AND HS AND GDK1;HSZY:=HS1 AND K2=1 AND (G-HHSZD:=TIME>090500 AND TIME<=103000 AND HS AND (REF(HS,1)=1) AND K2=-3 AND (REF(K2,1)=1);HSPD:=TIME>090500 AND TIME<=103000 AND HS AND K2=1 AND (REF(K2,1)=-3);LS1:=TIME>090500 AND TIME<=103000 AND LS AND GDK1;LSZY:=LS1 AND K2=-3 AND (L-GLSZK:=TIME>090500 AND TIME<=103000 AND LS AND (REF(LS,1)=1) AND K2=1 AND (REF(K2,1)=-3);LSPK:=TIME>090500 AND TIME<=103000 AND LS AND K2=-3 AND (REF(K2,1)=1);ZY8L:=(HSZY AND (REF(NOT(HSZY),1)=1)) OR (LSZY AND (REF(NOT(LSZY),1)=1)); DRAWTEXT(GDK AND TIME<=090500 AND SJTJ,KP,3),COLORBLACK;XHL3:=IF(K2=-3,L,H);DRAWTEXT_FIX(C>0,0.88,0,0,SJ8),COLOR00FFFF;DRAWTEXT(HSZD OR LSZK,O,5),COLORYELLOW;GX3:=IF(C>7000,0.01,0.005);MXM:=RHN*(1+GX3);AAA:=CONST(MXM);GX2:=IF(C>8000,0.002,0.001);GX4:=IF(C>5000,6,5);ZHZ20:=IF(TIME<090000,KP,DYNAINFO(20));ZHZ12:=IF(TIME<090000,KP,DYNAINFO(12));ZHZ14:=IF(TIME<090000,KP,DYNAINFO(14));DRAWTEXT(C AND CURRBARSCOUNT=(GX4+4) AND ZHZ14>0 AND TIME>090000 AND C>3500,AAA, 6),COLORWHITE;DRAWTEXT(C AND CURRBARSCOUNT=(GX4+4) AND ZHZ14<0 AND TIME>090000 AND C>3500,AAA, 7),COLORWHITE;DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)<0 AND TIME>090000 AND C>3500 ,AAA*(1+GX2),ZHZ20),COLORGREEN;DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)<0 AND TIME>090000 AND C>3500,AAA,ZHZ12),COLORGREEN;DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)<0 AND TIME>090000 AND C>3500,AAA*(1-GX2),ZHZ14*100),COLORGREEN;DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)>0 AND TIME>090000 AND C>3500,AAA*(1+GX2),ZHZ20),COLORRED;DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)>0 AND TIME>090000 AND C>3500,AAA,ZHZ12),COLORRED;DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)>0 AND TIME>090000 AND C>3500,AAA*(1-GX2),ZHZ14*100),COLORRED;BBB:=CONST(ZHZ20);DRAWNUMBER(ISLASTBAR AND ((REF(K2,1)=1) OR(REF(K2,1)=-3)) ,REF(G,1),REF(G,1)),COLORYELLOW;XHL1:=IF(K2=-3,H,L);XHL2:=IF(LS,H,L);FJTJ:=(HS AND REF(HS,1) AND TIME<103000) OR (LS AND REF(LS,1) AND TIME<103000) OR (K2=1 AND REF(K2=1,1) AND TIME>103000) OR (K2=-3 AND REF(K2=-3,1) AND TIME>103000);KJC:=FJTJ AND ((V>25000 AND C>45000) OR (V>42000 AND C>20000) OR (V>15000 AND C>13000 AND C<20000) OR (V>40000 AND C>5500 AND C<13000) OR (V>50000 AND C<6000)) AND TIME>091500 AND TIME<=145500;KJC1:=KJC AND NOT(REF(KJC,1));KJCZ:=IF(KJC1,XHL1,XHL2);FJTJ1:=FJTJ AND (HSPD OR LSPK );FJTJ2:=FJTJ AND (HSPD OR LSPK OR KJC1) AND NOT(HSZD OR LSZK) AND NOT(ODD OR ODK OR LDD OR HDK);DRAWTEXT(FJTJ2 AND C>3500,KJCZ,8),COLORYELLOW;DRAWNUMBER(ISLASTBAR AND C>0,C,C),COLORWHITE;DRAWTEXT(((CROSS(C,HH2) AND REF(K2=-3,1)) OR (CROSS(LL2,C) AND REF(K2=1,1))) AND C>3500 AND NOT(FJTJ2),O,5),COLORYELLOW;。
短线逃顶
名称:短线逃顶公式类型;其他类型(可任选)划线方法;主图叠加应用软件:通达信公式如下:(复制到公式管理器中安装即可)。
N:=20;N1:=7;N2:=69;T1:=IF((DATE<=1090314),1,0);M3:=EMA(CLOSE,3);M8:EMA(CLOSE,8),COLOR008000;M13:EMA(M8,13),COLOR0000FF;M62:EMA(M8,55),COLORF0F000;VAR1:=EMA(M13,62);M81:EMA(M62,81),COLOR00FFFF;M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;VAR2:=(CLOSE+HIGH+LOW)/(3);VAR3:=(EMA(VAR2,10))*(T1);VAR4:=(REF(VAR3,1))*(T1);STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF;STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000;VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(),'★'),COLOR00FFFF;DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(),'↓卖'),COLOR008000;VAR7:=REF(CLOSE,1);VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(1 00);VAR9:=CROSS(N2,VAR8);VARA:=(FILTER(VAR9,4))*(T1);DRAWTEXT(VARA,(HIGH)*(),'↓卖'),COLORFFFFFF;VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);VARC:=LLV(LOW,34);VARD:=HHV(HIGH,34);VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);VARF:=(EMA(()*(REF(VARE,1))+()*(VARE),5))*(T1);DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND(VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND(REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),COLORFF00FF;DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) ANDCOUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) ANDREF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),COLOR00FFFF;VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*()) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),COLOR0000FF;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;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));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));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);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);红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:REF(离场,1)COLOR0000FF,NODRAW;青色观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORFF0000,NODRAW;短买:VAR19,COLOR33AACC,NODRAW;品红离场:VAR1A,COLORFF99FF,NODRAW;急速超跌:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF,NODRAW;辰星线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*REF(YTSL,4)+15*REF(Y TSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL,8)+11*REF(YTSL,9)+10*REF(YTSL,1 0)+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,COLOR0000FF;牵牛线:MA(CLOSE,26),COLORFF00FF;等待:=IF(MA3>辰星线,辰星线,MA3);上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR00FFFF;IF(辰星线>REF(辰星线,1),辰星线,DRAWNULL),LINETHICK2,COLOR0000FF;IF(辰星线<REF(辰星线,1),辰星线,DRAWNULL),COLOR00FF00;IF(牵牛线>REF(牵牛线,1),牵牛线,DRAWNULL),LINETHICK1,COLORFF00FF;IF(牵牛线<REF(牵牛线,1),牵牛线,DRAWNULL),COLOR669933;STICKLINE(ISLASTBAR AND (红色持股OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;STICKLINE(ISLASTBAR AND (青色观望OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00;STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;CO:=(C-O);STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(短买,O,O+CO/3,2.8,0),COLOR335555; STICKLINE(短买,O,O+CO/3,2,0),COLOR338888;STICKLINE(短买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(短买,O,O+CO/3,1,0),COLOR33CCCC;STICKLINE(短买,O,O+CO/3,0,0),COLOR33EEEE;DRAWTEXT(短买,REF(CLOSE,1),'←B'),COLOR33FFCC; STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055; STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088; STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC; STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE; DRAWTEXT(品红离场,REF(CLOSE,1)+0.1,'←S'),COLORFF99FF;。