自用通達(dá)信的交易指標(biāo) 公式是裝入交易系統(tǒng)公式中的,指標(biāo)原理,來源于CCI,經(jīng)過優(yōu)化,在實(shí)戰(zhàn)中結(jié)合MACD與KDJ(參數(shù)為34,5,5),波段把握更精準(zhǔn)。指標(biāo)只是參考,決策還需大腦! 我不會抓圖,請高手們幫忙給抓個圖,謝謝了! TYP:=(HIGH+LOW+CLOSE)/3; C1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); ENTERLONG:CROSS(C1,-150); LL:=REF(CLOSE,1); MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100; EXITLONG:CROSS(80,MM); ===============================================
自攢兩位老師的指標(biāo)(效果不錯) 這個是源于 估界文、短線游子 兩位老師的指標(biāo)——《界文KD》《J先共振》。 由于都是取材于KDJ,所以我覺得應(yīng)該可以放在一起疊加使用,組合完了之后感覺效果還不錯。于是冒磚 發(fā)上來,請老師、學(xué)長們批評指正。
為了達(dá)到更清楚的顯示效果,采用了兩位同學(xué)的修改版,在此感謝他們。 ( 新股民hjq518、 大刀小用 )
圖雖然有些亂,但效果還不錯。呵呵。
源碼:
{估短 KDJ}
{界文KD 修改帶提示版} N1:=7;N2:=27; STICKLINE(C>0,40,60,10,0),COLORGRAY; RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; 短K:SMA(RSV,3,1),COLORF580F5,LINETHICK0; 短D:SMA(短K,3,1),COLORCCDD33,LINETHICK0; RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100; 中K:SMA(RSV1,5,1),COLORRED,LINETHICK0; 中D:SMA(中K,10,1),COLOR33AA33,LINETHICK0; 底線:10,COLORWHITE; 頂線:90,{COLOR00FFFF;},COLORWHITE; STICKLINE(短K>短D,短K,短D,3,1),COLORF580F5; STICKLINE(短K<=短D,短K,短D,3,1),COLORCCDD33; STICKLINE(中K>中D,中K,中D,2,0),COLOR0000EF; STICKLINE(中K<=中D,中K,中D,2,0),COLOR33AA33; 中J:=3*中K-2*中D,COLORFF00FF; 超跌:IF(中J<0,10,0),COLORLIGREEN; BDDD:=LLV(中J,2)=LLV(中J,8); 重啟:IF(CROSS(中J,REF(中J+0.01,1)) AND BDDD AND 中J<20,10,-10),COLORLIRED; 加碼:IF(CROSS(中J,REF(中J+0.01,1)) AND BDDD AND BETWEEN(中J,20,60),1,0),COLORRED,NODRAW; BDGD:=HHV(中J,2)=HHV(中J,8) AND 中J>80; 小心:IF(CROSS(REF(中J-0.01,1),中J) AND REF(BDGD,1),90,120),COLORYELLOW; DRAWICON(加碼,中J,1);
{J線共振 修改彩帶版} RSV1A:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; K1:=SMA(RSV1,5,1); D1:=SMA(K1,5,1); J1:=3*K1-2*D1; AA1:=EMA(J1,5); AA2:=REF(AA1,1); DRAWBAND(AA1,RGB(255,255,0),AA2,RGB(0,255,0)); RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K2:=SMA(RSV2,3,1); D2:=SMA(K2,3,1); J2:=3*K2-2*D2; BB1:=EMA(J2,5); BB2:=REF(BB1,1); DRAWBAND(BB1,RGB(255,0,0),BB2,RGB(0,0,255)); DD:=AA1>AA2 AND BB1>BB2; 注意買入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ,LINETHICK0; DRAWICON(注意買入,-5,1); 注意賣出:REF(DD,1)=1 AND NOT(DD),LINETHICK0; DRAWICON(注意賣出,105,2);
==============================
公開-------★MACD經(jīng)典 原碼
{★MACD-(快速)}
input: P(19,15,100), S(7,5,140), M(9,2,80);
{-----------------------☆功能開關(guān)------------------------} {資金} ZJ1:=DMA((H+L+C*2)/4,0.9); ZJ2:=V/((H-L)*2-ABS(C-O)); ZJ3:=IF(C>O,ZJ2*(H-L),IF(C<O,ZJ2*(H-O+(C-L)),V/2))+IF(C>O,0-ZJ2*(H-C+(O-L)),IF(C<O,0-ZJ2*(H-L),0-V/2)); ZJ4:=ZJ3/20/1.15; ZJ5:=ZJ4*0.55+REF(ZJ4,1)*0.33+REF(ZJ4,2)*0.22; ZJ6:=EMA(ZJ5,3); {macd} MJ_1 := EMA(CLOSE,S) - EMA(CLOSE,P); MJ_2 := EMA(MJ_1,M); MJ_3 := 2*(MJ_1-MJ_2); MJ_4:=REVERSE(MJ_3)+2*WMA(WMA(MJ_3,1),5); MJ_5:=3*MJ_4-2*SMA(MJ_4,2,1); {形態(tài)} 低金:=CROSS(MJ_1,MJ_2) AND MJ_1<-0.1;{低金} SA0:=COUNT(CROSS(MJ_1,MJ_2) AND MJ_2<0,21)=3; 零下二次金叉:=CROSS(MJ_3,0) and SA0;{零下二次金叉} SA1:=COUNT(CROSS(MJ_1,MJ_2),BARSLAST(MJ_2>=0)); 二金:=(CROSS(MJ_1,MJ_2) AND MJ_2<0 AND COUNT(SA1=2,21)=1)*2;{二次金叉} SA2:=BARSLAST(REF(CROSS(MJ_1,MJ_2),1)); 底背:=(REF(C,SA2+1)>C AND MJ_1>REF(MJ_1,SA2+1) AND CROSS(MJ_1,MJ_2))*3;{底背} 三全:=低金 AND 二金 AND 底背; SA3:=BARSLAST(REF(CROSS(MJ_2,MJ_1),1)); 頂背:=REF(C,SA3+1)<C AND REF(MJ_1,SA3+1)>MJ_1 AND CROSS(MJ_2,MJ_1);{頂背} {信號} M_C1:=EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)<1.05 and c/ref(c,1)>0.905 and V/CAPITAL*100<5; M_C2:=MIN(ref(C,2)*0.865,ref(c,13)*0.772); M_C3:=(C-M_C2)/C<0.03; 滿倉:=M_C1 and M_C3; {估測轉(zhuǎn)折股價--未來} X:=BarsLast(Backset(ISLASTBAR,1)=1)+1; Z_1:=REF(MJ_2,1)+((M+1)/(2*(M-1)))*REF(MJ_3,1); Z_2:=((P-1)*(S+1)*REF(EMA(C,P),1)-(P+1)*(S-1)*REF(EMA(C,S),1)+(S+1)*(P+1)*REF(MJ_1,1))/(2*P-2*S); Z_3:=((P-1)*(S+1)*REF(EMA(C,P),1)-(P+1)*(S-1)*REF(EMA(C,S),1)+(S+1)*(P+1)*REF(MJ_2,1))/(2*P-2*S); Z_4:=((P-1)*(S+1)*REF(EMA(C,P),1)-(P+1)*(S-1)*REF(EMA(C,S),1)+(S+1)*(P+1)*Z_1)/(2*P-2*S); Y_1:=(MJ_2*X+((M+1)/(2*(M-1)))*MJ_3*X); Y_2:=((P-1)*(S+1)*EMA(C,P)*X-(P+1)*(S-1)*EMA(C,S)*X+(S+1)*(P+1)*MJ_1*X)/(2*P-2*S); Y_3:=((P-1)*(S+1)*EMA(C,P)*X-(P+1)*(S-1)*EMA(C,S)*X+(S+1)*(P+1)*MJ_2*X)/(2*P-2*S); Y_4:=((P-1)*(S+1)*EMA(C,P)*X-(P+1)*(S-1)*EMA(C,S)*X+(S+1)*(P+1)*Y_1)/(2*P-2*S);
{-----------------【圖解模板】---------------------} DRAWGBK(C,COLORRGB(36,68,36),COLORRGB(100,100,100),1);
{MACD} FILLRGN(MJ_1>=MJ_2,MJ_1,MJ_2),Color689AFF; FILLRGN(MJ_1<MJ_2,MJ_2,MJ_1),ColorFFC000; FILLRGN(MJ_3>MJ_5,MJ_5,MJ_3),ColorFFB7FF; FILLRGN(MJ_3<MJ_5,MJ_5,MJ_3),Color003E00; STICKLINE(MJ_3<ref(MJ_3,1) and MJ_3<0,0,MJ_3,0,0),ColorFFCF78;{藍(lán)} STICKLINE(MJ_3<ref(MJ_3,1) and MJ_3>0,0,MJ_3,0,0),COLORYELLOW;{黃} STICKLINE(MJ_3>ref(MJ_3,1) and MJ_3<0,0,MJ_3,0,0),ColorAF00AF;{紫} STICKLINE(MJ_3>ref(MJ_3,1) and MJ_3>0,0,MJ_3,0,0),COLORRED;{紅} DIFF: MJ_1,PRECISION2,COLORWHITE; DEA: MJ_2,PRECISION2,COLORYELLOW; 加速:2.8*(MJ_2-MJ_1),LINETHICK,PRECISION2,COLORGREEN; PARTLINE(RANGE(BARPOS,SYSPARAM(3)-34,SYSPARAM(3)+1),加速),LINEDOT,COLORGREEN; 多頭: MJ_3,LINETHICK2,PRECISION2,COLORRED; 預(yù)警:MJ_5,PRECISION2,ColorFF8900,ColorFFB500; PARTLINE(MJ_1>=REF(MJ_1,1) AND MJ_2<REF(MJ_2,1),MJ_1),LINETHICK2,COLORMAGENTA;//粉 PARTLINE(MJ_1<REF(MJ_1,1) AND MJ_2>REF(MJ_2,1),MJ_1),LINETHICK2,COLORBLUE;//藍(lán) {資金} PARTLINE(1,0),LINETHICK2,COLORWHITE;//負(fù) PARTLINE(ZJ6>=0,0),LINETHICK2,COLORRED;//正 {形態(tài)} DRAWTEXT(低金,DEA*0.98,'▲'),PXDN8,Color00C300; DRAWTEXT(零下二次金叉,DEA*0.98,'▲ n▲'),PXDN8,Color00C300; DRAWTEXT(二金,DEA*0.98,'▲ n▲'),PXDN8,Color00C300; DRAWTEXT(底背,DEA*0.98,' n n↑'),PXDN8,COLORMAGENTA; DRAWTEXT(三全,DEA*0.98,'▲ n▲ n▲'),PXDN8,COLORRED; DRAWTEXT(頂背,DEA,'▼ n▼'),PXUP60,ColorFF5B00; {信號} VERTLINE(滿倉),LINEDOT,COLORGRAY; DRAWTEXT(滿倉,加速,' 第 n 二 n 天 n 買 n'),ALIGN,COLORYELLOW; DRAWICON(滿倉,MJ_1*0.96,1),ALIGN,PXDN10;//多空差:34.47 成功率:83.08% {估測轉(zhuǎn)折股價--未來} DRAWTEXTEX(sysparam(3)=BARPOS,0,6,2,'今日DIFF轉(zhuǎn)折: '+NUMTOSTR(Z_2,2)),COLORGREEN; DRAWTEXTEX(sysparam(3)=BARPOS,0,6,20,'今日DEA轉(zhuǎn)折: '+NUMTOSTR(Z_3,2)),COLORGREEN; DRAWTEXTEX(sysparam(3)=BARPOS,0,6,38,'今日MACD轉(zhuǎn)折:'+NUMTOSTR(Z_4,2)),COLORGREEN; DRAWTEXTEX(sysparam(3)=BARPOS,0,6,94,'明日DIFF轉(zhuǎn)折: '+NUMTOSTR(Y_2,2)),COLORYELLOW; DRAWTEXTEX(sysparam(3)=BARPOS,0,6,112,'明日DEA轉(zhuǎn)折: '+NUMTOSTR(Y_3,2)),COLORYELLOW; DRAWTEXTEX(sysparam(3)=BARPOS,0,6,130,'明日MACD轉(zhuǎn)折: '+NUMTOSTR(Y_4,2)),COLORYELLOW; 換手:if(capital=0,v/sum(v,100)*100,v/FINANCE(7)),PRECISION2,LINETHICK,COLORGRAY; 漲跌幅:(C-REF(C,1))/REF(C,1)*100,PRECISION2,LINETHICK,COLORGRAY; {取參數(shù)} GDT2:=FINANCE(0);//報(bào)表最新日期 XXx:=STRTONUM(STRRIGHT(NUMTOSTR(FINANCE(0),0),2));//取右兩位數(shù) Nn:=IF(XXx>11 OR XXx<3,1,IF(BETWEEN(XXx,2.9,6),4,IF(BETWEEN(XXx,5.9,9),2,4/3))),LINETHICK; 市贏率:C/(FINANCE(33)*Nn),PRECISION2,LINETHICK,COLORGRAY; 市凈率:C/FINANCE(34),PRECISION2,LINETHICK,COLORGRAY;
//=====================================================
2010(生龍活虎)KDJ
底部動態(tài):EMA(IF(L<= LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10,STICK,COLORRED,LINETHICK2; RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K:SMA(RSV,3,1),COLORWHITE; D1:=SMA(K,3,1),COLORYELLOW; K1:=SMA(RSV,5,1),COLORWHITE; D:SMA(K1,5,1),COLORYELLOW; J:3*K-2*D1,COLORFF00FF; DRAWLINE(D1>=HHV(D1,21),D1,D1<=LLV(D1,21),D1,1),COLOR00FF00; STICKLINE(D>REF(D,1),D,D,6,0),COLORRED,LINETHICK3; 有緣人能用就用 ========================================================
實(shí)用指標(biāo)之KDJ周叉,相信大家都實(shí)用!
KDJ周叉 ,可以在一個日線圖里看日線、周線、周月KDJ的金叉、死叉很是方便,希望大家喜歡! 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; 周K:MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK2,COLORWHITE; 周D:MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK2,COLOR33FF99; 周J:MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK2,COLORMAGENTA; 周金▲:DRAWTEXT(CROSS("KDJ.K#WEEK"(N,M1,M2),"KDJ.D#WEEK"(N,M1,M2)) ,8,'周▲'),COLORRED; 周死▼:DRAWTEXT(CROSS("KDJ.D#WEEK"(N,M1,M2),"KDJ.K#WEEK"(N,M1,M2)) ,92,'周▼'),COLORGREEN; 月金▲:DRAWTEXT(CROSS("KDJ.K#MONTH"(N,M1,M2),"KDJ.D#MONTH"(N,M1,M2)) ,0,'月▲'),COLORMAGENTA; 月死▼:DRAWTEXT(CROSS("KDJ.D#MONTH"(N,M1,M2),"KDJ.K#MONTH"(N,M1,M2)) ,100,'月▼'),COLORYELLOW; 20; ==========================
很準(zhǔn)的短線指標(biāo)(主圖)大智慧1
《短線高手》指標(biāo)。朋友給的我一直在用,感覺做短線很好,成功率較高。大家分享。指標(biāo)中的n,n1,n2,n3,n4,是均線可以自己設(shè)定。我用(n:5,n1:13,n2:30,n3:89,n4:120.) MA1:MA(CLOSE,n),colorddeeff; MA2:MA(CLOSE,n1),colorffee55; MA3:MA(CLOSE,n2),color5588ee; MA4:MA(CLOSE,n3),colordd55dd; MA5:MA(CLOSE,n4),color4400ff; X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68); Y:=EMA(CLOSE,10); LL:=REF(CLOSE,2); MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100); DB:=IF(((MM < REF(MM,1)) AND (MM > 79)),MM,0); DRAWTEXT(CROSS(Y,X),(LOW * 0.985),'▲'),LINETHICK2,colorred; DRAWTEXT(CROSS(X,Y),(HIGH * 1.02),'◆'),LINETHICK2,color00ff00; DRAWTEXT(DB,(HIGH * 1.02),'●'),LINETHICK2,color00ff00; VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5); AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13); DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2); VAR3:=LLV(LOW,55); VAR4:=HHV(HIGH,34); VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3); VAR6:=((AK + VAR5) / 2); VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2); VAR8:=EMA(VAR6,5); BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2); AB:=CROSS(AK1,AK); BB1:=(CROSS(AK1,BB) AND (BB < 30)); CD:=(BB1 * 0.6); DRAWTEXT((CD = 0.6),(LOW * 0.99),'□'),LINETHICK2,color33CC99; DRAWTEXT((AB = 1),(LOW * 0.99),'□'),LINETHICK2,colorwhite; c1:=(CLOSE+LOW+HIGH)/3; c2:=EMA(c1,6); c3:=EMA(c2,5); c4:=CROSS(c2,c3); DRAWTEXT(c4,LOW/1.01,'★'),,COLORRED; c5:=CROSS(c3,c2); DRAWTEXT(c5,HIGH*1.03,'★'),,COLORyellow;
==========================================================
修改的獲利成交量和倍量成交拐點(diǎn),另加無極量源碼--《不是精品不發(fā)》
給獲利成交量加上5日和34日量線
給倍量拐點(diǎn)加上虛擬量
原作者見諒。
獲利成交量: 【手】:VOL,NODRAW,VOLSTICK; 額【億】:AMOUNT/100000000,NODRAW; 流通:CAPITAL/1000000,NODRAW; 成交流通比:AMOUNT/CAPITAL/100,NODRAW; 漲家數(shù):INDEXADV,COLOR0000EE,NODRAW; 跌家數(shù):INDEXDEC,COLOR00EE00,NODRAW; 大盤成交:INDEXV,COLOR00EEEE,NODRAW; 【5日】:MA(VOL,M1),COLORMAGENTA; 【34日】:MA(VOL,M2),COLORBLUE; HL10:=WINNER(C/1.1)*V; STICKLINE(((C/1.1)*V),HL10,0,0.1,0),COLOR00DD00; HL20:=WINNER(C/1.2)*V; STICKLINE(((C/1.2)*V),HL20,0,0.1,0)COLOR00DDDD; HL30:=WINNER(C/1.3)*V; STICKLINE(((C/1.3)*V),HL30,0,0.1,1),COLORDD0000;
(參數(shù):M1:2 500 5 M2:2 500 34) ======================================
倍量成交拐點(diǎn):
〖虛量〗:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,〖虛量〗,0,-1,-1),COLORYELLOW; 〖量〗:VOL,NODRAW,VOLSTICK; STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE; STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW; 流通〖億〗:CAPITAL/1000000,LINETHICK0; 內(nèi)外比:DYNAINFO(51),COLORYELLOW,NODRAW; 單日量比:V/REF(V,1),COLORWHITE,NODRAW; 五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW; 5換:SUM(100*V/CAPITAL,5),LINETHICK0; 10換:SUM(100*V/CAPITAL,10),LINETHICK0; 20換:SUM(100*V/CAPITAL,20),LINETHICK0; ----------------------------------------------
無極量: 量:VOL,LINETHICK0; STICKLINE(CLOSE>=REF(CLOSE,1),VOL,0,2.5.1,1),COLORRED; STICKLINE(CLOSE< REF(CLOSE,1),VOL,0,2.5.1,1),COLORGREEN; AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 買盤:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)),LINETHICK0,COLORRED; 賣盤:IF(CLOSE>OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AA*(HIGH-LOW),VOL /2)),LINETHICK0,COLORCYAN; STICKLINE(買盤>0,0,買盤,0.1,0),COLORRED;
買盤大賣盤%:(買盤-賣盤)/買盤*100,COLORRED; 賣盤大買盤%:(賣盤-買盤)/賣盤*100,COLORGREEN; 流通盤:CAPITAL/1000000,LINETHICK0; 換手率:VOL/CAPITAL*100,LINETHICK0; 收益: FINANCE(33),COLORRED,LINETHICK0; M1:MA(VOL,5),COLORMAGENTA; M2:MA(VOL,15),COLORCYAN; 賣盤大:=(賣盤-買盤)/賣盤>0.50; DRAWICON(賣盤大,1,2); 買盤大:=(買盤-賣盤)/買盤>0.50,LINETHICK0; DRAWICON(買盤大,1,1);
===================================================
新年贈送大家一個徐文明的牛熊三色簡易版
EXP1:EXPMA(CLOSE,M1); EXP2:EXPMA(CLOSE,M2);
A:IF(CLOSE>SAR(N,S,M),SAR(N,S,M),DRAWNULL),CIRCLEDOT,COLORRED; B:IF(CLOSE<SAR(N,S,M),SAR(N,S,M),DRAWNULL),CIRCLEDOT,COLORCYAN;
高1:=REF(HHV(H,150),3); 低1:=REF(LLV(L,150),3); H3:=高1-(高1-低1)*0.5; 中軸:REFDATE(H3,DATE),POINTDOT,COLORLIGRAY,LINETHICK3; B1:=EMA(C,12); B2:=EMA(C,26); B3:=(B1-B2)*2; WDIF:中軸+B3; WDEA:EMA(WDIF,9); MACD:=2*(WDIF-WDEA); STICKLINE(MACD>0,中軸,中軸+MACD,0,1),COLORYELLOW; STICKLINE(MACD<0,中軸,中軸+MACD,0,1),COLORLIBLUE;
參數(shù):M1 2 100 7 M2 2 100 21 N 2 100 4 S 2 100 2 M 2 100 20
用法注釋:判斷股票運(yùn)行趨勢強(qiáng)弱的方法,被稱為“牛熊三色”,牛熊三色每翻紅一色,就可以增加1/3的倉位,三色全翻紅的時候基本可以滿倉。這三色分別是:MACD指標(biāo),DIFF金叉DEA,即MACD出現(xiàn)紅柱的時候即為翻紅;SAR指標(biāo),股價重新回到SRA指標(biāo)以上,SAR轉(zhuǎn)向到股價之下運(yùn)行即為翻紅;EXPMA指標(biāo),7號操盤線(參數(shù)7)金叉2號操盤線(參數(shù)21)即為翻紅。
類型為主圖
==========================================
虎年祝福--------我自用的極品指標(biāo)!有它會讓你如虎添翼!
OBV:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),LINETHICK2,COLORGREEN; B1:=REF(OBV,1); B2:=REF(OBV,2); B3:=REF(OBV,3); B4:=REF(OBV,4); CMAX:=MAX(MAX(MAX(OBV,B1),B2),B3); CMIN:=MIN(MIN(MIN(OBV,B1),B2),B3); 持股:=STICKLINE(OBV=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND OBV>=B2 OR B2=CMAX AND B3=CMIN AND OBV>=B1 OR B3=CMAX AND OBV>=B1 AND OBV>=B2,B1,OBV,3,0),COLORMAGENTA; 變盤:STICKLINE(OBV=CMAX AND B1=CMIN,B2,OBV,3,0),COLORFFFFFF; 下跌:=STICKLINE(OBV=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND OBV<B2 OR B2=CMIN AND B3=CMAX AND OBV<B1 OR B3=CMIN AND OBV<B1 AND OBV<B2,B1,OBV,8,1),COLOR00FF00; STICKLINE(B1=CMAX AND OBV=CMIN,B2,OBV,3,0),COLOR009900 ; 買入:STICKLINE(B1=CMIN AND OBV>=B2 OR (B2=CMIN AND B1<=B3 OR B3=CMIN AND B1<=B2) AND B2<B4 AND OBV>=B1,B1,B2,3,0),COLORRED; 拋售:STICKLINE(B1=CMAX AND OBV<B2 OR (B2=CMAX AND B1>B3 OR B3=CMAX AND B1>B2) AND B2>=B4 AND OBV<B1,B1,B2,3,0),COLORBLUE{COLOR00FFFF}; V1:HHV(OBV,0); V3:=HHV(OBV,5); IF(OBV=V3,OBV,DRAWNULL),COLORYELLOW,LINETHICK3; IF(OBV=V1,OBV,DRAWNULL),COLORRED,LINETHICK3; MA(OBV,7),COLORWHITE; MA(OBV,21),COLORLIBLUE;
{DRAWTEXT(((((COUNT((CLOSE < REF(CLOSE,1)),30) > 18) AND (COUNT((CLOSE < REF(CLOSE,1)),3) = 3)) AND ((COUNT((OBV > REF(OBV,1)),30) > 18) AND (COUNT((OBV > REF(OBV,1)),3) = 3))) AND ((COUNT((VOL > REF(VOL,1)),30) > 3) AND ((VOL / CAPITAL) <= (10 / 100)))),OBV,'買盤較強(qiáng)'); DRAWTEXT(((((COUNT((CLOSE > REF(CLOSE,1)),30) > 18) AND (COUNT((CLOSE > REF(CLOSE,1)),3) = 3)) AND ((COUNT((OBV > REF(OBV,1)),30) > 18) AND (COUNT((OBV > REF(OBV,1)),3) = 3))) AND ((COUNT((VOL > REF(VOL,1)),30) > 3) AND ((VOL / CAPITAL) <= (10 / 100)))),OBV,'買盤逐漸加強(qiáng)');} DRAWTEXT((((COUNT((CLOSE > REF(CLOSE,1)),30) > 18) AND (COUNT((CLOSE > REF(CLOSE,1)),3) = 3)) AND ((COUNT((OBV < REF(OBV,1)),30) > 18) OR (COUNT((OBV < REF(OBV,1)),3) = 3))),OBV,'買盤無力'); DRAWTEXT((CROSS(OBV,0) AND (COUNT((REF(OBV,1) < 0),3) = 3)),OBV,'由負(fù)轉(zhuǎn)正買入'); DRAWTEXT((CROSS(0,OBV) AND (COUNT((REF(OBV,1) > 0),3) = 3)),OBV,'由正轉(zhuǎn)負(fù)賣出。'); DRAWTEXT(((HHV(HIGH,20) = HIGH) AND NOT((HHV(OBV,20) = OBV))),OBV,'頂背離賣'),COLORGREEN; DRAWTEXT(((LLV(LOW,20) = LOW) AND NOT((LLV(OBV,20) = OBV))),OBV,'底背離買'),COLORRED; DRAWTEXT((((ABS((OBV - REF(OBV,1))) / ABS(MA(OBV,5))) > 0.07) AND (OBV > REF(OBV,1))),OBV,'異常'); ============================================================
2010虎年行好運(yùn)-簡單實(shí)用(準(zhǔn)確定位)指標(biāo)
XW1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1)))); XW2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1)))); XW3:=SUM(XW1,21); XW4:=SUM(XW2,21); XW5:=IF(XW3>XW4,(XW3-XW4)/XW3,IF(XW3=XW4,0,(XW3-XW4)/XW4)); RS:=SMA(MAX(C-REF(C,1),0),14,1)/SMA(ABS(C-REF(C,1)),14,1)*100; ZD:= EMA(EMA(EMA(RS,5),2),2); ZD1:=(ZD-REF(ZD,1))/REF(ZD,1)*15; STICKLINE(ZD1>=0,0,ZD1*50,0.5,0),COLOR0000BE; STICKLINE(ZD1<=0,0,ZD1*50,0.5,0),COLORCYAN; Y1:=AMOUNT/V/100; Y2:=(3*H+L+O+2*C)/7; Y3:=SUM(AMOUNT,13)/Y1/100; Y4:= DMA(Y2,V/Y3); Y5:=(C-Y4)/Y4*100; Y6:=SMA(MAX(C-REF(C,1.5),0),6,1)/SMA(ABS(C-REF(C,1.5)),1,1)*100; ========================================================
慶元旦絕品——《新年高升》高成功率選股公式!
只發(fā)理想論壇好公式 慶元旦絕品——《新年高升》高成功率選股公式______ 大家加油頂,今年大豐收
理想:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100; DEA:=EMA(理想,9); MACD:=2*(理想-DEA); 新年高升:CROSS(MACD>REF(MACD,1)AND MACD<0,1);
=================================================================
自用:彩色量能指標(biāo)?。?!
萬手:VOL/10000,LINETHICK0; AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 預(yù)測:AA/10000; BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主動買:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主買:主動買/10000,COLORRED; 主動賣:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2)); 主賣:-主動賣/10000,COLORGREEN; 差額:(主動買+主動賣)/10000; 持幣:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORBLUE; 持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED; 五日: MA(V,5)COLORWHITE; 十日: MA(V,10)COLORYELLOW; STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE; STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,0),COLORRED; STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,0),COLORGREEN; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFF ; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777 ; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999 ; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBB ; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00DDEE ; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFF ; STICKLINE(主動買>=0,VOL,-主動賣,3.2,0),COLOR000033; STICKLINE(主動買>=0,VOL,-主動賣,2.7,0),COLOR000066; STICKLINE(主動買>=0,VOL,-主動賣,2.1,0),COLOR000099; STICKLINE(主動買>=0,VOL,-主動賣,1.5,0),COLOR0000CC; STICKLINE(主動買>=0,VOL,-主動賣,0.9,0),COLOR0000FF; STICKLINE(主動買>=0,VOL,-主動賣,0.2,0),COLORCC66FF; STICKLINE(主動賣<=0,0,-主動賣,3.2,0),COLOR990000; STICKLINE(主動賣<=0,0,-主動賣,2.7,0),COLORCC0000; STICKLINE(主動賣<=0,0,-主動賣,2.1,0),COLORFF4400; STICKLINE(主動賣<=0,0,-主動賣,1.5,0),COLORFF8800; STICKLINE(主動賣<=0,0,-主動賣,0.9,0),COLORFFCC00; STICKLINE(主動賣<=0,0,-主動賣,0.2,0),COLORCYAN; AA1:=AMOUNT/V; BB1:=L<AA1*0.9; CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L<MA(C,5)*0.921; EE1:=V<MA(V,5)*1.5; FF1:=BB1 AND CC1 AND DD1 AND EE1; DRAWTEXT(FF1,(LOW* 0.97),'老鼠倉'),COLOR4080FF; VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; VAR6:=(VAR3+VAR4+VAR5)/3; VAR7:=EMA(VAR6,5); 指標(biāo):=EMA(EMA(VAR3,5),5)*3, COLORSTICK; VAR8:=IF(VAR6<=-20,10,0); VAR9:=HHV(VAR8,10); STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF; VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); K:EMA(VAR7,5)*2, , COLORFF00FF; D:EMA(K,5), , COLORWHITE; J:K*3-D*2, ,COLORYELLOW; VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10; 換手:=VOL/CAPITAL*100, , COLORGREEN; 成交〖萬手〗:=VOL/10000, , COLORYELLOW; DRAWTEXT(VAR8=10 AND FILTER(VAR8=10,5),-10{15},'接近底部'),LINETHICK1,COLORYELLOW; STICKLINE(VAR8=10 AND FILTER(VAR8=10,5),-1.6{20},-10,5,0),COLORYELLOW; DRAWTEXT(VARA=20,15,'底部'),LINETHICK1,COLORWHITE; STICKLINE((VARA=20),0,10,5,0),COLORWHITE; 買:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)<=REF(ZIG(3,5),3)); 賣:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)>=REF(ZIG(3,5),3)); STICKLINE((買=1),(-10),0,1,0),COLOR0000FF; DRAWTEXT((買=1),(-12),'買'),COLOR0000FF; STICKLINE((賣=1),10,0,1,0),COLOR00FF00; DRAWTEXT((賣=1),19,'賣'),COLOR00FF00; VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大資金活動'),LINETHICK1,COLORFF00FF; STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF; VAR12:=(HIGH+LOW+CLOSE)/3; VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<90,VAR18,100); VAR1A:=IF(VARE>0,VARE,0); VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60; VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100; DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大筆出貨'),LINETHICK1,COLORFFCC66; STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66;
=====================================================
多空對比 適合高拋低吸的理想工具
短期:(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100,LINETHICK2; 中期:(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,LINETHICK2; 中長期:(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100,LINETHICK2; 長期:(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,LINETHICK2,COLORRED;
================================================================================
鎖定籌碼優(yōu)化或叫《籌碼鎖定》
兩點(diǎn)說明:此公式的前4行是{我是股醫(yī)生}的《鎖定籌碼》,我加入了提示信號,單獨(dú)發(fā)帖的目的是為了大家從中掌握規(guī)律和使用方法。二是此公式運(yùn)用了獲利盤比例函數(shù),此函數(shù)在一些股軟中認(rèn)定為未來函數(shù),在飛狐中視為正常函數(shù),所以大家不要害怕,它不同于ZIG類的,所發(fā)信號基本是穩(wěn)定的。 通用源碼: A:=1.1*C; B:=0.9*C; B1:=100*(WINNER(A)-WINNER(B)); 鎖定籌碼 :100-B1; C1:=MA(C,13)<REF(MA(C,13),1); 明天買:IF(CROSS(鎖定籌碼,90)AND C1,60,0); 籌碼鎖定區(qū):STICKLINE(鎖定籌碼>65 AND C1,鎖定籌碼-50,0,6,0);
===================================================================
第一牛指標(biāo):極限和能量王
{極限副圖} m:=COST(100); n:=COST(0); p:=100*(m-n)/n; 走平程度:p,coloryellow; f:=100*(h-llv(l,0))/llv(l,0); {歷史總漲幅} 歷史總漲幅:f,colorred; 100,colorwhite,pointdot; 50,color00ff00,pointdot; 150,color00ff00,pointdot;
用法說明: 此指標(biāo)為宏觀判斷用,50和100附近要求較嚴(yán)格(P走平的程度,越平越好;時間越長越好.100較為寬松(一旦遇有走平的程度越平者為短期暴漲之佳品!
{三線開花量能王} 線A1:=(ma(VOL,5)+ma(VOL,10)+ma(VOL,25))/3,COLOR00FF00; 線A2:=(ma(VOL,5)+ma(VOL,10)+ma(VOL,20)+ma(VOL,60)+ma(VOL,120))/5,COLOR00ff00; 線A3:=(ma(VOL,20)+ma(VOL,60)+ma(VOL,120))/3,COLOR00FF00,linethick2; zx:2*(線A1-線A2), COLORSTICK; Stickline(線A1>線A3,線A1,線A3,0.1,1),ColorFF0080; Stickline(線A1<=線A3,線A1,線A3,0.1,1),color22CC33; 線1:IF(線A1<線A3,線A1,線A3),COLOR00FF00; IF(線A1<線A3,線A3,線A1),COLORRED; 線2:IF(線A2<線A3,線A2,線A3),COLOR00FF00; IF(線A2<線A3,線A3,線A2),COLORRED; 線3:IF(線A3<線A1,線A3,線A3),COLOR00FF00,LINETHICK2; IF(線A1<線A3,線A3,線A3),COLORRED,linethick2; DIFF:=EMA(CLOSE,26) - EMA(CLOSE,12); DEA:=EMA(DIFF,9); MACD:=(DIFF-DEA), COLORSTICK; macd金叉:if(CROSS(DIFF,DEA),MACD-0.02,0),colorff00ff,pointdot; DRAWTEXT(CROSS(DIFF,DEA),MACD-0.03,'●'),COLORFF00FF; TYP := (HIGH + LOW + CLOSE)/3; 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; jk金叉:if(CROSS(J,K),macd-0.02,0),coloryellow,pointdot; DRAWTEXT(CROSS(J,K),MACD-0.03,'●'),COLORYELLOW; 上漲缺口:if(l>REF(H,1),macd-0.01,0),colorred,pointdot; DRAWTEXT(l>REF(H,1),REF(H,1),'☆'),COLORRED;
用法說明:黃色圓點(diǎn)KDJ指標(biāo)的J與K金叉,粉色圓點(diǎn)MACD指標(biāo)的DIFF與DEA金叉,三線向上開花是介入點(diǎn)。 =================================================================================
幾個指標(biāo)組合精品附圖
{投機(jī)指標(biāo)} TJZB1:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF; TJZB2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORGREEN; TJZB3:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000; TJZB4:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF; {經(jīng)典KDJ} 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; {波段雄鷹} VAR5E:=LLV(LOW,26); VAR6E:=HHV(HIGH,34); VAR7E:=EMA((CLOSE-VAR5E)/(VAR6E-VAR5E)*4,4)*25; DRAWTEXT(VAR7E<10,10,'底'),COLORWHITE; DRAWTEXT(VAR7E>90,90,'頂'),COLORGREEN; {三色必殺} VVAR1:=(C-MA(C,6))/MA(C,6)*100; VVAR2:=(C-MA(C,24))/MA(C,24)*100; VVAR3:=(C-MA(C,32))/MA(C,32)*100; VVAR4:=(VVAR1+VVAR2+VVAR3)/3; VVAR5:=EMA(VVAR4,5); VVAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20; VVAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1); VVAR8:=VVAR7<REF(VVAR7,1) AND V>REF(V,1) AND C>REF(C,1); AK:=EMA(VVAR5,5)*4; AD:=EMA(AK,5),COLORMAGENTA,LINETHICK2; AJ:=AK*3-AD*2,COLORYELLOW,LINETHICK2; 看多:IF(LLV(VVAR6,3)<VVAR6,-15,DRAWNULL),LINETHICK2,COLORRED; 看空:IF(VVAR6=LLV(VVAR6,3),-15,DRAWNULL),LINETHICK2,COLORGREEN; 中短線:IF(AJ>AD,-10,DRAWNULL),LINETHICK2,COLORCC66FF; 超短線:IF(VVAR8>0,-5,DRAWNULL),LINETHICK2,COLORYELLOW; 不定區(qū):IF(AJ<AD,-10,DRAWNULL),LINETHICK2,COLORFF9900; 牛熊戰(zhàn)區(qū):IF(VVAR8=0,-5,DRAWNULL),LINETHICK2,COLOR6B8E23; {黑馬偵探} W:=((-((100)*(HHV(H,14) - C))/(HHV(HIGH,14) - LLV(L,14)))); A2:=MA(C,18); A3:=(C-A2)/A2*100>=-9.9 AND C<A2; RRV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RRG1:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*1; SKK:=EMA(SMA(RRG1,3,1),2); SDD:=SMA(SKK,3,1); WAR4:=SMA(RRV,3,1); WAR5:=SMA(WAR4,3,1); 腰線:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; KKA:=EMA(C-L,5) ; 頂線:=MA((C+REF(C,1)+REF(C,1))/3+KKA,5); 底線:=MA(REF(C,1)-KKA,5); MA20:= MA(C,20); BBA:=MA(C,2); CCA:=MA(C,10); DDA:=MA(C,20); EEA:=EXIST(CROSS(BBA,CCA) AND CROSS(BBA,DDA),1); VAAR6:="KDJ.J#WEEK"(9,3,3); VAAR8:="KDJ.J#MONTH"(9,3,3); DEA7:="MACD.DEA#WEEK"; DIFF7:="MACD.DIF#WEEK"; D7:=DIFF7-DEA7; DEA8:="MACD.DEA#MONTH"; DIFF8:="MACD.DIF#MONTH"; D8:=DIFF8-DEA8; P:=(HIGH+LOW+CLOSE)/3; CCI1:=(P-MA(P,14))*1000/(15*AVEDEV(P,14)),COLORRED; CCI2:=(P-MA(P,36))*1000/(15*AVEDEV(P,36)),COLORGREEN; DRAWTEXT(CROSS(VAAR6,0) AND D8>0 OR CROSS(VAAR8,0) AND D7>0,70,'黑馬抄底'),COLOR0000FF; DRAWTEXT(CROSS(W,-2) AND CROSS(WAR4,WAR5) AND CROSS(SKK,SDD),50,'天天漲停'),COLOR0000FF; DRAWTEXT(A3 AND C/REF(C,1)>1.080,50,'美人如玉'),COLORRED; DRAWTEXT(腰線>O AND O>底線 AND C>頂線 AND C>MA20 AND C>腰線 AND EEA AND CROSS(WAR4,WAR5) AND CROSS(SKK,SDD),50,'明月戰(zhàn) 神'),COLORGREEN; DRAWTEXT(CROSS(CCI1,CCI2) AND REF(CCI1,1)=LLV(CCI1,25) AND CROSS(K,D),0.4,'抄底王'),COLORYELLOW; {莊家抬轎} VAR1F:=EMA(EMA(CLOSE,9),9); 控盤:=(VAR1F-REF(VAR1F,1))/REF(VAR1F,1)*1000; STICKLINE(控盤<0,控盤,0,1,0),COLORWHITE; A10:=CROSS(控盤,0); 無莊控盤:=IF(控盤<0,控盤,0),COLORWHITE,NODRAW; 開始控盤:=IF(A10,5,0),LINETHICK1,COLORYELLOW; STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,0),COLORRED; 有莊控盤:=IF(控盤>REF(控盤,1) AND 控盤>0,控盤,0),COLORRED,NODRAW; VAR2F:=100*WINNER(CLOSE*0.95); STICKLINE(VAR2F>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0,1,0),COLORFF00FF; 高度控盤:=IF(VAR2F>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0),COLORFF00FF,NODRAW; STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,1,0),COLOR00FF00; 主力出貨:=IF(控盤<REF(控盤,1) AND 控盤>0,控盤,0),COLOR00FF00,NODRAW; {明月照積雪} RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; VAR4:=SMA(RV,3,1); VAR5:=SMA(VAR4,3,1); KK:=EMA(SMA(RG,3,1),2); DD:=SMA(KK,3,1); DRAWTEXT(CROSS(VAR4,VAR5) AND CROSS(KK,DD),35,'積雪'),COLOR00FFFF; STICKLINE(CROSS(VAR4,VAR5) AND CROSS(KK,DD),0,35,1,0),COLORMAGENTA; {兄弟波段戰(zhàn)法} DTJJ:=(CLOSE+HIGH+LOW)/3; DTA:=EMA(DTJJ,10); DTB:=REF(DTA,1); STICKLINE(DTA>DTB,-20,-25,5,0),COLORYELLOW; STICKLINE(DTA<DTB,-20,-25,5,0),COLORBLUE; {黃托底藍(lán)壓頂} VARR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VARR2:=REF(VARR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR3:=REF(VARR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR4:=REF(VARR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR5:=REF(VARR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR6:=REF(VARR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR7:=REF(VARR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR8:=REF(VARR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR9:=REF(VARR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRA:=REF(VARR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARRB:=REF(VARRA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRC:=REF(VARRB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARRD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARRE:=REF(VARRD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRF:=REF(VARRE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR10:=REF(VARRF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR11:=REF(VARR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR12:=REF(VARR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR13:=REF(VARR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR14:=REF(VARR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR15:=REF(VARR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR16:=REF(VARR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR17:=REF(VARR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR18:=REF(VARR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR19:=REF(VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18,1) AND VARR1; VARR1A:=REF(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,1) AND VARRD; DRAWTEXT(VARR19,20,'黃托底'),COLORYELLOW; DRAWTEXT(VARR1A,80,'藍(lán)壓頂'),COLORLICYAN; {紅色啟動} 啟動線:=10*SUM(EMA((C+L)/2,2),5)/10.158,NODRAW; 平衡線:=10*LLV(SUM( EMA((C+L)/2,2),5)/10.158,4),NODRAW; 平臺線:=10*LLV(SUM( EMA((C+L)/2,2),5)/10.158,10),NODRAW; 強(qiáng)弱線:=EMA(啟動線,21); VAR1:=2*MA(LLV((C+L)/2,8)*1.1,13)-EMA((C+L)/2,3)-((C+L)/2)*0.1; VAR2:=IF((EMA((C+L)/2,3)-VAR1)*5>0,POW((EMA((C+L)/2,3)-VAR1)*5,2)/10,-1*POW((EMA((C+L)/2,3)-VAR1)*5,2)/10); VAR3:=IF(VAR2>0,VAR2-0,0); STICKLINE(VAR3>0 AND REF(VAR3,1)=0 AND (C+L)/2>MA((C+L)/2,8),0,50,1,0),COLORYELLOW; DRAWTEXT(VAR3>0 AND REF(VAR3,1)=0 AND (C+L)/2>MA((C+L)/2,8),50,'紅色啟動'); {短線高手} VAR1C:=1; VAR2C:=(2*CLOSE+HIGH+LOW)/4; VAR3C:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4C:=LLV(LOW,5); VAR5C:=HHV(HIGH,4); 散戶:=EMA((VAR2C-VAR4C)/(VAR5C-VAR4C)*100,4)*VAR3C*VAR1C; 莊家:=EMA(0.667*REF(散戶,1)+0.333*散戶,2)*VAR3C*VAR1C; DRAWTEXT(CROSS(散戶,莊家) AND 散戶<50 AND 29<散戶,40,'短快進(jìn)'),COLOR00FF00; DRAWTEXT(CROSS(散戶,莊家) AND 散戶<30,50,'低吸'),COLOR3399CC; DRAWTEXT(CROSS(莊家,散戶) AND 散戶>70,95,'高拋'),COLORMAGENTA;
|