通达信的股指公式哪个最好?

通信信函的几个最佳索引公式:

一:GS Shies频道主图

LY:= 10;

BL:= 40;

CJQS:=XMA(CLOSE,LY);

JBQS:=XMA(CLOSE,BL);

N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);

M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);

JB上轨:if (currbarscout > BL/2,JBQS*1.1,REF(JBQS,BL/2+1-CURRBARSCOUNT)* POW(N,BL/2+1-CURRBARSCOUNT)* 1.1);

JB下轨:if (currbarscout > BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)* POW(N,BL/2+1-CURRBARSCOUNT)* 0.9);

CJ上轨:if (currbarscout > LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)* POW(M,LY/2+1-CURRBARSCOUNT)* 1.05);

CJ下轨:if (currbarscout > LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CURRBARSCOUNT)* POW(M,LY/2+1-CURRBARSCOUNT)* 0.95);

DRAWTEXT(O & lt;=CJ下船,(L * 0.98),' grab '),COLORYELLOW

DRAWTEXT(CROSS(H,CJ在赛道上),(H * 1.01),' escape '),COLORYELLOW

{桩数}

TJ:= VOL & gt;=REF(V,1)*1.91且C & gtREF(C,1)* 1.01;

STICKLINE(TJ,C,O+(C-O)/2,1,0),COLOR00FFFF

{一穿三:5,10,20}

MA1:=MA(CLOSE,5);

MA2:=马(收盘,10);

MA3:=MA(CLOSE,20);

一穿三:= ma 1 & gt;o和MA2 & gt;o和MA3 & gto和ma 1 & lt;c和MA2 & lt;c和MA3 & ltc并关闭& gt开放;

STICKLINE(一穿三,o,o+(c-o)/2,1,0),colorff 00ff

AAA 2:= SUM(IF(CLOSE & gt;REF(CLOSE,1),VOL*C,0),0);

AAA 3:= SUM(IF(CLOSE & lt;REF(CLOSE,1),VOL*C,0),0);

AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);

bb 1:= 0;

b 10000元:= DVOL * d close/100;

B1差额:=B1万元-REF(B1万元,1);

B2万元:= DVOL * DCLOSE/100;

B2比:=B2万元/REF(B2万元,1);

万元净流入:=(AAA 2-AAA 3-0.5 * AAA 4);

PM:=MA(万元净流入,1);

PMA:=PM/REF(PM,1)>1;

PMB:=REF(PMA,1)& lt;1和PMA;

密码:(EMA(MA(B1万元,2),2))/100000,颜色黄色,无平局;

两天比:= password /REF(密码,1);

选股:PMB和密码> REF(密码,1)和两天比值>;1,COLORRED,NODRAW

Y:=CLOSE/REF(CLOSE,1)>1.07;

x:= VOL & gt;马(第五卷);

A1:=Y和X;

DRAWTEXT(A1,MA(收盘,5),'涨停'),COLORMAGENTA

二:GS控制度子图

Q_1:=C-REF(C,1);

Q _ 2:= 100 * EMA(EMA(Q _ 1,6),6)/EMA(EMA(ABS(Q_1),6),6);

Q_3:=CROSS(EMA(C,19),EMA(C,7));

Q_4:=CROSS(EMA(C,7),EMA(C,19));

Z1:=L=LLV(L,bars last(Q _ 3)+1);

Z2:=LLV(L,BARSLAST(Q _ 3)+1);

Z3:=H=HHV(H,bars last(Q _ 4)+1);

Z4:=HHV(H,bars last(Q _ 4)+1);

Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);

Y1:=H=HHV(H,bars last(Q _ 4)+1);

Y2:=HHV(H,bars last(Q _ 4)+1);

Y3:=L=LLV(L,bars last(Q _ 3)+1);

Y4:=LLV(L,bars last(Q _ 3)+1);

Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);

X1:=LLV(Q_2,2)=LLV(Q_2,7);

X2:= COUNT(Q _ 2 & lt;0,2);

X3:= CROSS(Q2,MA(Q2,2));

X4:=REF(Q_B,1)& lt;REF(Q_B,2);

X5:= Q _ A & gt;REF(Q_B,1);

买:= (x1和x2和x3)和x4和X5;

TJ:= IF(Q _ B& lt;REF(Q_B,1)且Q_B=Q_A,1,0);

这是必须的:IF(REF(TJ,1)=0且TJ & gt=1,80,10),贴,COLORRED

持有货币:if (q _ b

地狱底层:0,COLORGRAY

地狱线:10,COLORGRAY

地平线:20,COLORLIMAGENTA

天际线:80,COLORGRAY

RSV:=(((CLOSE - LLV(低,33)) / (HHV(高,33) - LLV(低,33)))* 100);

神仙:SMA(RSV,7,1),COLORWHITE

魔鬼:SMA (SMA (RSV,7,1),3,1),颜色黄色;

轨迹:SMA (SMA (RSV,6,1),5,1),3,1),颜色洋红色;

财神到:IF(十字架(不朽,20),20,0),POINTDOT

DRAWICON((CROSS,20)),5,1);

三。GS大机构子图

VAR1C:=(HIGH - MIN(OPEN,CLOSE));

VAR2C:=(关闭-打开);

VAR3C:=(MIN(开,关)-低);

VAR4C:=(高低);

VAR5C:=((VOL * var 1C)/VAR4C);

VAR6C:=((VOL * VAR2C)/VAR4C);

VAR7C:=((VOL * VAR3C)/VAR4C);

VAR8C:=((VAR5C-VAR6C)-VAR7C);

VAR4:=MA(CLOSE,5);

VAR5:=MA(收盘,10);

VAR6:=MA(接近,30);

VAR7:=MA(接近,60);

VAR8:=EMA(COST(85),7);

VAR9:=EMA(COST(15),7);

VARA:=(SUM((CLOSE * VOL)* 100),4) / SUM((VOL * 100),4));

VARB:=(int part((VARA * 100))/100);

VARC:=(SUM((CLOSE * VOL)* 100),7) / SUM((VOL * 100),7));

VARD:=(int part((VARC * 100))/100);

VARE:=(SUM((CLOSE * VOL)* 100),28) / SUM((VOL * 100),28));

VARF:=(int part((VARE * 100))/100);

短期趋势:(EMA(收盘,5)-EMA(收盘,10));

中线趋势:EMA(短期趋势,9);

var 10:=((0-((100 *(HHV(CLOSE,5) - CLOSE)) / (HHV(CLOSE,5) - LLV(LOW,5)))+100);

var 11:=((0-((100 *(HHV(收盘,10) -收盘))/ (HHV(收盘,10) - LLV(低,10)))+100);

var 12:=((0-((100 *(HHV(CLOSE,20) - CLOSE)) / (HHV(CLOSE,20) - LLV(LOW,20)))+100);

var 13:=((0-((100 *(HHV(收盘,30) -收盘))/ (HHV(收盘,30) - LLV(低,30)))+100);

VAR14:=REF(趋势中值,1);

VAR15:=中线趋势;

var 16:=(var 15-var 14);

VAR17:=REF(短期走势,1);

VAR18:=短期趋势;

var 19:=(var 18-var 17);

var 1A:= OPEN;

var 1B:= CLOSE;

大机构:sum (var8c,13)/ma (vol,13)/13,线粗1,色0000ff

小机构:sum (var8c,21)/ma (vol,21)/21,线粗1,彩色ffff00

散户:sum (var8c,30)/ma (vol,30)/30,color ff 00ff

股票:((sum (var8c,125)/ma (vol,125))/125),线粗2,色00ffff

四:警戒线辅助图

VAR2:=LLV(低,10);

VAR3:=HHV(高,25);

警戒线:2.8;

减仓线:3.2;

卖出线:3.5;

电源线:EMA ((close-var 2)/(var 3-var 2) * 4,4);

DRAWTEXT(CROSS),2,'小心!! '),COLORWHITE

DRAWTEXT(十字(电源线,闪电线),2.8,'闪电');

DRAWTEXT(CROSS(动力线,卖线),3.5,'卖');

DRAWICON(十字(电源线,警戒线),3,2);

DRAWICON(CROSS),3.4,2);

DRAWICON(CROSS),3.9,2);