通达信倍量七穴主图
C310:=C-(C-O)/3;O310:=O+(C-O)/3;
C210:=O+(C-O)/2;
倍量:=V>=REF(V,1)*1.9;
STICKLINE(倍量,C,O,1,0),COLORMAGENTA;
STICKLINE(倍量,C-(C-O)/3,C-(C-O)/3,1.5,30),COLOR00FFFF;
STICKLINE(倍量,O+(C-O)/3,O+(C-O)/3,2,30),COLOR4080FF;
STICKLINE(倍量,O+(C-O)/2,O+(C-O)/2,2.5,30),COLORC080FF;
STICKLINE(倍量,H,H,2.5,30),COLOR00FF00;
STICKLINE(倍量,O,O,2.5,30),COLORFF0000;
STICKLINE(倍量,L,L,2.5,30),COLORFFFF00;
STICKLINE(倍量,C,C,2.5,30),COLOR408000;
通达信倍量七穴主图
EMA5:EMA(C,5); EMA14:EMA(C,14),COLORRED,LINETHICK2; EMA25:EMA(C,25),COLORYELLOW,LINETHICK2; EMA60:EMA(C,60),COLORFF00FF; EMA90:EMA(C,90),COLORGREEN; EMA120:EMA(C,120),COLORBLUE; M1:=1000*EMA14/EMA25<=1115 AND 1000*EMA14/EMA25>=870; M2:=1000*EMA25/EMA60<=1115 AND 1000*EMA25/EMA60>=875; M3:=1000*EMA60/EMA90<=1120 AND 1000*EMA60/EMA90>=880; M4:=1000*EMA90/EMA120<=1015 AND 1000*EMA90/EMA120>=885; DRAWICON(M1 AND M2 AND M3 AND M4 AND CROSS(EMA5,EMA14),L-0.20,9); {N:1 100 5 M:1 100 13} 上:=EMA(C,3),COLORRED,LINETHICK1; 中:=EMA(C,5),COLOR00FF00,LINETHICK1; 下:=EMA(中,5),COLORWHITE,LINETHICK1; 趋势线:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4; V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); V2:=(1-7/100)*(DMA(CLOSE,V1)); V3:=(1+7/100)*(DMA(CLOSE,V1)); V5:=MA((LOW+HIGH+CLOSE)/3,5); 支撑:=REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF; 阻力:=REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN; MA1:=MEMA(CLOSE,5); MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416; MA3:=IF(MA2>0,MA2,MA2); MA5:=MA(CLOSE,N),COLOR888899; MA13:=MA(CLOSE,M),COLORFF00F0,LINETHICK2; VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2); VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4); VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2); VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1); VAR5:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1); VAR6:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2); VAR7:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN; VAR8:=VAR7 AND COUNT(VAR6,2); VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6); VAR10:=EMA(MA(C,13),13); VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND CROSS(VAR9,MA(VAR9,2)))=1,5); VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND CROSS(MA(VAR9,2),VAR9))=1,1); VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10; VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18)); VAR16:=VAR8 AND NOT(REF(VAR8,1)); 强攻:=IF(MA3>REF(MA3,1) AND MA3>=0,MA13,DRAWNULL),COLORYELLOW,LINETHICK2; 回调:=IF(MA3<REF(MA3,1) AND MA3>0,MA13,DRAWNULL),COLORGREEN,LINETHICK2; {KDJ} RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 金叉:=CROSS(J,D); 死叉:=CROSS(D,J); 买1:=(VAR14 OR VAR15) AND VAR11; 买2:=(VAR14 OR VAR15) AND VAR4; 买3:=(VAR14 OR VAR15) AND VAR2; 买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11); 买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11); EMA5:EMA(C,5);
EMA14:EMA(C,14),COLORRED,LINETHICK2;
EMA25:EMA(C,25),COLORYELLOW,LINETHICK2;
EMA60:EMA(C,60),COLORFF00FF;
EMA90:EMA(C,90),COLORGREEN;
EMA120:EMA(C,120),COLORBLUE;
M1:=1000*EMA14/EMA25<=1115 AND 1000*EMA14/EMA25>=870;
M2:=1000*EMA25/EMA60<=1115 AND 1000*EMA25/EMA60>=875;
M3:=1000*EMA60/EMA90<=1120 AND 1000*EMA60/EMA90>=880;
M4:=1000*EMA90/EMA120<=1015 AND 1000*EMA90/EMA120>=885;
DRAWICON(M1 AND M2 AND M3 AND M4 AND CROSS(EMA5,EMA14),L-0.20,9);
{N:1 100 5 M:1 100 13}
上:=EMA(C,3),COLORRED,LINETHICK1;
中:=EMA(C,5),COLOR00FF00,LINETHICK1;
下:=EMA(中,5),COLORWHITE,LINETHICK1;
趋势线:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
支撑:=REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;
阻力:=REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;
MA1:=MEMA(CLOSE,5);
MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
MA3:=IF(MA2>0,MA2,MA2);
MA5:=MA(CLOSE,N),COLOR888899;
MA13:=MA(CLOSE,M),COLORFF00F0,LINETHICK2;
VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
C>=REF(C,1) AND C>=REF(C,2);
VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR
REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND
C<REF(C,1) AND C<REF(C,2);
VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
VAR5:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND
REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND
REF(C,2)>=REF(C,4) AND C<REF(C,1);
VAR6:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);
VAR7:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;
VAR8:=VAR7 AND COUNT(VAR6,2);
VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
VAR10:=EMA(MA(C,13),13);
VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND
CROSS(VAR9,MA(VAR9,2)))=1,5);
VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND
CROSS(MA(VAR9,2),VAR9))=1,1);
VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
VAR16:=VAR8 AND NOT(REF(VAR8,1));
强攻:=IF(MA3>REF(MA3,1) AND MA3>=0,MA13,DRAWNULL),COLORYELLOW,LINETHICK2;
回调:=IF(MA3<REF(MA3,1) AND MA3>0,MA13,DRAWNULL),COLORGREEN,LINETHICK2;
{KDJ}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
买1:=(VAR14 OR VAR15) AND VAR11;
买2:=(VAR14 OR VAR15) AND VAR4;
买3:=(VAR14 OR VAR15) AND VAR2;
买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);
买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);
#在这里快速回复#所属板块:=STRCAT('所属板块: ',STRCAT(STRCAT(STRCAT('[行业]-',HYBLOCK),STRCAT(' [地域]-',DYBLOCK)),STRCAT(' [概念]-',GNBLOCK))); 总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿'); {主图显示} DRAWTEXT_FIX(ISLASTBAR,0.555,0.03,0,所属板块),COLORYELLOW; PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3), IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3), IF(LLV(L,3)>=REF(O,3) AND REF(C,3)>REF(O,3),REF(O,3),REF(L,3)))); {画量柱标识:} {1.画倍量黄金柱标识} 倍量黄金柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,17); {2.画梯量黄金柱标识} 梯量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(V,5)>REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17); {3.画平量黄金柱标识} 平量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)<=0.03,H,19); 倍量:=DRAWICON((VOL>REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) AND C>REF(C,1),H+0.2,26); STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW; 倍量黄金线:STICKLINE(倍量黄金柱,PHD,PHD,28,0),COLORMAGENTA,LINETHICK5; DRAWICON(倍量黄金柱,PHD*1.008,12); DRAWTEXT(倍量黄金柱,PHD*1.008,'倍量黄金线'),COLORMAGENTA; HJZ:=(3*C+H+L+O)/6; HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36; HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O; 黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4,NODRAW; STICKLINE(黄金柱,O,C,3.3,0),COLORRED; STICKLINE(黄金柱,H,L,0.1,0),COLORRED; DRAWTEXT(黄金柱,H*0.98,'←黄金柱'),COLORYELLOW; XG:=SUMBARS(FILTER(黄金柱,2),1); STICKLINE(XG,REF(C,XG-1),REF(C,XG-1),10,0),COLORGREEN; XG1:=SUMBARS(FILTER(黄金柱,2),1); STICKLINE(XG1,REF(L,XG1-1),REF(L,XG1-1),10,0),COLORAA00FF; 平量黄金线:STICKLINE(平量黄金柱,PHD*1.002,PHD,28,0),COLORYELLOW; DRAWTEXT(平量黄金柱,PHD*1.015,'←平量黄金线'),COLORFFCC00 ; 梯量黄金线:STICKLINE(梯量黄金柱,PHD*1.002,PHD,28,0),COLORYELLOW; DRAWTEXT(梯量黄金柱,PHD*1.015,'←梯量黄金线'),COLORCYAN ; 谢谢分享 谢谢楼主分享 :) 谢谢分享!!!! ddddddddddd #在这里快速回复#通达信倍量七穴主图 好奇飘过。 学习、提高,再学习、再提高! 学习、提高,再学习、再提高! 什么好东东过来看一看。 {:soso_e179:} 好好学习,谢谢。 {:soso_e163:}{:soso_e163:}