標籤:

公式收集{通達信}

公式一(安全逃頂---副圖)(不好使沒用)

本公式最大的優點就是逃頂100%,不畢等第二天的信號出現,你就可以判斷出來,而且,在買入加倉的信號也精確顯示,對打擊主力蹤跡,可以說是庄影難遁!巨量有下部(負交易量)說名主力,一邊拉升,一邊出逃,黃色成交量,且中間為紅色蠟燭芯的,說明主力控盤,出現蘭色或粉紅色的蠟燭色!情況就不妙!根據股票的趨勢線做分析是否出逃!操作口訣:選好股,挑好庄;等大勢,看起航。跟上了,看著庄;他撤退,我清倉。破趨勢,急離場;等著跌,莫手癢。白色燭,紅芯長,莊家找底在振蕩,俺也伺機建點倉。  黃色燭,紅芯長;莊家進貨強,俺也進貨等起航。粉色燭,紅芯長,莊家高拋低吸操作忙,俺也去逐浪。藍色燭,紅芯短,巨量綠尾長,莊家撤退,俺也清倉。巨量綠,藍燭長,趨勢破,急離場;等著跌,莫手癢。

VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));成交:=VOL;買盤:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));賣盤:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));買賣差:=(買盤 + 賣盤);STICKLINE((VOL > 0),VOL,0,4,1),colorFFFFFF;STICKLINE((買賣差 > 0),0,買賣差,4,0),color0000FF;STICKLINE((買賣差 < 0),0,買賣差,2,0),LINETHICK3,color33FF33;量比1:=(VOL / MA(VOL,5));VAR10:=買盤;VAR20:=賣盤;JX1:=BARSSINCE(買盤);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);VAR30:=MA(VOL,JY2);動神:=買盤;鬼力:=VAR20;神比:=(動神 / VAR30);鬼比:=(鬼力 / VAR30);VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,動神) + 動神) / 2);VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,動神) + 動神) / 2);VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,動神) + 動神) / 2);VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);三日下攻:=MA(VAR50,JY2);多頭:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,4,1),color0000FF;空頭:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,4,1),color00FF00;STICKLINE((鬼力 > 0),鬼力,0,4,0),colorFF3399;加倉:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,4,0),color00FFFF;減倉:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,4,0),colorFF0000;洗盤:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,4,0),colorFFFFFF;高賣:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,4,0),colorFF00FF;相對地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);

公式二(買賣點---副圖)

XX1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);XX2:=HIGH-REF(HIGH,1);XX3:=REF(LOW,1)-LOW;XX4:=SUM(IF(XX2>0 AND XX2>XX3,XX2,0),25);XX5:=SUM(IF(XX3>0 AND XX3>XX2,XX3,0),25);XX6:=XX4*100/XX1;XX7:=XX5*100/XX1;XX8:=MA(ABS(XX7-XX6)/(XX7+XX6)*100,15);XX9:=(XX8+REF(XX8,15))/2;A:=(XX7>XX6 AND XX7>25 AND XX6<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);XX10:=F AND F<8;XX11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;XX12:=SMA(XX11,3,1);XX13:=SMA(XX12,3,1);XX14:=XX13 AND XX13<20;MM:=A AND D AND XX10 AND XX14 ;DRAWTEXT(W=1000,B*1.05,"賣" ),COLOR00FF00;DRAWTEXT(D=1000,B*1.05,"買"),COLORRED;

公式三(一年四倍---主圖)

均5:MA(CLOSE,5), COLOR0000FF;均10:MA(CLOSE,10) ,COLOR00FF00;varC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,varC),HIGH,2);var6:=REF(C,1);var7:=SMA(MAX(C-var6,0),6,1)/SMA(ABS(C-var6),6,1)*100;DRAWTEXT(CROSS(84,var7),H*1.01,"▲逃庄"),COLORGREEN ;Var32:=CLOSE/REF(CLOSE, 1)>=1.062 AND HIGH/CLOSE<1.005 AND MA(CLOSE, 90)/CLOSE>=1.150;Var33:=Var32 AND COUNT(Var32, 20)=1 ;Var34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);Var35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);Var36:=IF(Var34>0.010, 0.900, 1) AND IF(Var34>(-0.025), 1, 1.200);Var37:=Var36*(Var35-Var34)*100;Var38:=SUM(Var37, 10);Var39:=SMA(Var38, 40, 1);Var310:=Var38>20;Var311:=CROSS(CLOSE, MA(CLOSE*1.055, 3)) AND CLOSE>OPEN*1.060 AND VOL>=REF(VOL, 1)*1.5 AND CLOSE>=MA(CLOSE, 10);Var312:=Var310 AND Var311 ;Var313:=(-100)*(HHV(HIGH, 3)-CLOSE)/(HHV(HIGH, 3)-LLV(LOW, 3));Var314:= CROSS(Var313, (-87)) AND OPEN=1.090*REF(CLOSE, 1) AND INDEXC>0.980*REF(INDEXC, 1) AND CLOSE<=1.470*LLV(CLOSE, 58);Var315:=EMA(CLOSE, 12)-EMA(CLOSE, 26);Var316:=EMA(Var315, 9);Var317:=2*(Var315-Var316);Var318:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100;Var319:=SMA(Var318, 3, 1);Var320:=SMA(Var319, 3, 1);Var321:=EMA(IF(Var316>REF(Var316, 1), 1, (-1)), 14)*14;Var322:=EMA(IF(Var320>REF(Var320, 1), 1, (-1)), 14)*14*2;Var323:=(MA(CLOSE, 5)/MA(CLOSE, 70)-1)*100;Var324:=(Var323+Var322+Var321)/3;Var325:=MA(CLOSE, 80)-MA(CLOSE, 10)/3;Var326:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{Var38>Var39;}Var327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND Var326>0, 91, 0);Var328:=IF(Var324>REF(Var324, 1) AND REF(Var324, 1)<REF(Var324, 2) AND (Var33 OR Var312 OR Var314) OR Var326>0 OR Var327>0, 85, 0);Var329:=IF(Var327>0 ,95,0), STICK,LINETHICK2;Var330:=IF(Var326>0 or var327>0,91,0), STICK,LINETHICK2;Var331:=IF(Var328>0 or var327>0 or var326>0,88,0), STICK,LINETHICK2;Var332:=100*(CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42)),LINETHICK1,colorgreen;Var333:=COUNT(MA(CLOSE,3)>REF(MA(CLOSE,3),1),1)=1; Var334:=(Var332<93 AND Var333 and MAX(MAX(Var329, Var330), Var331))*100; STICKLINE(Var327>90,LOW*0.99,LOW*0.95,2,0),COLORYELLOW;DRAWTEXT(Var327>90,LOW*0.95,"殺庄"),COLORYELLOW;DRAWICON(Var310>0 AND Var327=0,HIGH*1.01,5);公式四(散戶操盤手---主圖)(使用中)

{DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0))}VAR1:=AMOUNT/VOL/100;指導: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK2,COLORWHITE; 界: MA(CLOSE,27),LINETHICK2,COLORYELLOW;STICKLINE(指導>界,指導,界,4,0),COLOR000082;STICKLINE(指導<界,指導,界,4,0),COLORFFBB00;頂: COST(95)*1, LINETHICK2,COLORRED;VAR11:=(2*CLOSE+HIGH+LOW)/4; 底: EMA(VAR11,99)*0.91, LINETHICK2,COLORGREEN ;{立體K線}STICKLINE(CLOSE>OPEN,H,LOW,0,0 ),COLOR9933FF; STICKLINE(OPEN>=CLOSE,L,HIGH,0,0 ),COLOR66CC33;{STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0),COLOR009900; }STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0),COLOR00CC00;{STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0),COLOR33FF00;}STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0),COLOR66FF00;{STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000099;}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0 ),COLOR0000CC; {STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0 ),COLOR0000FF; }STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0 ),COLOR0033FF;AA:=CLOSE/REF(CLOSE,1)>=1.09;STICKLINE(AA,OPEN,CLOSE,3,0),COLORYELLOW; STICKLINE(AA,LOW,HIGH,0.5 ,0 ),COLORYELLOW;MA1:=MA(CLOSE,8); MA2:=MA(CLOSE,13);MA3:=MA(CLOSE,21);FFF:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND CLOSE>=MA1 AND CLOSE>=MA2 AND CLOSE>=MA3 AND CLOSE>REF(CLOSE,1));STICKLINE(FFF,CLOSE,OPEN,3,0),COLORFF00FF;STICKLINE(FFF,H,L,0,0 ),COLORFF00FF;用法1.綠線為底,在綠線附近的金叉(白線叉黃線)為底部轉強信號--- 為第一買點.2.金叉發出後般會有一個技術性回調確認----為第二買點.3.金叉發出位置離綠線越近可靠性越高,發在紅線(頂線)小心回 調風險.4.白線是操盤線不破不買.5.股價上升至紅線(頂線)小心回調,但不破白線可持股,牛股多在這產生.6.股價遠離白線有回調要求,結合其他指標逃頂.公式五(成交量---副圖)

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交:VOL,POINTDOT;主動買盤:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;主動賣盤:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;STICKLINE(VOL>0,VOL,0,2,1),COLORWHITE;STICKLINE(主動買盤>0,0,主動買盤,2,0),COLORRED;STICKLINE(主動賣盤<0,0,主動賣盤,2,0),COLOR00FF00;

公式六(中短線---副圖)

{中短線}{買入點、賣出點判斷的精度極高!}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);指標: 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;成交〖萬手〗: VOL/10000, COLORYELLOW;VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);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;VARC:=(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));VARD:=(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((VARC=1),(-14),0,4,0),COLOR0000FF;DRAWTEXT((VARC=1),(-14),"買"),COLOR0000FF;STICKLINE((VARD=1),14,0,4,0),COLOR00FF00;DRAWTEXT((VARD=1),18,"賣"),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;

公式七(主散籌碼---副圖)

Var1:=1;Var2:=1/WINNER(CLOSE);Var3:=MA(CLOSE,13);Var4:=100-ABS((CLOSE-Var3)/Var3*100);Var5:=LLV(LOW,75);Var6:=HHV(HIGH,75);Var7:=(Var6-Var5)/100;Var8:=SMA((CLOSE-Var5)/Var7,20,1);Var9:=SMA((OPEN-Var5)/Var7,20,1);VarA:=3*Var8-2*SMA(Var8,15,1);VarB:=3*Var9-2*SMA(Var9,15,1);VarC:=100-VarB;主力: (100-VarA)*Var1,color0099ff;散戶: MA(WINNER(CLOSE*0.95)*100,3)*Var1,coloryellow;新莊: (100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0))*Var1,colorgreen,linethick1,pointdot ;VarD:=散戶>Var4;VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=CLOSE-REF(CLOSE,1);Var13:=MAX(Var12,0);Var14:=ABS(Var12);Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100;Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100;Var17:=BARSCOUNT(CLOSE);Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100;Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1B:=SMA((SMA(Var1A,4,1)-50)*2,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:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50;STICKLINE(VarD,Var4,散戶,5,0),colorwhite;STICKLINE(1,新莊,100,1,0),colorgreen;STICKLINE(Var20,0,80,5,0),colorred,linethick3 ;100,colorgreen ,linethick2 ;0,coloryellow ,linethick2 ;中線: 15,colorblue ,linethick2 ;

公式八:(股海英雄---主圖)

上線:=SMA(C,6.5,1);下線:=SMA(C,13.5,1);上線1:=SMA(C,3,1);下線1:=SMA(C,8,1);STICKLINE(上線>下線 , 上線,下線 ,2.5, 0),COLORRED,LINETHICK2;STICKLINE(下線>上線,上線,下線,2.5,0),COLORYELLOW,LINETHICK2;DRAWTEXT( CROSS(上線,下線),LOW *0.98,"全倉買" ),COLOR00FF00;DRAWTEXT(CROSS(下線1,上線1),H*1.02,"清倉"),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,"減倉") ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;VAR1:LLV(A7,21);VAR2:HHV(A7,21);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,"買進") ,COLOR0099FF;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW*0.98,"買進") ,COLORYELLOW;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,"抄底"),COLORYELLOW; 上線:=SMA(C,6.5,1);下線:=SMA(C,13.5,1);上線1:=SMA(C,3,1);下線1:=SMA(C,8,1);STICKLINE(上線>下線 , 上線,下線 ,2.5, 0),COLORRED,LINETHICK2;STICKLINE(下線>上線,上線,下線,2.5,0),COLORYELLOW,LINETHICK2;DRAWTEXT( CROSS(上線,下線),LOW *0.98,"全倉買" ),COLOR00FF00;DRAWTEXT(CROSS(下線1,上線1),H*1.02,"清倉"),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,"減倉") ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;VAR1:LLV(A7,21);VAR2:HHV(A7,21);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,"買進") ,COLOR0099FF;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW*0.98,"買進") ,COLORYELLOW;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,"抄底"),COLORYELLOW;

公式九:(倉位控制---主圖)

H1:EMA(C,8);H2:EMA(H1,20);VR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100;VR2:=SMA(VR1,5,1);VR3:=SMA(VR2,8,1);VAR4:=CROSS(VR2,VR3) AND VR3< 20;VAR5:=C>LLV(C,60)*1.13 AND VAR4;VAR6:=IF(C>200,VAR4,VAR5);HH2:=XMA(CLOSE,14);HH3:=MEMA(CLOSE,4); VAR1:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80; VAR2:=SMA(VAR1,7,1); VAR3:=SMA(VAR2,5,1); AA1:=AMOUNT/VOL;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=VOL<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,L*0.99,"庄影"),COLORYELLOW;AA:=CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,5),MA(C,30)) AND CROSS(MA(C,5),MA(C,60));BB:=MA(C,60)>MA(C,10) AND CROSS(MA(C,10),MA(C,30)) AND MA(C,30)>MA(C,20) AND ABS(MA(C,60)-MA(C,20))/MA(C,20)<0.05;CC:=MA(C,30)>MA(C,5) AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,10), COLORYELLOW;DD:=ABS((MA(C,5)-MA(C,10))+(MA(C,10)-MA(C,20))+(MA(C,20)-MA(C,30)))<0.02 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1);EE:=MA(C,20)>MA(C,5) AND CROSS(MA(C,5),MA(C,10)) AND MA(C,10)>MA(C,60) AND ABS(MA(C,20)-MA(C,60))/MA(C,60)<0.05;FF:=AA OR BB OR CC OR DD OR EE ;HH1:=FF AND FILTER( FF,8);DRAWICON(HH1,L,1);DRAWTEXT(HH1,L*0.958,"庄現"),COLORWHITE;DRAWICON(LONGCROSS(HH2,HH3,1),HH2*0.958,1),COLORRED;DRAWICON(LONGCROSS(HH3,HH2,1),HH3*1.03,2),COLORGREEN;DRAWTEXT(CROSS(VAR2,VAR3) AND VAR2<20 AND HH2>HH3,HH2*0.9165,"堅決全倉"),COLORMAGENTA;低吸:0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300,POINTDOT;滿倉:0.72*MA(FORCAST(CLOSE,2),40),POINTDOT,COLOR0000FF;

公式十:(超級短線王----主圖)

MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);DRAWICON((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)),LOW*0.98,1) ;DRAWICON((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)),HIGH*1.01,2);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);ZB:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;VAR8:=IF(VAR6<=-20,10,0);VAR9:=HHV(VAR8,10);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;HS:=VOL/CAPITAL*100, , COLORGREEN;DRAWTEXT(VAR8=10 AND FILTER(VAR8=10,5),LOW*0.93,"接近底部") COLORMAGENTA;DRAWTEXT(VARA=20,LOW*0.95,"底部") COLORYELLOW;

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,LOW*0.95,"大資金活動"),LINETHICK1,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,LOW*0.95,"大筆成交") COLORWHITE;

公式十一:(防止洗出--主圖)

A0:=(L+H+C*2)/4;工作:=EMA(A0,14)COLORYELLOW,LINETHICK1;度假:=EMA(A0,25)COLORYELLOW,LINETHICK2;A1X:=(工作-REF(工作,1))/REF(工作,1)*100;A2X:=(度假-REF(度假,1))/REF(度假,1)*100;G:=BARSLAST(CROSS(A1X,0));買入止損:REF(A0,G),COLORWHITE,LINETHICK1;A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5<-0.1 AND A5>A6);財神:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;DRAWICON(CROSS(A2,EMA(A2,5)) AND (A4-EMA(A2,5))>40 AND A7,LLV(L,21)*1.02,1);STICKLINE(C>REF(C,1)*1.09,C,O,2,0)COLORRED,LINETHICK2;STICKLINE(C<REF(C,1)*0.901,C,O,2,0)COLORGREEN,LINETHICK1;減:IF(A2X>=0,度假,DRAWNULL),COLORMAGENTA,LINETHICK2;少:IF(A1X>=0,工作,DRAWNULL),COLORRED,LINETHICK1;操:IF(A1X>=0,買入止損,DRAWNULL),LINETHICK1,COLORRED;作:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.1,REF(A0,BARSLAST(CROSS(A1X,0)))*1.1,DRAWNULL),COLORGREEN,POINTDOT;順:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.2,REF(A0,BARSLAST(CROSS(A1X,0)))*1.2,DRAWNULL),COLORGREEN,POINTDOT;應:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLORGREEN,CIRCLEDOT;趨:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.4,REF(A0,BARSLAST(CROSS(A1X,0)))*1.4,DRAWNULL),COLORGREEN,POINTDOT;勢:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.5,REF(A0,BARSLAST(CROSS(A1X,0)))*1.5,DRAWNULL),COLORGREEN,POINTDOT;破:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.6,REF(A0,BARSLAST(CROSS(A1X,0)))*1.6,DRAWNULL),COLORGREEN,POINTDOT;位:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.7,REF(A0,BARSLAST(CROSS(A1X,0)))*1.7,DRAWNULL),COLORGREEN,POINTDOT;出:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.8,REF(A0,BARSLAST(CROSS(A1X,0)))*1.8,DRAWNULL),COLORGREEN,POINTDO;

用法注釋:買入止損線下出現紅圓點線可適當分批低吸,出現紅圓點線加1號圖標後的幾天內是中線參考買點;股價在工作線之上請認真工作,持股待漲,股價有效跌破紅色工作線(或工作線消失)請注意減倉,有效跌破洋紅色度假線(或度假線消失)請清倉休息;具體止盈止損法則可參考止盈線和買入止損線!文字連起來就是:減少操作順應趨勢破位出貨


推薦閱讀:

求數列通項公式的常用方法
這裡有一條公式,是用來計算你是否超重|順便來看看4斤脂肪與4斤肌肉的區別究竟有多大?
服裝裁剪公式
【技】凱利公式教您如何控制倉位
條件選股公式 (驗)

TAG:公式 | 收集 |