我最喜歡的指標(biāo)。
分時看盤主圖:源碼:
一主三副圖。
源碼:主圖:
金軌道
上18H:WMA(SMA(HHV(HIGH,18),9/2,1),3);
下18L:WMA(SMA(LLV(LOW,18),9/2,1),3);
通道:(上18H+下18L)/2;
DRAWBAND(上18H,RGB(0,0,155),通道,RGB(0,0,155));
DRAWBAND(通道,RGB(0,40,0),下18L,RGB(0,40,0));
WMA(SMA(HHV(HIGH,18),9/2,1),3),COLOR0080FF,DOTLINE;
WMA(SMA(LLV(LOW,18),9/2,1),3),COLOR0080FF,DOTLINE;
(上18H+下18L)/2,COLORFFFFFF;
MA5:WMA(C,5);
IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK3;
{CCI-金}
現(xiàn)價:IF (DYNAINFO(4)=0,C,DYNAINFO(7)),COLOR0077FF,LINETHICK0;
TYB:WMA(((C+(H+L)/2)/2*0.618+(C+O)/2*0.382),2),LINETHICK0;
CCIA:=(TYB-MA(TYB,14))/(0.015*AVEDEV(TYB,14));
CCIB:=(TYB-MA(TYB,28))/(0.015*AVEDEV(TYB,28));
CCIC:=(TYB-MA(TYB,42))/(0.015*AVEDEV(TYB,42));
CCI:=WMA((CCIA+2*CCIB+CCIC)/4,5);
PK:=4;
BX:=IF(BARSCOUNT(C)=500,0,500);
CCIS:=ABS(HHV(CCI,BX)-LLV(CCI,BX))/(HHV(C,BX)-LLV(C,BX))*PK;
CCIK:CCI/CCIS+現(xiàn)價,COLOR00FF00,DOTLINE;
IF(CCIK>REF(CCIK,1),CCIK,DRAWNULL),COLOR00DDDD,LINETHICK3;
DRAWTEXT(CCI>REF(CCI,1) AND CROSS(CCI,-100),CCIK,'CCI底背離'),COLORFFFFFF;
{高拋.低吸}
RC:=(H+L+C*2)/4;
R2D:=WMA(RC,27);
R2E:=STD(RC,27);
R3F:=(RC-R2D)/R2E*100;
R40:=WMA(R3F,3);
R41:=WMA(R40,3);
JD:=WMA(R41,2);
AJ:=3*R41-2*JD;
DRAWTEXT(CROSS(AJ,JD) ,L-0.1,'★'),COLOR00FFFF,LINETHICK1;
DRAWTEXT(CROSS(JD,AJ) ,H+0.1,'★'),COLORFFFF00,LINETHICK1;
STICKLINE(C>=O,C,O,3.4,0),COLOR0000AA;
STICKLINE(C>=O,C,O,3.0,0),COLOR0000BB ;
STICKLINE(C>=O,C,O,2.4,0),COLOR0000CC;
STICKLINE(C>=O,C,O,2.0,0),COLOR0000DD ;
STICKLINE(C>=O,C,O,1.6,0),COLOR0000EE;
STICKLINE(C>=O,C,O,1.2,0),COLOR0000FF;
STICKLINE(C>=O,C,O,0.6,0),COLOR0000FF;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,3.4,0),COLORAAAA00;
STICKLINE(C<=O,C,O,3.0,0),COLORBBBB00;
STICKLINE(C<=O,C,O,2.4,0),COLORCCCC00;
STICKLINE(C<=O,C,O,2.0,0),COLORDDDD00;
STICKLINE(C<=O,C,O,1.6,0),COLOREEEE00;
STICKLINE(C<=O,C,O,1.2,0),COLORFFFF00;
STICKLINE(C<=O,C,O,0.6,0),COLORFFFF00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
AA:=REF(MA(C,20),1)<REF(MA(C,20),2);
BB:=COUNT(AA,3)>=2;
CC:=MA(C,20)>REF(MA(C,20),1);
拐點:=CC AND BB;
DRAWTEXT(拐點,L*0.99,'★拐點'),COLORYELLOW;
副圖一:洗盤后買入:N:=10;
ZZ:=(HHV(H,3)+LLV(L,3))/2;A:=IF(C>ZZ,VOL,0);B:=IF(C<ZZ,VOL,0);
總0:=(A-B);
BBD:EMA(總0,3)/SUM(VOL,5)*600,LINETHICK;
STICKLINE(BBD>=0,0,BBD,3,0),COLOR000088;
STICKLINE(BBD>=0,0,BBD,1.5,0),COLOR0000AA;
STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000CC;
STICKLINE(BBD>=0,0,BBD,0.5,0),COLOR0000FF;
STICKLINE(BBD<0,0,BBD,3,0),COLOR888800;
STICKLINE(BBD<0,0,BBD,1.5,0),COLORAAAA00;
STICKLINE(BBD<0,0,BBD,1,0),COLORCCCC00;
STICKLINE(BBD<0,0,BBD,0.5,0),COLORFFFF00;
XH1:=REF(BBD,1)<REF(BBD,2) AND REF(BBD,1)<-10 AND BBD>REF(BBD,1) AND BBD>0;
XH2:=REF(BBD,1)>=REF(BBD,2) AND REF(BBD,1)>8 AND BBD<REF(BBD,1) AND BBD<0;
DRAWICON(XH1,-20,1);DRAWICON(XH2,20,2);
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1;
SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1;
GG:=MA(HHH,5),LINETHICK1,COLORGREEN;
MM:=MA(CCC,5),LINETHICK1,COLORGREEN;
WW:=IF(QQ<GG,SS,MM),LINETHICK1,COLOR0000FF;
EE:=IF(SS<MM,GG,QQ),COLORFFFFCC,LINETHICK1;
★買:=IF(EE-WW<5.6,200,0);
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
資金:=EMA(AMOUNT,13);
過濾:=((資金 /量) / 100);
提純:=(((CLOSE -過濾) / 過濾) * 100);
黃金:=((提純 < (0)) AND ZXNH),COLORRED;
買:IF(黃金 AND RSVV<VARB2-2,180,0),COLOR00FFFF,STICK,LINETHICK1;
DRAWTEXT(買>0,99.6,'買'),COLORFFFFFF;
STICKLINE(買,0,2,0,9),COLOR0000FF;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
小心: 3.2,COLORYELLOW;
風(fēng)險: 3.5,COLORBLUE;
動力線:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
STICKLINE(動力線>REF(動力線,1) ,動力線 ,REF(動力線,1),0,0),COLORRED;
STICKLINE(動力線<=REF(動力線,1) ,動力線 ,REF(動力線,1),0,0),COLOR00FF00;
底部:0.2,COLORC6C600;
關(guān)注:0.5,COLORFF75FF;
強(qiáng)弱分界:1.75,COLORRED;
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;
X:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,45,'低進(jìn)'),COLORFFFFFF;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,85,'▲'),COLORFF00FF;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,80,'▲'),COLORFF00FF;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,75,'↑'),COLORFF00FF;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,70,'↑'),COLORFF00FF;
小股民:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
莊家:= EMA(0.667*REF(小股民,1)+0.333*小股民,2);
DRAWTEXT(CROSS(莊家,小股民) AND 小股民>70,90.5,'高出'),COLOR00FF00;
DRAWTEXT(CROSS(莊家,小股民) AND 小股民>70,80,'●'),COLOR00FF00;
高出:100*(CROSS(莊家,小股民) AND 小股民>70),COLOR00FF00,STICK,LINETHICK1;
副圖二: 波段:
VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
高位:90,DOTLINE,COLOR626262;
低位:20,DOTLINE,COLOR626262;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),LINETHICK2,COLOR0000FF;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK1;
H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK1,COLORYELLOW;
F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK1,COLORFFFF00;
DRAWTEXT(CROSS(C1,C2),REF(C2,1),'B'),COLOR000000;
DRAWTEXT(CROSS(C2,C1),REF(C1,1),'★'),COLORC6C600;
H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK1,COLORMAGENTA;
F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK1,COLORYELLOW;
DRAWICON(CROSS(C1,C2) AND C2>0,C2,1);
DRAWICON(CROSS(C2,C1) AND C2<-100,C1,2);
DRAWICON(CROSS(C1,C2) AND C2<0,C2,34);
DRAWICON(CROSS(C2,C1) AND C2>-100,C1,2);
條件:=CROSS(C1,C2) AND C1<40;
條件0:=CROSS(C2,C1) AND C1>90;
TJ1:=CROSS(C1,C2);
TJ2:=CROSS(C2,C1);
TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;
TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;
DRAWTEXT(條件,15,'★'),COLOR00FFFF;
DRAWTEXT(條件0,96,'賣'),COLORYELLOW;
副圖三: 盤1:=COST(0.33);
盤2:=COST(5);
盤3:=COST(15);
盤4:=COST(55);
盤5:=COST(97);
獲利:=WINNER(CLOSE)*100;
套牢:=100-WINNER(CLOSE)*100;
DRAWTEXT_FIX(1,0.02,0,0,EXTERNSTR(0,1)),COLOR719FFF;
DRAWTEXT_FIX (1,0.4,0,1,'升浪:'),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.41,0,0,CONST(COST(55))),COLOR007DFB;
DRAWTEXT_FIX (1,0.5,0,0,'預(yù)測:'),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.55,0,0,CONST(COST(97))),COLOR007DFB;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA4:=MA(CLOSE,30);
多頭排列:= MA1>MA2 AND MA2>MA3 AND MA3>MA4 ;
MA60:=MA(C,60),COLORFFCC66; MA13:=MA(C,13),COLORFFCC66;
MA75:=MA(C,75),COLORFFCC66;
空頭排列:= MA1<MA2 AND MA2<MA3 AND MA3<MA4 ;
下跌趨勢:=MA4<REF(MA4,3)AND MA4<REF(MA4,1);
上升趨勢:=MA4>REF(MA4,3) AND MA4>REF(MA4,1) ;
下降成:=CONST(IF(下跌趨勢 AND MA1<REF(MA1,1) AND REF(NOT(下跌趨勢),1),1,0));
上升成:=CONST(IF(上升趨勢 AND REF(NOT(上升趨勢),1),1,0));
DRAWTEXT_FIX(ISLASTBAR AND 下降成=1,0.8,0.2,0,'下降趨勢成'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND 上升成=1,0.8,0.2,0,'上升趨勢成'),COLOR8080FF;
一陰穿2線:=C/O<0.985 AND H>MA1 AND C<MA3;
一陽穿2線:=C/O>1.016 AND L<MIN(MA1,MA3)AND C>MAX(MA1,MA3);
發(fā)散度:=MA1/MA4;
均線下發(fā)散:=下跌趨勢 AND 發(fā)散度<0.9 AND 發(fā)散度<0.99*REF(發(fā)散度,1);
均線上發(fā)散:=MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA1>MA2 AND MA2>MA3 AND MA3>MA4;
AAAA1:=MAX(MAX(MA(V,5),MA(V,10)),MA(V,60))/MIN(MIN(MA(V,5),MA(V,10)),MA(V,60))<=1.4;
AAAA2:=MAX(MA(C,5),MA(C,10))/MIN(MA(C,5),MA(C,10))<=1.4;
DIFF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIFF,9);
升:=CONST(IF( DIFF>0,1,0)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 升=1,0.1,0.35,0,'處于上升趨勢'),COLOR8080FF;
降:=CONST(IF( DIFF<-0,1,0)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 降=1,0.1,0.35,0,'處于下降趨勢'),COLORFFFF00;
VARF:=LOW*0.9;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
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;
均線密集:=DIFF>DEA AND K >D AND(MA5-MA10)<0.05 AND (MA20-MA5)<0.05 AND (MA10-MA5)<0.05 AND (MA5-MA20)<0.05;
A:=MA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),19);
B:=-100*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));
DD:=EMA(-100*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34)),4);
長線:=A+100;
短線:=B+100;
中線:=DD+100;
見頂:=(REF(中線,1)>85 AND REF(短線,1)>85 AND REF(長線,1)>65 AND CROSS(長線,短線));
頂區(qū):=(中線 >REF(中線,1) AND REF(中線,1)>80 AND REF(短線,1)>95 OR REF(短線,2)>95
AND 長線>60 AND 短線<83.5 AND 短線<中線 AND 短線<長線+4);
底區(qū):=長線<20 AND 中線<18 AND 短線<40 AND REF(短線,1)<5 AND 中線 >REF(中線,1)AND 短線 >REF(短線,1);
頂部:=FILTER(頂區(qū),4);
{}
VAR2N:=LLV(LOW,3)<=LLV(LOW,60);
VAR3N:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
絕地反擊:=IF(VAR2N AND VAR3N,90,0),COLORYELLOW,LINETHICK2;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
A1:=SMA(MAX(C-LC,0),6,1);
B1:=SMA(ABS(C-LC),6,1);
界:=IF(C>LC,(REF(A1,1)*5-REF(B1,1)*5*0.5)/(0.5-1)+LC,LC+REF(B1,1)*5-REF(A1,1)*5/0.5),COLORWHITE;
MACD:=4*(DIFF-DEA);
{}
縮頭:=IF(MACD>0 AND REF(MACD,1)>REF(MACD,2) AND MACD< REF(MACD,1),1,0);
縮腳:=IF(MACD<0 AND REF(MACD,1)< REF(MACD,2) AND MACD>REF(MACD,1),1,0);
ZDIF:=EMA(INDEXC,12)-EMA(INDEXC,26);
ZHIDEA:=EMA(ZDIF,9);
ZEMACD:=(ZDIF-ZHIDEA)*2/100,COLORSTICK;DK:=ZEMACD;
{}
Z縮頭:=IF(DK>0 AND REF(DK,1)>REF(DK,2) AND DK< REF(DK,1),1,0);
Z縮腳:=IF(DK<0 AND REF(DK,1)< REF(DK,2) AND DK>REF(DK,1),1,0);
{}
TT:=240/FROMOPEN;
比:=TT;
J12:=(HIGH - ((HIGH - LOW) / 3));
J23:=(LOW + ((HIGH - LOW) / 3));
AAA1:=CONST(HHV(H,90));
BBB:=CONST(LLV(L,30))+2;
T1:=CONST(IF(CLOSE>界,1,0));
T2:=CONST(IF(CLOSE<界,1,0));
T3:=CONST(IF(C<MA(C,75),1,0));
T4:=CONST(IF(CROSS(CLOSE,界),1,0));
T5:=CONST(IF(CROSS(MA(CLOSE,13),CLOSE),1,0));
T6:=CONST(IF(C>=MA(C,5) AND C<MA(C,13),1,0));
T7:=CONST(IF(C>=MA(C,75),1,0));
VAR1Y:=VOL/CAPITAL*100;
VAR2Y:=LLVBARS(LOW,10);
VAR3Y:=(CLOSE-REF(OPEN,VAR2Y))/REF(OPEN,VAR2Y)*100;
VAR4Y:=REF(CLOSE,2)*0.865;
VAR5Y:=REF(CLOSE,13)*0.772;
VAR6Y:=MAX(VAR4Y,VAR5Y);
T9:=(CLOSE-VAR6Y)/CLOSE>0.2 AND VAR3Y<50 AND SUM(VAR1Y,5)/5>5;
T10:=CONST(IF(VAR2N AND VAR3N,1,0));
T11:=CONST(IF(縮腳,1,0));
T12:=CONST(IF( ZDIF<0 ,1,0));
T14:=CONST(IF(ZEMACD>=REF(ZEMACD,1) AND ZEMACD>0 AND ZDIF>=0 ,1,0));
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.2,0,'看 均 線'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.35,0,'看MACD'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.50,0,'看 大 盤'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.65,0,'看 買 賣'),COLORFFFFFF;
DRAWTEXT_FIX(ISLASTBAR AND T1=1,0.26,0.2,0,'短線上升持股'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND T2=1,0.26,0.2,0,'短線下降持幣'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND T3=1,0.38,0.2,0,'長線下降持幣'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND T7=1,0.38,0.2,0,'長線上升持股'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND T6=1,0.1,0.65,0,'低買點持股信號'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND T4=1,0.65,0.65,0,'加買點信號'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND T5=1,0.65,0.65,0,'短線賣出信號'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND T14=1,0.1,0.5,0,'處于上升趨勢'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND T12=1,0.1,0.5,0,'處于下降趨勢'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND T9=1,0.2,0.65,0,'陽線賣點'),COLOR00FFFF;
LC1:=REF(INDEXC,1);
ZRSI:=SMA(MAX(INDEXC-LC1,0),6,1)/SMA(ABS(INDEXC-LC1),6,1)*100,COLORD9D900;
X:=INDEXC;
Y:=INDEXO;
Z:=INDEXL;
I:=INDEXH;
急速超跌:=(X-MA(X,34))/MA(X,34)*100<-5;
當(dāng)日收陽:=(I-Z)/Z>0.01 AND (X-Y)/Y>0.01 AND X/REF(X,1)>1.01;
超跌收陽:=CONST(IF(急速超跌 AND 當(dāng)日收陽,1,0));
DRAWTEXT_FIX(ISLASTBAR AND 超跌收陽=1 ,0.65,0.5,0,'大盤短底,少量買'),COLOR8080FF;
A1W:=SMA(MAX(X-LC1,0),6,1);
B1W:=SMA(ABS(X-LC1),6,1);
界1:=IF(X>LC1,(REF(A1W,1)*5-REF(B1W,1)*5*0.5)/(0.5-1)+LC1,LC1+REF(B1W,1)*5-REF(A1W,1)*5/0.5),COLORWHITE;
TYP := (Z +I + X)/3;
YY:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
BB:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
超賣:=CONST(IF(CROSS(BB,-200),1,0));
DRAWTEXT_FIX(ISLASTBAR AND 超賣=1 ,0.65,0.5,0,'大盤超賣,少量買'),COLOR8080FF;
KS:=(C-MA(C,17))/MA(C,17)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.01;
大盤4:=CONST(IF(X>界1,1,0));
大盤3:=CONST(IF(X<界1,1,0));
大盤12{M13}:=CONST(IF(ZEMACD>REF(ZEMACD,1) AND ZEMACD>0 AND ZDIF<0 ,1,0));
大盤13:=CONST(IF(ZEMACD<0 AND ZDIF>0 ,1,0));
M整理:=CONST(IF( MACD<0 AND DIFF>0,1,0));
M走緩:=CONST(IF(MACD<REF(MACD,1) AND MACD>0 AND DIFF>0 ,1,0));
DRAWTEXT_FIX(ISLASTBAR AND M整理=1 ,0.26,0.35,0,'股價升途整理'),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR AND M走緩=1 ,0.26,0.35,0,'股價上升走緩'),COLOR00FFFF;
大盤16:=CONST(IF(ZEMACD<REF(ZEMACD,1) AND ZEMACD<0 AND ZDIF>0 ,1,0));
大盤11:=CONST(IF(KS>=17 ,1,0));
大盤2:=CONST(IF(MLS=1,1,0));
DRAWTEXT_FIX(ISLASTBAR AND 大盤4=1 ,0.26,0.5,0,'短線持股'),COLOR8080FF;
DRAWTEXT_FIX(大盤3=1 AND ISLASTBAR,0.26,0.5,0,'短線持幣'),COLORFFFF00;
DRAWTEXT_FIX(大盤13=1 AND ISLASTBAR,0.3,0.5,0,'上升趨勢,升途整理,謹(jǐn)慎'),COLOR00FFFF;
DRAWTEXT_FIX(大盤11=1 AND ISLASTBAR,0.2,0.65,0,'今日價超跌'),COLORFFFF00;
DRAWTEXT_FIX(大盤2=1 AND ISLASTBAR,0.2,0.65,0,'今日價反彈'),COLOR8080FF;
M彈:=CONST(IF(MACD>REF(MACD,1) AND MACD>0 AND DIFF<0,1,0));
{DRAWTEXT_FIX(大盤12=1 AND ISLASTBAR,0.3,0.5,0,'大盤下降趨勢,反彈,謹(jǐn)慎'),COLORWHITE ;}
DRAWTEXT_FIX(大盤12 AND ISLASTBAR,0.5,0.5,0,'處于反彈區(qū)'),COLOR8080FF;
DRAWTEXT_FIX(M彈=1 AND ISLASTBAR,0.26,0.35,0,'反彈階段小心'),COLORYELLOW;
MM3:=CONST(IF(RSI1<ZRSI,1,0));
MM4:=CONST(IF((RSI1>=ZRSI),1,0));
DRAWTEXT_FIX(ISLASTBAR AND MM3=1,0.1,0.2,0,'弱于大盤走勢'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND MM4=1,0.1,0.2,0,'強(qiáng)于大盤走勢'),COLOR8080FF;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
買盤1:=DYNAINFO(23)*比;
賣盤1:=DYNAINFO(22)*比;
買盤2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));
賣盤2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));
買盤:=IF(ISLASTBAR AND PERIOD=5 AND C<300,買盤1,買盤2);
賣盤:=IF(ISLASTBAR AND PERIOD=5 AND C<300,賣盤1,賣盤2);MFI:=(HIGH-LOW)*1000000/(VOL*比);
綠燈:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);
M1:=CONST(IF(空頭排列 AND 均線下發(fā)散,1,0));
M2:=CONST(IF(多頭排列 AND 均線上發(fā)散,1,0));
M3:=CONST(IF(空頭排列 AND NOT(均線下發(fā)散),1,0));
M9:=CONST(IF(空頭排列 ,1,0));
M10:=CONST(IF(多頭排列 ,1,0));
MM1:=CONST(IF(均線密集,1,0));
MM2:=CONST(IF(上升趨勢 AND NOT(一陰穿2線) AND REF(上升趨勢,1),1,0));
M4:=CONST(IF(下跌趨勢 AND NOT(一陽穿2線),1,0));
MM5:=CONST(IF(DIFF<0 AND MACD<0 AND MACD>REF(MACD,1),1,0));
MM7:=CONST(IF(ZEMACD>REF(ZEMACD,1) AND ZEMACD<0,1,0));
MM8:=CONST(IF(下跌趨勢 AND REF(下跌趨勢,1) AND NOT(一陽穿2線),1,0));
MM9:=CONST(IF(ZEMACD<REF(ZEMACD,1) AND ZEMACD>0,1,0));
量大:=(賣盤+買盤)/REF(VOL,1)>2;
M5:=CONST(量大);
量縮:=REF(VOL,1)/(賣盤+買盤)>1.5;
M6:=CONST(量縮);
賣量大:=(賣盤-買盤)/買盤>0.4;
M7:=CONST(賣量大);
買量大:=(買盤-賣盤)/賣盤>0.4;
M8:=CONST(買量大);
DRAWTEXT_FIX(ISLASTBAR AND M2=1,0.7,0.2,0,'多頭發(fā)散,注意13日線得失'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND M7=1,0.7,0,0,'☆賣出量大于買入量40%以上'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND M8=1,0.7,0,0,'☆買入量大于賣出量40%以上'),COLOR8080FF;
{{DRAWTEXT_FIX(ISLASTBAR AND MM1=1,0.2,0,7,'均線密集,注意方向變化'),COLORYELLOW;}
DRAWTEXT_FIX(ISLASTBAR AND M1=1,0.4,0.2,0,'有加速下跌趨勢'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND M2=1,0.4,0.2,0,'有加速上升趨勢'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND M4=1,0.5,0.2,0,'下跌趨勢未變,'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND MM2=1,0.5,0.2,0,'上升趨勢未變'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND M9=1,0.8,0.2,0,'空頭排列'),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND M10=1,0.8,0.2,0,'多頭排列'),COLOR8080FF;
DRAWTEXT_FIX(ISLASTBAR AND MM5=1,0.25,0.35,0,'下跌趨勢趨緩,可能轉(zhuǎn)折'),COLOR00FFFF;
{DRAWTEXT(VAR2N AND VAR3N,L*0.99,'反擊'),COLOR00FF00;}
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
乖:=CONST(IF(CROSS(BIAS,乖離) AND 乖離<-9,1,0)),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR AND 乖=1,0.65,0.35,0,'乖離買點'),COLOR8080FF;
坑:=CONST(IF( 乖離<-19,1,0)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 坑=1,0.65,0.5,0,'深坑買點'),COLOR8080FF;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
支撐:=L1+P1*0.5/8;
底: CROSS(支撐,C),COLOR8080FF,STICK,LINETHICK1;
DRAWTEXT(底>0,19.26,'底'),COLOR4646FF;
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=8;
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
減:CROSS(88,RSI),STICK,LINETHICK1,COLORFFFF00;
DRAWTEXT(減>0,13.1,'↓減'),COLORFFFF00;
STICKLINE(減,0,1,0,0),COLORFFFF00;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,2,'低進(jìn)'),COLORFFFFFF;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,13,'▲'),COLORFF00FF;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,10,'↑'),COLORFF00FF;
小股民:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
莊家:= EMA(0.667*REF(小股民,1)+0.333*小股民,2);
DRAWTEXT(CROSS(莊家,小股民) AND 小股民>70,1.9,'賣'),COLOR00FF00;
DRAWTEXT(CROSS(莊家,小股民) AND 小股民>70,12,'↓'),COLOR00FF00;
高出:100*(CROSS(莊家,小股民) AND 小股民>70),COLOR000000,LINETHICK1,STICK;
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
資金:=EMA(AMOUNT,13);
過濾:=((資金 /量) / 100);
提純:=(((CLOSE -過濾) / 過濾) * 100);
黃金:=((提純 < (0)) AND ZXNH),COLORRED;
買:IF(黃金 AND RSVV<VARB2-2,18,0),COLOR2E2E2E,STICK,LINETHICK1;
DRAWTEXT(買>0,13.6,'買'),COLOR8080FF;
再送一個選股預(yù)警指標(biāo):洗盤后再買入:
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
資金:=EMA(AMOUNT,13);
過濾:=((資金 /量) / 100);
提純:=(((CLOSE -過濾) / 過濾) * 100);
黃金:=((提純 < (0)) AND ZXNH);
洗盤再買:黃金 AND RSVV<VARB2-2;
聯(lián)系客服