以下是最新控盘公式通达信股票指标源码和截图
最新庄家控盘公式通达信股票指标源码:
VAR1:=Ema(EMA(CLOSE,3),1);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
stICKLINE(控盘 0,控盘,0,2,0),COLORWHITE;
A10:=crOSS(控盘,0);
无控盘:IF(控盘 0,控盘,0),COLORWHITE;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,4,0),COLORRED;
轻度控盘:0,COLORRED;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2 50ANDCOST(85) CLOSEAND控盘 0,控盘,0,2,0),COLORFF00FF;
高度控盘:0,COLORFF00FF;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,2,0),COLOR00FF00;
出货:0,COLOR00FF00;
DRAWTEXT(FILTER(无控盘 -14,10),无控盘,''),COLORYELLOW;
Var3:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
0,STICK;
拉升:IF(Var3 0,Var3,0);
短顶:STICKLINE(Var3 9ANDVar3 REF(Var3,1),Var3-8,0,3,0),COLORFF0000;
大顶:STICKLINE(Var3 20ANDVar3 REF(Var3,1),Var3-8,0,8,1),COLORFF0000;
Var4:=HHV(Var3 20,10);
危险:STICKLINE(Var4ANDCROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),Var3-8,0,4,0),color008364;
止损:STICKLINE(Var4ANDVar3 REF(Var3,1)ANDCROSS(MA(CLOSE,5),MA(CLOSE,2)),Var3-8,0,3,0),colorff937f;
短底:STICKLINE(Var3 -9ANDVar3 REF(Var3,1),Var3+8,0,3,0),COLOR00AAFF;
大底:STICKLINE(Var3 -20ANDVar3 REF(Var3,1),Var3+8,0,7,0),COLORyellow;
{阴阳乾坤}
MID:EMA(CLOSE,17),LINETHICK1,colorFFFFFF;
UPPER:MID+2*STD(CLOSE,17),LINETHICK1,color0000FF;
LOWER:MID-2*STD(CLOSE,17),LINETHICK1,color00CC00;
UPPERO:MID+3*STD(CLOSE,17),LINETHICK1,colorFF00FF;
LOWERO:MID-3*STD(CLOSE,17),LINETHICK1,color00AA00;
VARA:=EMA(CLOSE,20);
Var1:if(VARA REF(VARA,2),VARA,if(VARA REF(VARA,2),VARA,VARA)),color00ff00;
PARTLINE(VARA,VARA REF(VARA,2)),LINETHICK2,colorFF00FF;
PARTLINE(VARA,VARA=REF(VARA,2)),LINETHICK2,colorFF0000;
PARTLINE(VARA,VARA REF(VARA,2)),LINETHICK2,color00FF00;
买入:if(VARA REF(VARA,2)andref(VARA =REF(VARA,2),1),1,0),LINETHICK0,coloraaaaaa;
DRAWICON(CROSS(LOW,LOWERO),LOWERO*0.96,6),ALIGN0;{红宝石}
DRAWICON(CROSS(HIGH,UPPERO),HIGH,7),ALIGN2;{绿宝石};
主线:=(MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,36))/4,COLORFF00FF,LINETHICK2;
股价重心:=DMA(AMOUNT/VOL/100,VOL/CAPITAL),COLORGREEN,LINETHICK2;
MA14:=EMA(CLOSE,14);
MA34:=EMA(CLOSE,26);
MA54:=EMA(CLOSE,54);
MA90:=EMA(CLOSE,90);
MA120:EMA(CLOSE,120),POINTDOT,LINETHICK2,COLORWHITE;
年线:EMA(C,250),COLORYELLOW,LINETHICK2;
HZ:=EMA(CLOSE,13);
短波:EMA(HZ,1),COLOR00DD00,LINETHICK1;
中波:EMA(HZ,26),COLORRED,LINETHICK1;
148天:=EMA(C,148),POINTDOT,LINETHICK1,COLORGREEN;
:=SUM(AMOUNT,0)/SUM(VOL,0)/100,COLORYELLOW,LINETHICK2;
HZ2:EMA(HZ,8),COLORGREEN,LINETHICK2;
HZ4:EMA(HZ,39),COLORFF00FF,LINETHICK2;
A1:STICKLINE(HZ2 HZ4,短波,HZ4,0.1,0),COLORBLUE;
A2:STICKLINE(短波 HZ2,短波,HZ2,0.1,0),COLORGREEN;
A3:STICKLINE(中波 HZ4,中波,HZ4,0.1,0),COLORFF00FF;
{慢速KDJ}
RSV:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
FASTK:=SMA(RSV,12,1);
K:=SMA(FASTK,9,1),COLORYELLOW;
D:=SMA(K,3,1),LINETHICK2,COLORBLUE;
J:=3*K-2*D,LINETHICK1,COLORGREEN;
{中波}
VAR11:=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);
VAR22:=100-VAR11;
中势线:=(-1)*(EMA(VAR22,1)-50)+42,COLORYELLOW,LINETHICK2;
TZ:=(CLOSE-LLV(LOW,331))/(HHV(HIGH,331)-LLV(LOW,331))*100;
强势线:=SMA(TZ,5,1),LINETHICK2,COLORRED;
线:=70*(HHV(HIGH,39)-CLOSE)/(HHV(HIGH,39)-LLV(LOW,39)),COLOR009900,LINETHICK1;
{量选}
AA:=VOL/SUM(VOL,13);
BB:=DMA(C,AA);
CC:=VOL/SUM(VOL,34);
DD:=DMA(C,CC);
{}
VAR00:=WINNER(CLOSE);
VAR1:=FORCAST(VAR00,10);
VAR2:=MA(VAR1,3);
VAR3:=MA(VAR2,12);
VAR4:=MA(VAR3,16);
VAR5:=MA(VAR4,31);
VAR6:=MA(VAR5,55);
VAR7:=VAR5;
VAR8:=VAR4 VAR2*1.11ANDVAR3 VAR2*1.095;
A:=VAR4/VAR2;
B:=VAR3/VAR2;
VAR9:=VAR2 VAR1*0.95;
TD:=VAR2/VAR1;
VAR1H:=INDEXC;
VAR2H:=MA(VAR1H,6);
VAR3H:=MA(VAR1H,24);
VAR4H:=MA(VAR1H,32);
VAR5H:=MA(VAR1H,62);
VAR6H:=MA(VAR1H,105);
VAR7H:=VAR5H;
VAR8H:=VAR4H VAR2H*1.11ANDVAR3H VAR2H*1.095;
VAR9H:=VAR2H VAR1H*0.95;
PT:=(IF(H=LANDC=OANDL=CANDC 0ANDREF(H,1)=REF(L,1)ANDREF(C,1)=REF(O,1)
ANDREF(H,1)=REF(C,1)ANDREF(C,1) 0,0,1))
G:=(VAR7HANDVAR8HANDVAR9HANDCLOSE/COST(8) =0.7985
AND(COUNT(C=L,4) 3ORC REF(C,1)))ANDPTOR
VAR7ANDVAR8ANDVAR9ANDCLOSE/COST(5) =0.8AND
((VAR1 OPENORVAR1 REF(OPEN,1)OR
REF(VAR1,1)));
背离:=VAR2 REF(VAR2,1)ANDA REF(A,1);
买入信号1:=VAR1 AANDVAR2
买入信号2:=B AAND1 BANDA 1ANDH=HHV(H,21);
BUY:=COUNT(背离,20) 1AND买入信号2=1ANDC OORCROSS(BB,DD);
DRAWICON(CROSS(短波,HZ2),中波-0.08,9);
DRAWTEXT(CROSS(短波,HZ2)ANDC OANDJ KANDJ DAND大盘线 36ANDC HZ4,L*1.09,'●'),COLORYELLOW;
DRAWTEXT(CROSS(短波,HZ2)ANDC OANDJ KANDJ DAND大盘线 36ANDC HZ4,L*1.12,'做'),COLORYELLOW;
DRAWTEXT(CROSS(短波,HZ2),C,'♂');
DRAWTEXT(CROSS(中波,HZ4),C,'♂');
DRAWTEXT(CROSS(中波,MA120),C,'♂');
DRAWTEXT(CROSS(HZ4,MA120),C,'♂');
最新庄家控盘公式通达信股票指标截图