注意:{盖印,可要可不要,修改“左手,秋天,梦想”就是你的了,哈哈大笑}
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'左手'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'秋天'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,30,'梦想'),color0000FF,LINETHICK1;
这一段是可要可不要的,看说明就可以了。
主图:
{私暮操盘线}
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
止损线:EMA(X,13),LINETHICK2,COLORFF00FF;
强弱线:MA(C,20),LINETHICK2,COLORYELLOW;
KKA:=EMA(C,5);
KKB:=EMA(KKA,8);
KKC:=EMA(KKB,13);
趋势线:EMA(KKC,50),LINETHICK2, COLORGREEN;
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
KAAA:=饱和度>=97 AND CQ>90;
KBBB:=ANY(KAAA,20);
牛熊线:IF(KBBB,REF(L,BARSLAST(KAAA)+1),REF(L,BARSLAST(KAAA)+1)),LINETHICK4;
N:=80;
M:=3;
MA5X:=MA(C,5);
MA13X:=MA(C,13);
高:=REF(HHV(H,N),M);
低:=REF(LLV(L,N),M);
H19:=高-(高-低)*0.191;
H38:=高-(高-低)*0.382;
H中:=高-(高-低)*0.5;
H61:=高-(高-低)*0.618;
H80:=高-(高-低)*0.809;
一:REF(高,DATE),POINTDOT,COLORWHITE;
二:REF(H19,DATE),POINTDOT,COLORYELLOW;
三:REF(H38,DATE),POINTDOT,COLORMAGENTA;
四:REF(H中,DATE),POINTDOT,COLORRED;
五:REF(H61,DATE),POINTDOT,COLORMAGENTA;
六:REF(H80,DATE),POINTDOT,COLORYELLOW;
七:REF(低,DATE),POINTDOT,COLORWHITE;
A60:MA(C,60),COLORBLUE;
A120:MA(C,120),COLORGRAY;
A250:MA(C,250);
DRAWTEXT(BARSTATUS=2,一,' 一'),COLORWHITE;
DRAWTEXT(BARSTATUS=2,二,' 二'),COLORYELLOW;
DRAWTEXT(BARSTATUS=2,三,' 三'),COLORMAGENTA;
DRAWTEXT(BARSTATUS=2,四,' 四'),COLORRED;
DRAWTEXT(BARSTATUS=2,五,' 五'),COLORMAGENTA;
DRAWTEXT(BARSTATUS=2,六,' 六'),COLORYELLOW;
DRAWTEXT(BARSTATUS=2,七,' 七'),COLORWHITE;
AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,1,0),COLORYELLOW;
{盖印,可要可不要,修改“左手,秋天,梦想”就是你的了,哈哈大笑}
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'左手'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'秋天'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,30,'梦想'),color0000FF,LINETHICK1;
副一:
{私暮成交量}
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
STICKLINE(DIF>DEA,0,VOL,2,0),COLORRED;
STICKLINE(DIF<DEA,0,VOL,2,0),COLORYELLOW;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
STICKLINE(J>D,VOL/2,VOL,2,0),COLORRED;
STICKLINE(J<D,VOL/2,VOL,2,0),COLORYELLOW;
{盖印,可要可不要,修改“左手,秋天,梦想”就是你的了,哈哈大笑}
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'左手'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'秋天'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,30,'梦想'),color0000FF,LINETHICK1;
副二:
input:量比(2,1,1000),上涨(30,1,1000),换手(30,1,1000),低价(5,1,100),高价(20,1,1000),离线(4,1,1000),深度(50,1,1000);
{私暮选股王}
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
换手率:=VOL/CAPITAL*100;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
中线:=EMA(X,13);
AAA:=(3*C+L+O+H)/6;
C2:=EMA(AAA,6);
C3:=EMA(AAA,5);
短线:=EMA(CLOSE,17);
上涨天数:=BARSLAST(短线<中线);
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破:=W4 AND COUNT(W4,5)=1;
峰顶:=饱和度>=97 AND CQ>90;
短期:=100*(C-LLV(L,N1))/(HHV(C,N1)-LLV(L,N1));
KAAAA:=ANY(CROSS(C2,C3),2);
KAAAB:=ANY(MACD>0,4) AND MACD<0;
KAAAC:=MA(VOL,10)>MA(VOL,5);
KBBB:=ALL(C>中线 AND O>中线,5);
KCCC:=HHV(VOL,30)/VOL>量比;
KDDD:=上涨天数<上涨;
KEEE:=SUM(换手率,30)>换手;
KFFF:=C>低价 AND C<高价;
KHHH:=ANY(峰顶,30) OR ANY(突破,30);
KJJJ:=C/中线<1+0.01*离线;
KIII:=短期<深度;
游资资金:IF(KAAAA AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH,100,0),COLORYELLOW,LINETHICK2;
主力资金:IF(KAAAB AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH,80,0),COLORGREEN,LINETHICK2;
机构资金:IF(KAAAC AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH AND KJJJ AND KIII,60,0),COLORRED,LINETHICK2;
STICKLINE(游资资金,0,40,5,0),COLORYELLOW;
STICKLINE(主力资金,0,30,5,0),COLORGREEN;
STICKLINE(机构资金,0,20,5,0),COLORRED;
{盖印,可要可不要,修改“左手,秋天,梦想”就是你的了,哈哈大笑}
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'左手'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'秋天'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,30,'梦想'),color0000FF,LINETHICK1;
副三:
{私暮顶底线}
底部:0,COLORWHITE;
顶部:100,COLORYELLOW;
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
峰顶:STICKLINE(饱和度>=97 AND CQ>90,0,100,3,0),COLORRED;
短期:100*(C-LLV(L,N1))/(HHV(C,N1)-LLV(L,N1)),COLORGRAY;
中期:100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4)),COLORRED;
持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
支撑:=LLV(持股,3);
下跌:=MA(持股,12);
KAAA:=持股=支撑 AND 支撑>下跌;
STICKLINE(KAAA,40,60,3,0),COLORGREEN;
STICKLINE(REF(中期,1)<1 AND 中期>1,0,20,3,0),COLORWHITE;
STICKLINE(W4 AND COUNT(W4,5)=1,80,100,3,0),COLORYELLOW;
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
KDDD:=REF(MACD>0,3) OR REF(MACD>0,4);
KEEE:=MACD<0 AND KDDD AND REF(MACD>0,1)=0 AND REF(MACD>0,2)=0;
STICKLINE(KEEE,40,60,3,0),COLORBLU |