A. 通達信新版莊家抬轎指標公式
REFLINE:0;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
macd := 2*(DIFF-DEA);
X1:=EMA(DIFF,5)*10;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*10;
X3:IF(X2>0,X2,0),POINTDOT,COLORRED;
X4:IF(X2<0,X2,0),POINTDOT,COLORGREEN;
stICKLINE(X2>0,0,X2,2,1),COLORRED;
STICKLINE(X2<0,0,X2,2,0),COLORBLUE;
資金動能A:X2,COLORYELLOW,LINETHICK1;
資金動能B:X1,COLORFFFF00,LINETHICK1;
DRAWICON((crOSS(資金動能A,資金動能B) AND 資金動能B<-0.25),資金動能B,1);
DRAWICON((CROSS(資金動能B,資金動能A) AND 資金動能A>0.25),資金動能A,2);
VAR1:=EMA(EMA(CLOSE,13),13);
控盤:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*300,COLORFFCCCC,POINTDOT;
STICKLINE(控盤<0,控盤,0,0,0),COLORWHITE;
無庄控盤:控盤<0,COLORWHITE;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,0),COLORRED;
有庄控盤: 控盤>REF(控盤,1) AND 控盤>0,COLORRED;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盤0,控盤,0,1,0),COLOR00FF00;
主力出貨: 控盤0,COLOR00FF00;
STICKLINE(VAR2>50 AND COST(85)
高度控盤: VAR2>50 AND COST(85)
A10:=CROSS(控盤,0);
開始控盤:IF(A10,2,0),COLORYELLOW,LINETHICK2;
{N:5,30,8;ZF:1,10,5;M:1.100.3;}
MA5 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA60 := MA(CLOSE,60);
PDAY1 := BArslAST(CROSS(MA60,MA5));{5日均線下穿60日均線}
PDAY2 := BARSLAST(CROSS(MA60,MA10));{10日均線下穿60日均線,至此形成鴨頸部}
PDAY3 := BARSLAST(LOW=LLV(LOW,PDAY2));{形成頭部,要反彈}
PDAY4 := BARSLAST(CROSS(MA5,MA10));{反彈後,5日均線和10日均線金叉}
PDAY5 := BARSLAST(CROSS(MA10,MA5));{反彈不久,5日均線和10日均線形成死叉,形成嘴部}
A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
唐鴨頭:A1 AND A2,COLORFFFF00;
NA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));
NA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05;
NA3:=COUNT(V
青龍取水:NA1 AND NA2 AND NA3,COLOR00FF00,LINETHICK2;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;
VAR34:=EMA(VAR33,5);
VAR35:=3*VAR33-2*VAR34;
絕買:CROSS(VAR35,VAR33) AND VAR33<2.1 AND C>O,COLORRED;
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
的盧:=ZDHM OR ZHM,COLORGREEN;
轉盤:IF(的盧,-3,0),COLORGREEN,LINETHICK2;
DRAWTEXT(的盧,-3,'轉盤'),COLORGREEN;
MA111:=MA(CLOSE,20);
MA112:=MA(CLOSE,40);
MA113:=MA(CLOSE,60);
A11:=OPEN
A13:=V/MA(V,30)>1.2,COLORRED;
A14:=C/REF(C,1)>1.049,COLORRED;
芙蓉:=A11 AND A12 AND A13 AND A14,COLORWHITE;
芙蓉盤:IF(芙蓉,-2,0),COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(芙蓉,-2,'芙蓉'),COLORLIMAGENTA;
M:=REF(rsi,2)>REF(RSI,3) AND REF(RSI,2)>REF(RSI,1) AND RSI>REF(RSI,1)
AND MA(RSI,3)>REF(MA(RSI,3),1)+1 AND REF(MA(RSI,3),2)-REF(MA(RSI,3),1)>-1
AND REF(RSI,1)-3
AND REF(RSI,1)<38 AND RSI
B. 通達信 莊家抬轎做「有庄控盤」和「高度控盤」兩個選股公式
VAR1:=EMA(EMA(CLOSE,9),9);
控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
有庄控盤:=IF(控盤>REF(控盤,1) AND 控盤>0,控盤,0);
VAR2:=100*WINNER(CLOSE*0.95);
高度控盤:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0);
REF(C,1)>REF(C,2) AND 有庄控盤 AND 高度控盤;