以下的公式安裝方法和神仙大趨勢公式的一樣,目前只在同花順軟件上安裝過,沒有在通達(dá)信上測試,請自行測試安裝,所有公式指標(biāo)只作參考,買賣自負(fù),有些公式有未來函數(shù),不喜勿用。 1、神仙大趨勢公式 {通達(dá)信和同花順軟件已測試,蘋果手機(jī)股票盯盤系統(tǒng)APP也可裝此公式}(畫線方法:主圖) H1:EMA(CLOSE,6),COLORLIRED; H2:EMA(CLOSE,18),COLORGREEN; H3:EMA(CLOSE,108),COLORYELLOW; STICKLINE(H1>H2,H1,H2,0.2,0),COLORLIRED; STICKLINE(H1<H2,H1,H2,0.2,0),COLORGREEN; 2、神仙頂?shù)坠剑ó嬀€方法:副圖) CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; YJD:(EMA(CS,3)-50)*2; 極弱:-80; 強(qiáng)勢:60; 風(fēng)險(xiǎn):80; 弱勢:-60; YJD,COLORSTICK; 3、神仙短線精靈公式(畫線方法:副圖) 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ū)域:IF(VAR1<0,ABS(VAR1),0),COLORFEDCBA; 持股區(qū)域:IF(VAR1>0,VAR1,0),colorred; STICKLINE(VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,0,5,0),colorgreen;//短頂 DRAWTEXT(VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,'---短頂'),colorgreen; STICKLINE(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+8,0,7,0),colorred;//大頂 DRAWTEXT(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+8,'---大頂'),colorred; VAR2:=HHV(VAR1>20,10); STICKLINE(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+15,0,4,0),coloryellow;//危險(xiǎn) DRAWTEXT(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+15,'---危險(xiǎn)'),coloryellow; STICKLINE(VAR2 AND FILTER(VAR1<REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0),colorgray;//注意止損 DRAWTEXT(VAR2 AND FILTER(VAR1<REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,'---止損'),colorgray; STICKLINE(VAR1<-9 AND VAR1>REF(VAR1,1),VAR1-2,0,3,0),colorred;//短底 DRAWTEXT(VAR1<-9 AND VAR1>REF(VAR1,1),VAR1+8,'---短底'),colorred; STICKLINE(VAR1<-20 AND FILTER(VAR1>REF(VAR1,1),5),VAR1-8,0,7,0),coloryellow;//大底 DRAWTEXT(VAR1<-20 AND FILTER(VAR1>REF(VAR1,1),5),VAR1-8,'---大底'),coloryellow; 買入準(zhǔn)備:IF(VAR1<-9 AND VAR1>REF(VAR1,1),1,0),colorlired; 4、神仙建倉公式(畫線方法:副圖) 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)場:STICKLINE(VAR5>REF(VAR5,1),0,VAR5),colorred; 5、神仙三線公式(畫線方法:副圖) 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); 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; 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; 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; 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; 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; 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; 6、神仙敢死隊(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)-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; 漲停信號:ABS((10000*(C-REF(C,1))/REF(C,1)>995)*G1),COLORGREEN; 促擊:FILTER(BACKSET(漲停信號,2),2)*G1,COLORGREEN; 預(yù)漲停:IF(CROSS(N,100),ABS(警),0),COLORYELLOW; DRAWTEXT(CROSS(N,100),預(yù)漲停*1.2,'預(yù)'),COLORCYAN; DRAWTEXT(漲停信號>0,漲停信號*1.1,'停'),COLORCYAN; 7、神仙買賣(畫線方法:副圖) 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,'賣'),COLOR00FF00; DRAWTEXT(D=1000,B*1.05,'買'),COLORR 8、神式提款機(jī)(畫線方法:副圖) 尖頂買入:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),colorred,LINETHICK2; 尖頂賣出:ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),colorgreen,LINETHICK2; DRAWTEXT(尖頂買入=1,1,'入!'),colorred; DRAWTEXT(尖頂賣出=1,1,'出!'),colorgreen; 9、神式陰線買入(畫線方法:副圖) 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 陰; 10、神仙抄底(畫線方法:副圖) VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); 底部:=IF(VAR4=50,10,0); 多頭能量:0,colorwhite,LINETHICK2; 買入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2; 買入延遲線:底部,LINETHICK1,COLOR00CCFF; |
|