鳳尾開花
操作要點: (1)紅粗線由下跌到走平,股價企穩(wěn),開始關(guān)注; (2)紅粗線向上,其他均線由藍色變?yōu)榫G色,紅粗線內(nèi)出現(xiàn)綠色細線,可以考慮買入; (3)股價接近黃金分割點應(yīng)注意風(fēng)險,同時如果能夠放量長陽突破,可考慮加倉; (4)紅粗線內(nèi)綠色細線消失,其他均線由綠色變?yōu)樗{色賣出;
鳳尾開花代碼:
MA34線:MA(CLOSE,34),COLORYELLOW,POINTDOT,LINETHICK3; M1:EMA(C,5),COLORRED,LINETHICK4; M2:EMA(M1,5),COLORBLUE; M3:EMA(M2,5),COLORBLUE; M4:EMA(M3,5),COLORBLUE; M5:EMA(M4,5),COLORBLUE; M1S:IF(M1>REF(M1,1),M1,DRAWNULL),COLORGREEN; M2S:IF(M2>REF(M2,1),M2,DRAWNULL),,COLORGREEN; M3S:IF(M3>REF(M3,1),M3,DRAWNULL),,COLORGREEN; M4S:IF(M4>REF(M4,1),M4,DRAWNULL),,COLORGREEN; M5S:IF(M5>REF(M5,1),M5,DRAWNULL),,COLORGREEN;
自用的莊見愁
代碼:
獲利線:EMA(WINNER(C)*100,3),colorwhite; 莊籌線:EMA(WINNER(C)*70,5),colorred,linethick2; 散籌線:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2; 收:=winner(C)*100; 開:=winner(O)*100; 博弈K線長:MAX(ABS(收-開),ABS(收-REF(收,1))),pointdot,colorwhite; STICKLINE(莊籌線>散籌線,莊籌線,散籌線,0,0),COLOrwhite; stickline(收>=REF(收,1),0,博弈K線長,4,0),colorred; stickline(收<=REF(收,1),0,博弈K線長,4,0),color00ff00; {莊籌線:EMA(WINNER(C)*70,5), colorred, linethick2; 散籌線:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),colorgreen, linethick2;} 5,colorwhite,pointdot; 20,coloryellow,pointdot; 40,colorffcc66,pointdot; 60,colorff00ff,pointdot; cc:FILTER((CROSS(5,莊籌線) and 散籌線<20 )*60,10 ),colorff00ff; DRAWTEXT(cc ,60 ,'海底撈活魚(抄底)' ),colorff00ff; aa:= ref(莊籌線,30)>40 or ref(莊籌線,20)>40; aa1:=cross(莊籌線,散籌線); DRAWTEXT(AA1,70,'雞雀升天'),color00ff00; bb:=CROSS(28,莊籌線) and 散籌線>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 ); DRAWTEXT(bb,30,'決戰(zhàn)誘空'),colorwhite; IF(bb,30,60 ),colorffcccc;
--------------------------------------------------------------------
chinaren12 你要的四金叉公式
代碼: ma3:EMA(C,3),coloreeeeee; ma5:EMA(C,5),colorffffff; ma10:EMA(C,10),color00ffff; ma20:EMA(C,20),colorff00ff; ma60:EMA(C,60),color00ff00; ma250:EMA(C,250),coloraaaaaa; mv5:=EMA(V,5); mv10:=EMA(V,10); k:="kdj.k"(9,3,3); d:="kdj.d"(9,3,3); DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); aa1:=CROSS(k,d);aa2:=CROSS(ma5,ma10);aa3:=CROSS(mv5,mv10);aa4:=CROSS(dif,dea); DRAWTEXT(aa1 AND aa2 AND aa3 AND aa4,L,'四金叉'),color00ffff,align0,pxdn25;
{四金叉選股}
ma5:=EMA(C,5); ma10:=EMA(C,10); mv5:=EMA(V,5); mv10:=EMA(V,10); k:="kdj.k"(9,3,3); d:="kdj.d"(9,3,3); DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); aa1:=CROSS(k,d);aa2:=CROSS(ma5,ma10);aa3:=CROSS(mv5,mv10);aa4:=CROSS(dif,dea); xg2:aa1 AND aa2 AND aa3 AND aa4;
-------------------------------------------------------------------------------------------------------------
絕妙的短線
代碼:
VAR2:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100; VAR3:=SMA(SMA(VAR2,3,1),6,5)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O; var6:=(2*CLOSE+HIGH+LOW)/4; var7:=LLV(LOW,13); var8:=HHV(HIGH,13); var9:=EMA((var6-var7)/(var8-var7)*100,13); varA:=EMA(0.667*REF(var9,1)+0.333*var9,1); 多:var9,colorred,POINTDOT; 空: EMA(0.382*REF(var9,2)+0.618*var9,12),COLOR00FF00; STICKLINE(var9>varA,var9,varA,6,0), colorred; STICKLINE(var9<=varA,var9,varA,6,0), COLORFFCC66; STICKLINE(AA,0,40,19.5,1),coloryellow; STICKLINE(AA,16,39.5,18,0),colorgreen; STICKLINE(AA,1,16,18,0),colorgreen; STICKLINE(AA,56.5,40,6,0),coloryellow; STICKLINE(AA,40,49.5,6,0),coloryellow; STICKLINE(AA,57,60,6,1),colorred; STICKLINE(AA,61,64,6,1),colorred; STICKLINE(AA,65,68,6,1),colorred; STICKLINE(AA,69,75,8,0),colorffcccc; DRAWTEXT(AA,85,'干杯'),coloryellow;
-----------------------------------------------------------------------------------------------------
短線天使
代碼:
n:9; m:35; R1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100-70; R2:=SMA(R1,N,1)+100; R3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; R4:=SMA(R3,3,1); R5:=SMA(R4,3,1)+100; R6:=R5-R2; 短線操盤1:IF(R6>0,R6,0),coloryellow,POINTDOT; STICKLINE(REF(短線操盤1,1)<短線操盤1,短線操盤1,REF(短線操盤1,1),1,1),colorred,linethick3; ; STICKLINE(REF(短線操盤1,1)>短線操盤1,短線操盤1,REF(短線操盤1,1),1,1),color00ff00,linethick3; 短線天使:CROSS(短線操盤1,m)*50;
---------------------------------------------------------------------------------------------------------------
簡單實用的指標(biāo)-3日均線減10日均線
一個簡單的指標(biāo),也是一個有用的指標(biāo)。 3日均價減去10日均價。 個股與大盤的研判。 1、當(dāng)股價持續(xù)上漲,而3日均價減去10日均價(此時為正值)卻下降時,為賣出信號。 2、當(dāng)股價持續(xù)下跌時,3日均價減去10日均價(此為負值)卻悄悄上升 時,反彈或反轉(zhuǎn)開始,宜速建倉。
代碼:
三日:=MA(C,3); 十日:=MA(C,10); 三日減十日:三日-十日,colorgreen; 零軸:0,colorwhite; STICKLINE(1,三日減十日,零軸,2,0),colorred;
------------------------------------------------------------------------------------------------------------
四方多空趨勢
四方多空趨勢代碼:
VA1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9); HY1:=REF(EMA(VA1,3),1); 多空趨勢:=MA((CLOSE - HY1) * 10,2); 操盤:STICKLINE(多空趨勢>=0 AND 多空趨勢>=REF(多空趨勢,1),0,多空趨勢,2,0),coloryellow; 減倉:STICKLINE(多空趨勢>=0 AND 多空趨勢< REF(多空趨勢,1),0,多空趨勢,2,0),coloryellow; 反彈:STICKLINE(多空趨勢<0 AND 多空趨勢>=REF(多空趨勢,1),0,多空趨勢,2,0),colorgreen; 尋底:STICKLINE(多空趨勢<0 AND 多空趨勢< REF(多空趨勢,1),0,多空趨勢,2,0),colorgreen;
---------------------------------------------------------------------------------------------------------
K線中 MA均線的編寫(股民必需)
一周(5日)×4=20日線為月線 月線(20日)×6=120日線為半年線 半年線(120日)×2=240日線為年線 年線+半年線=360日線為一年半線 年線×2=480日線為兩年線
參數(shù): 參數(shù) 最小 最大 默認 N1 1 1000 5 N2 1 1000 10 N3 1 1000 20 N4 1 1000 30 N5 1 1000 60 N6 1 1000 120 N7 1 1000 240 N8 1 1000 360 N9 1 1000 480 N10 1 1000 600 N11 1 1000 720 K 0 11 1 1
代碼:
IF (k<=0) RETURN 0; MA$1:MA(CLOSE, N1); IF (k<=1) RETURN 0; MA$2:MA(CLOSE, N2); IF (k<=2) RETURN 0; MA$3:MA(CLOSE, N3); IF (k<=3) RETURN 0; MA$4:MA(CLOSE, N4); IF (k<=4) RETURN 0; MA$5:MA(CLOSE, N5); IF (k<=5) RETURN 0; MA$6:MA(CLOSE, N6); IF (k<=6) RETURN 0; MA$7:MA(CLOSE, N7); IF (k<=7) RETURN 0; MA$8:MA(CLOSE, N8); IF (k<=8) RETURN 0; MA$9:MA(CLOSE, N9); IF (k<=9) RETURN 0; MA$10:MA(CLOSE, N10); IF (k<=10) RETURN 0; MA$11:MA(CLOSE, N11); IF (k<=11) RETURN 0;
-----------------------------------------------------------------------------------------------------------
精品收費指標(biāo)原碼--買賣預(yù)警
代碼:
Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; Var2:=2*ABS(Var1); Var3:=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); Var4:=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); Var5:=(HIGH+LOW+CLOSE)/3; Var6:=(Var5-MA(Var5,14))/(0.015*AVEDEV(Var5,14)); Var7:=(Var5-MA(Var5,70))/(0.015*AVEDEV(Var5,70)); Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0); Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8); VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VarB:=100-ABS(VarA); VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VarE:=REF(LOW,1)*0.9; VarF:=LOW*0.9; Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL; Var11:=EMA(Var10,30);
Var12:=Var11-CLOSE; Var13:=REF(CLOSE,1); Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100; Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100; Var16:=BARSCOUNT(CLOSE); Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2; Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; Var1A:=(SMA(Var19,4,1)-50)*2; Var1B:=SMA(Var1A,3,1); Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; Var1D:=SMA(Var1C,4,1); Var1E:=SMA(Var1D,3,1); Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0); 情報: Var3; 天線: IF(VarB<90,VarB,100); 紅軍: IF(Var1>0,Var1,0),colorred, LINESTICK; 綠軍: IF(Var1<0,Var2,0),colorgreen,LINESTICK; 導(dǎo)彈: Var20; 預(yù)警系統(tǒng): IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60; STICKLINE(Var3>=REF(Var4,1),Var3,Var4,8,0); STICKLINE(Var3<REF(Var4,1),Var3,Var4,8,0); Var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1); Var22:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1); Var23:=紅軍>50 AND 預(yù)警系統(tǒng)>60 AND 天線=100; Var24:=紅軍>48 AND 預(yù)警系統(tǒng)>60 AND 天線<100; Var25:=綠軍>38 AND 預(yù)警系統(tǒng)<55; Var26:=導(dǎo)彈>50 AND 天線<90; Var27:=Var3<REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); Var28:=Var3>=REF(Var4,1) AND CLOSE<REF(CLOSE,1) AND 預(yù)警系統(tǒng)=60 AND 導(dǎo)彈=0 AND 綠軍>=REF(綠軍,1) AND VarC<REF(VarD,1); DRAWTEXT(Var21 AND COUNT(Var21,30)=1,100,'上升通道,持股待長或高拋低吸!'); DRAWTEXT(Var22 AND COUNT(Var22,30)=1,90,'下降通道,小心無量陰跌! '); DRAWTEXT(Var23 AND COUNT(Var23,30)=1,70,'上漲過急,需要調(diào)整,短線先拋出! '); DRAWTEXT(Var24 AND COUNT(Var24,30)=1,80,'莊家出貨,大跌在即,中線拋出! '); DRAWTEXT(Var25 AND COUNT(Var25,30)=1,50,'不必殺跌,應(yīng)有小反彈 ,跌停除外!'); DRAWTEXT(Var26 AND COUNT(Var26,30)=1,30,'堅決搶反彈,但巨量封跌停除外 '); DRAWTEXT(Var27 AND COUNT(Var27,30)=1,40,'有大資金進場跡象,關(guān)注!'); DRAWTEXT(Var28 AND COUNT(Var28,30)=1,20,'見頂回落'); 買入:IF(VAR27 AND COUNT(VAR27,30)=1,100,0),LINETHICK3,COLORBLUE;
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
買賣奇準(zhǔn)
代碼:
公式描敘:你:=MA(CLOSE,1); 老:=(LOW+HIGH+CLOSE)/3; 板:= MA(老,5); 好:= HHV(板,10); 急賣奇準(zhǔn):IF(HHV((你<好),5),100,50),colorblue; 短賣奇準(zhǔn):IF(HHV((你<好),10),100,50),colorgreen; 老板:= MA(老,5); 買賣:=LLV(老板,10); 急買奇準(zhǔn):IF(LLV((你<買賣),5),50,0),colorred; 短買奇準(zhǔn):IF(LLV((你<買賣),10),50,0),colorwhite; TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) ); DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5); 神偷線:=(((DMP ) * 100) / TR); 輔助線:=((DMM * 100) / TR); 動向趨勢線:=(MA(((ABS((輔助線 - 神偷線)) / (輔助線 + 神偷線)) * 100),3)); ADXR:=((動向趨勢線 + REF(動向趨勢線,3)) / 2); VAR1:=MA(LOW,1); VAR2:=MA(HIGH,2); VAR3:=MA(CLOSE,2); VAR7:=REF(VAR3,1); 【強弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100); 沒神的只有不錯:( IF(((動向趨勢線 > 88) AND (神偷線 < 5.8)),80,0)),LINETHICK3,colorFF00FF;
----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 綠色BS跟莊自用指標(biāo)
先將原碼復(fù)制,然后打開-系統(tǒng)工功能-找到公式管理進入-點擊新建-粘貼在大框內(nèi) (按鍵盤的CTRL+V)-公式名稱:BS跟莊自用指標(biāo)-點擊確定.
綠色: sma(close,2,1),colorgreen,linethick2; var4:=(low+high+close)/3; 操作: ma(var4,5),linethick2,colorwhite; 拉升:hhv(操作,13),colorred,linethick1; 壓力:hhv(操作,60),colorred; 買賣:llv(操作,13),linethick1,color00ff00; 底部支撐: llv(low,60)*1.02,color00ccff; 頂部: hhv(high,60)*0.98,colorffffcc; stickline(操作>ref(操作,1),操作,操作+0.018,5,0),coloryellow,linethick4; stickline(拉升>ref(拉升,1),拉升,拉升+0.018,5,0),coloryellow,linethick2; stickline(拉升=ref(拉升,1),拉升,拉升,1,1),colorred; stickline(買賣=ref(買賣,1),買賣,買賣,1,1),colorred; stickline(買賣>ref(買賣,1),買賣,買賣+0.028,4,1),colorf00ff0,linethick2; stickline(頂部=ref(頂部,1),頂部,頂部,7,1),colorred; stickline(壓力=ref(壓力,1),壓力,壓力,7,1),colorred; stickline(底部支撐=ref(底部支撐,1),底部支撐,底部支撐,1,1),colorred; {drawgbk(date>900101,strip(rgb(0,150,130),rgb(0,0,0),0));} 買線:=ema(c,2); 賣線:=ema(slope(c,21)*20+c,42); bu:=cross(買線,賣線); sel:=cross(賣線,買線); drawtext(bu,low,'b買'),colorred,linethick3; drawtext(bu,low,' ̄'),color208fff,linethick3; drawtext(sel,high,' ̄'),colorffff00,linethick3; drawtext(sel,high,'s賣'),colormagenta,linethick3; stickline(買線>=賣線,low,high,0.1,1),colorred; stickline(買線>=賣線,close,open,8,1),colorred; stickline(買線<賣線,close,open,8,0),color00ff00; stickline(買線<賣線,low,high,0.1,1),color00ff00; stickline(cross(買線,賣線) or cross(賣線,買線),open,close,6,0),colorffff00;
------------------------------------------------------------------------------------------------------------- 波段買賣
代碼: V0:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5)); V1:=(POW(MA(LOW,5),2) + MA(LOW,5)); V2:=(POW(MA(HIGH,5),2) + MA(HIGH,5)); V3:=((((V0 - LLV(V1,9)) / (HHV(V2,9) - LLV(V1,9))) * 150) + 65); DK:(SMA(V3,3,1) * 1.5),colorFFFFFF; V4:=SMA(DK,3,1); DJ:((3 * DK) - (2 * V4)),color9000F5; DD:=(REF(CLOSE,2) * 0.865); C1:=(REF(CLOSE,13) * 0.772); C2:=((100 * VOL) / CAPITAL); 波段介入:IF(((((CLOSE - MIN(DD,C1)) / CLOSE) < 0.1) AND ((SUM(C2,5) / 5) < 1.8)),160,100); C3:=(HHV(HIGH,4) = HHV(HIGH,120)); STICKLINE((C3 > 0),305,295,8,0); FXQ:=((((2 * CLOSE) + HIGH) + LOW) / 4); VV1:=LLV(LOW,5); VV2:=HHV(HIGH,4); VV3:=EMA((((FXQ - VV1) / (VV2 - VV1)) * 100),4); VV4:=EMA(((0.667 * REF(VV3,1)) + (0.333 * VV3)),2); DRAWTEXT(((CROSS(VV3,VV4) AND (VV3 < 50)) AND (VV3 > 29)),DK,'短進'); DRAWTEXT((CROSS(VV3,VV4) AND (VV3 < 20)),DK,'低吸'),color898BFF; DRAWTEXT((CROSS(VV4,VV3) AND (VV3 > 80)),DJ,'短出'),colorBC9D00; VV5:=(EMA(CLOSE,12) - EMA(CLOSE,26)); W1:=EMA(VV5,9); W2:=(2 * (VV5 - W1)); W3:=REF(W2,1); W4:=(CROSS(W3,W2) AND (W3 > 0)); DRAWTEXT(W4,DJ,'減磅'),colorBCFF8B; W5:=(MA(((100 * (CLOSE - LLV(CLOSE,34))) / (HHV(HIGH,34) - LLV(LOW,34))),5) - 20); XX1:=(((HIGH + LOW) + CLOSE) / 3); XX2:=((XX1 - MA(XX1,10)) / (0.015 * AVEDEV(XX1,10))); XX3:=((XX1 - MA(XX1,30)) / (0.015 * AVEDEV(XX1,30))); XX4:=IF(((((XX2 >= 150) AND (XX2 < 200)) AND (XX3 >= 150)) AND (XX3 < 200)),10,0); XX5:=IF(((((XX2 <= (0 - 150)) AND (XX2 > (0 - 200))) AND (XX3 <= (0 - 150))) AND (XX3 > (0 - 200))),(0 - 10),XX4); XX6:=IF((W5 > 0),W5,0); 預(yù)警系統(tǒng):(IF((((XX3 >= 200) AND (XX2 >= 150)) OR CROSS(65,XX6)),10,IF(((XX3 <= (0 - 200)) AND (XX2 <= (0 - 150))),(0 - 15),XX5)) + 200); 300,colorFF00F8; 100;
------------------------------------------------------------------------------------------------------------
選股時去除ST S*ST的公式
S:=STRFIND(STKNAME,'S',1)=0; st:=STRFIND(STKNAME,'ST',1)=0 ; pt:= STRFIND(STKNAME,'PT',1)=0; 帶星:= STRFIND(STKNAME,'*',1)=0; xg:s AND st AND pt AND 帶星; |
|
|
|