每天在神仙圈子里學(xué)習(xí)老師的理念,也通過(guò)帖子向神友們學(xué)習(xí)了很多,現(xiàn)把老師的十個(gè)公式放上來(lái),和大家共同學(xué)習(xí)進(jìn)步。 申明:公式為神仙老師原創(chuàng),請(qǐng)大家珍惜。 源碼均在通達(dá)信上面測(cè)試安裝,直接復(fù)制粘貼即可,安裝方法請(qǐng)參照精選帖子內(nèi)容。 個(gè)人理解,還是要注意以下幾點(diǎn): 1、重點(diǎn)是大趨勢(shì)指標(biāo)。特別是大盤(pán)趨勢(shì)會(huì)影響到大多數(shù)個(gè)股的,同時(shí)象神仙三線指標(biāo)也是從大趨勢(shì)理念衍生出來(lái)的,因此要多學(xué)習(xí)大趨勢(shì)指標(biāo)的用法。 2、關(guān)于含有未來(lái)函數(shù)的指標(biāo)用法。因?yàn)槲磥?lái)的發(fā)展必然要用到預(yù)測(cè)手段,所以未來(lái)函數(shù)并不是不可以用,但是大家要注意,含有未來(lái)函數(shù)的指標(biāo),提示信號(hào)會(huì)不斷變化的,(即會(huì)在當(dāng)日或次日及以后消失或再次出現(xiàn)),這一點(diǎn)新手要注意,因此出現(xiàn)信號(hào)后要與大趨勢(shì)等指標(biāo)結(jié)合使用,這一點(diǎn)老師也提醒過(guò)的。 在此再次感謝老師和各位神友! 1.神仙大趨勢(shì) 神仙大趨勢(shì)H1:EMA(CLOSE,6); H2:EMA(神仙大趨勢(shì)H1,18); H3:EMA(CLOSE,108),COLORYELLOW; STICKLINE(神仙大趨勢(shì)H1>H2,神仙大趨勢(shì)H1,H2,1,1),COLORRED; STICKLINE(神仙大趨勢(shì)H1<H2,神仙大趨勢(shì)H1,H2,1,1),COLORBLUE;
2.神仙三線 A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1); 分水嶺:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORYELLOW,LINETHICK2; 操作線:分水嶺-(EMA(C,3)-分水嶺),COLORGREEN,LINETHICK2; PM:MA(C,5),COLORWHITE,LINETHICK2; IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2; IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED; IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2; S:=(PM>操作線); DD:=分水嶺<REF(分水嶺,1); IF(DD,分水嶺,DRAWNULL),COLORYELLOW,LINETHICK2; IF(S,分水嶺,DRAWNULL),COLORYELLOW,POINTDOT,LINETHICK4; DRAWICON(CROSS(分水嶺,操作線),分水嶺-0.1,1);{買(mǎi)入紅箭頭} A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1)); B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA"); DRAWTEXT(B1>0,L-0.02,'★M'),COLOR00FFFF;{MACD底背離} A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1)); B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D"); DRAWTEXT(B2,L-0.10,'◎K'),COLORFF00FF;{KDJ底背離} A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1)); B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2"); DRAWTEXT(B3>0,L-0.18,'◆R'),COLOR0000FF;{RSI底背離} C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1)); D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF"); DRAWTEXT(D1>0,H+0.16,'★M'),COLOR00FF00;{MACD頂背離} C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1)); D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K"); DRAWTEXT(D2>0,H+0.08,'◎K'),COLORFFFFCC;{KDJ頂背離} C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1)); D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1"); DRAWTEXT(D3>0,H+0.04,'◆R'),COLORFF9900;{RSI頂背離};
3.神仙抄底 VAR2:=TROUGHBARS(3,15,1)<10; 買(mǎi)入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2;
4神仙敢死隊(duì) R1:=150*WINNER(CLOSE*0.95); VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5); VAR4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100; VAR5:=EMA(CLOSE,2)-EMA(CLOSE,120); VAR6:=EMA(VAR5,68); VAR7:=(VAR5+VAR6); 敢死:=POW(VAR7,3)*0.1+POW(VAR7,1); 核心:=MA(敢死,30),COLORRED,; 漲停:=1;{DYNAINFO(14)>0.096;} 警:漲停*核心/5,COLORRED,LINETHICK2; Y:MA(警,6),COLORRED,LINETHICK2; IF(Y<REF(Y,1),Y,DRAWNULL),COLORBLUE,LINETHICK2; Y1:警-Y,COLORBROWN; IF(警<REF(警,1),警,DRAWNULL),COLORBLUE,LINETHICK2; {STICKLINE(CROSS(MA(警,1),MA(警,2)),0,警,1,0), COLORYELLOW;} G:=C>=INTPART(REF(C,1)*1.08*100+0.5)/100; G1:=G*核心/5; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=(SMA(RSV,3,1)); D:=(SMA(K,3,1)); KK:=INTPART(SMA(RSV,3,1)); DD:=INTPART(SMA(K,3,1)); N:=KK+DD; 漲停信號(hào):ABS((10000*(C-REF(C,1))/REF(C,1)>995)*G1),COLORGREEN; 促擊:FILTER(BACKSET(漲停信號(hào),2),2)*G1,COLORGREEN; 預(yù)漲停:IF(CROSS(N,100),ABS(警),0),COLORYELLOW; DRAWTEXT(CROSS(N,100),預(yù)漲停*1.2,'預(yù)'),COLORCYAN; DRAWTEXT(漲停信號(hào)>0,漲停信號(hào)*1.1,'停'),COLORCYAN;
5神仙建倉(cāng) VAR1:=REF(LOW,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4; VAR3:=EMA(VAR2,13); VAR4:=LLV(LOW,34); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); 主力進(jìn)場(chǎng):STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),COLORRED;
6神仙提款機(jī) 尖頂買(mǎi)入:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG (3,10),2),COLORRED,LINETHICK2; 尖頂賣(mài)出:ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)> REF(ZIG(3,10),2),COLORGREEN,LINETHICK2; DRAWTEXT(尖頂買(mǎi)入=1,1,'入!'),COLORRED; DRAWTEXT(尖頂賣(mài)出=1,1,'出!'),COLORGREEN;
7.神式買(mǎi)賣(mài)點(diǎn) VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25); VAR2:=HIGH-REF(HIGH,1); VAR3:=REF(LOW,1)-LOW; VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25); VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25); VAR6:=VAR4*100/VAR1; VAR7:=VAR5*100/VAR1; VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15); VAR9:=(VAR8+REF(VAR8,15))/2; A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25); B:ZIG(3,50/5)*100,COLORWHITE; G:MA(B,2),COLORYELLOW; D:=CROSS(B,G)*1000,COLORRED; W:=CROSS(G,B)*1000,COLORBLUE; E:=REF(INDEXC,1); F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1); VAR10:=F AND F<8; VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR12:=SMA(VAR11,3,1); VAR13:=SMA(VAR12,3,1); VAR14:=VAR13 AND VAR13<20; MM:=A AND D AND VAR10 AND VAR14; DRAWTEXT(W=1000,B*1.05,'賣(mài)'),COLOR00FF00; DRAWTEXT(D=1000,B*1.05,'買(mǎi)'),COLORRED;
8.神式陰線買(mǎi)入 VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17); VAR12AA:=EMA(VAR11AA,5); 九:=TROUGHBARS(3,10,1)<1 AND CROSS(VAR11AA,VAR12AA); DRAWICON(九>0,8,1); DRAWTEXT(九,99,'九'),COLOR000000; VAR2A:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100; VAR3A:=EMA(VAR2A,18); VAR4A:=VAR2A<-1; VAR5A:=VAR4A AND CROSS(VAR2A,VAR3A); 追2:=VAR5A; 追漲C:=IF(追2>0,0.8,0),STICK,COLORYELLOW,LINETHICK4; XX:=EMA(CLOSE,30)-EMA(CLOSE,17); YY:=EMA(XX,13); 短針2:=TROUGHBARS(3,5,1)<1 AND XX <YY; 陰:=IF(短針2>0,0.4,0),STICK,COLORF0F000,LINETHICK4; DRAWICON(陰>0,8,1); DRAWTEXT(陰,85,'陰'),COLOR000000; N1:=30;N2:=17;N3:=5;N4:=6; VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2); VAR2X:=EMA(VAR1X,N3); 劍:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1; DRAWICON(劍>0,8,1); DRAWTEXT(劍,73,'劍'),COLOR000000; 陰劍:九OR劍OR陰;
9.神仙頂?shù)紫戎?/span> CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; YJD:(EMA(CS,3)-50)*2; 極弱:-80; 強(qiáng)勢(shì):60; 風(fēng)險(xiǎn):80; 弱勢(shì):-60; YJD,COLORSTICK;
10.神仙短線精靈 VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3; 持幣區(qū)域:VAR1,COLORFEDCBA; 持股區(qū)域:IF(VAR1>0,VAR1,0),COLORRED; 短頂:STICKLINE(VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,0,3,0),COLORGREEN; 大頂:STICKLINE(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,0,7,0),COLOR00FF00; VAR2:=HHV(VAR1>20,10); 危險(xiǎn):STICKLINE(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0); 注意止損:STICKLINE(VAR2 AND FILTER(VAR1<REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0); 短底:STICKLINE(VAR1<-9 AND VAR1>REF(VAR1,1),VAR1-2,0,3,0),COLORRED; 大底:STICKLINE(VAR1<-20 AND FILTER(VAR1>REF(VAR1,1),5),VAR1-5,0,7,0),COLORYELLOW; 買(mǎi)入準(zhǔn)備:VAR1<-9 AND VAR1>REF(VAR1,1),COLORWHITE; |
|