股票指标公式下载通达信核心指标画线下档线明日阻力明日支撑文档格式.docx
《股票指标公式下载通达信核心指标画线下档线明日阻力明日支撑文档格式.docx》由会员分享,可在线阅读,更多相关《股票指标公式下载通达信核心指标画线下档线明日阻力明日支撑文档格式.docx(15页珍藏版)》请在冰豆网上搜索。
=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*200);
RRRSV:
=SMA(下档线,3,1);
KKK:
=SMA(RRRSV,3,1);
DDDDD:
=((3*RRRSV)-(2*KKK));
JJ12:
=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*200);
RSV24:
=SMA(JJ12,3,1);
K24:
=SMA(RSV24,3,1);
D24:
=((3*RSV24)-(2*K24));
压力2:
=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF;
底部:
=LLV(HIGH,30),COLOR00FF00;
AA:
=REF(H,N)=HHV(H,2*N+1);
AA1:
=REF(L,N)=LLV(L,2*N+1);
QY:
=BACKSET(AA,N+1);
QY1:
=BACKSET(AA1,N+1);
CC:
=FILTER(QY,N)ANDH=HHV(H,N+1);
CC1:
=FILTER(QY1,N)ANDL=LLV(L,N+1);
DDD:
=BARSLAST(CC);
DD1:
=BARSLAST(CC1);
GDTS:
=IF(CC,CURRBARSCOUNT,0);
DDTS:
=IF(CC1,CURRBARSCOUNT,0);
DINGBUTS:
=IF(DDD,REF(GDTS,DDD),GDTS);
DDTS1:
=IF(DD1,REF(DDTS,DD1),DDTS);
GDCS1:
=CONST(DINGBUTS);
DDCS1:
=CONST(DDTS1);
GDCS13:
=CONST(REF(HIGH,GDCS1-1));
DDCS13:
=CONST(REF(L,DDCS1-1));
DINGBUTS1:
=REF(DINGBUTS,DDD+1);
DDTS2:
=REF(DDTS1,DD1+1);
GDCS2:
=CONST(DINGBUTS1);
DDCS2:
=CONST(DDTS2);
GDCS23:
=CONST(REF(HIGH,DINGBUTS1-1));
DDCS23:
=CONST(REF(L,DDTS2-1));
XG1:
=BACKSET(ISLASTBAR,GDCS1);
XD1:
=BACKSET(ISLASTBAR,DDCS1);
XG2:
=BACKSET(ISLASTBAR,DINGBUTS1);
XD2:
=BACKSET(ISLASTBAR,DDTS2);
XDD:
=IF(DDCS13<
=DDCS23,XD1,XD2);
BCG:
=SUM(XG1,0);
BCD:
=SUM(XDD,0);
顶:
=IF(ISLASTBAR,压力2,DRAWNULL),NODRAW;
底:
=IF(ISLASTBAR,底部,DRAWNULL),NODRAW;
AA05:
=MA(C,5),COLOR0099CC;
五日乖离率:
=(C-AA05)/AA05*100;
BB05:
=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:
=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:
=EMA((速度5-REF(速度5,1)),3),NODRAW;
AA10:
=MA(C,10);
AA20:
=MA(C,20);
BB10:
=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AA30:
=MA(C,30);
JJ1:
=FORCAST((3*C+2*REF(C,1)+1*REF(C,2))/(3+2+1),20);
JJ2:
=FORCAST((15*C+14*REF(C,1)+13*REF(C,2)+12*REF(C,3)+11*REF(C,4)+10*REF(C,5)+9*REF(C,6)+8*REF(C,7)+7*REF(C,8)+6*REF(C,9)+5*REF(C,10)+4*REF(C,11)+3*REF(C,12)+2*REF(C,13)+1*REF(C,14))/(15+14+13+12+11+10+9+8+7+6+5+4+3+2+1),20);
XJ3:
=FILTER(CROSS(JJ1,JJ2),3);
XJ4:
=FILTER(CROSS(JJ2,JJ1),3);
{阻:
=REF(明日阻力,1),NODRAW,COLORMAGENTA;
支:
=REF(明日支撑,1),NODRAW,COLORGREEN;
YJL:
=JJ1,COLORLIGRAY,LINETHICK1;
若:
FORCAST(CLOSE,20),COLORRED,LINETHICK1;
VARJL:
=((VOL)*(OPEN+CLOSE+HIGH+LOW))/(4);
飞:
FORCAST((MA(VARJL,1))/(EMA(VOL,1)),20),COLORLIGREEN,LINETHICK1;
YJ:
=FORCAST(MA(CLOSE,12),20);
YJD:
=YJ-JJ1-YJ;
{VAR92:
=1;
VAR98:
=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
VAR99:
=MA(VAR98,13);
VAR910:
=(REF(CLOSE,1)-REF(VAR99,1));
{百:
(HHV(VAR910,7)*VAR92),,COLORFF9800,LINETHICK2,;
闻:
(HHV(VAR910,12)*VAR92),COLORWHITE,LINETHICK1;
TR:
=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:
=MA(TR,13);
DVAR1:
=REF(CLOSE,1)-REF(ATR,1);
=HHV(DVAR1,3),COLORGRAY,LINETHICK1;
百:
HHV(DVAR1,7),COLORDDAADD,LINETHICK2;
HHV(DVAR1,12),COLORWHITE,LINETHICK1;
{强:
=MA(CLOSE,13)+2*STD(CLOSE,13),COLORBROWN,LINETHICK1;
天:
PEAK(CLOSE,10,1)*0.98,COLORFF9800,LINETHICK2;
地:
TROUGH(CLOSE,10,1)*1.02,COLORFF9500,LINETHICK2;
{弱:
=MA(CLOSE,13)-2*STD(CLOSE,13),,COLORBROWN,LINETHICK1;
A01:
=REF(C,10)=HHV(C,2*10+1);
B01:
=FILTER(A01,10);
C01:
=BACKSET(B01,10+1);
HD:
=FILTER(C01,10);
A02:
=REF(C,10)=LLV(C,2*10+1);
B02:
=FILTER(A02,10);
C02:
=BACKSET(B02,10+1);
LD:
=FILTER(C02,10);
高:
REF(H,BARSLAST(HD)),POINTDOT,COLORRED,LINETHICK2;
低:
REF(L,BARSLAST(LD)),POINTDOT,COLORGREEN,LINETHICK2;
半:
(高+低)/2,,POINTDOT,COLORCE9D8E,LINETHICK4;
{STICKLINE(半,半,半,9,1),COLORCE9D8E,LINETHICK1;
㈠:
DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1),
COLORE6289F,LINETHICK1;
㈡:
DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1),
高1:
=CONST(MAX(MAX(MAX(ZGD2,㈠),GDCS13),GDCS23));
低1:
=CONST(MIN(MIN(MIN(ZDD2,DDCS23),DDCS13),㈡));
{DRAWBAND(高1,RGB(100,100,100),低1,RGB(100,100,100));
{DRAWBAND(㈠,RGB(00,00,100),㈡,RGB(00,00,100)),;
金H:
=IF(CLOSE>
200,SUM(H*VOL,BCG)/SUM(VOL,BCG),SUM(AMOUNT,BCG)/
SUM(V,BCG)/100*SUM(H,BCG)/SUM(C,BCG));
金L:
200,SUM(L*VOL,BCD)/SUM(VOL,BCD),SUM(AMOUNT,BCD)/
SUM(V,BCD)/100*SUM(L,BCD)/SUM(C,BCD));
ZGSTAR:
=(㈠+㈡)/2;
ZGEND:
=CONST((㈠+㈡)/2);
STARDAY:
=IF(DDCS2<
GDCS2,DDCS2,GDCS2);
{㈢:
DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),
COLORFF6E9D,LINETHICK2;
M:
=INTPART(3*N1/5);
AAA:
=REF(H,M)=HHV(H,2*M+1);
QYY:
=BACKSET(AAA,M+1);
CCC:
=FILTER(QYY,M)ANDH=HHV(H,M+1);
DDDD:
=BARSLAST(CCC),NODRAW;
GDTSS:
=IF(CCC,CURRBARSCOUNT,0);
DINGBUTSS:
=IF(DDDD,REF(GDTSS,DDDD),GDTSS);
GDCS11:
=CONST(DINGBUTSS);
DINGBUTS11:
=REF(DINGBUTSS,DDDD+1);
GDCS22:
=CONST(DINGBUTS11);
Ⅰ:
DRAWLINE(CURRBARSCOUNT=GDCS22,H,CURRBARSCOUNT=GDCS11,H,1),
COLORFF85BE,LINETHICK1;
AA11:
=REF(L,M)=LLV(L,2*M+1);
QY11:
=BACKSET(AA11,M+1);
CC11:
=FILTER(QY11,M)ANDL=LLV(L,M+1);
DD11:
=BARSLAST(CC11);
DDTSS:
=IF(CC11,CURRBARSCOUNT,0);
DDTS11:
=IF(DD11,REF(DDTSS,DD11),DDTSS);
DDCS11:
=CONST(DDTS11);
DDTS22:
=REF(DDTS11,DD11+1);
DDCS22:
=CONST(DDTS22);
Ⅱ:
DRAWLINE(CURRBARSCOUNT=DDCS22,L,CURRBARSCOUNT=DDCS11,L,1)
COLORFF85BE,LINETHICK1;
{Ⅲ:
(Ⅰ+Ⅱ)/2,COLOR00AAFF,LINETHICK2;
{上缺口:
=P=0ANDHIFANDBARSLAST(KOH)<
BARSLAST(NHIF)
ANDBARSLAST(HIF)<
BARSLAST(NHIF);
HG:
=IF(上缺口,REF(H,BARSLAST(KOH)+1),DRAWNULL);
STICKLINE(上缺口,HG,HG*1.001,10,0),COLOR888888;
下缺口:
=P=0ANDLIFANDBARSLAST(KOL)<
BARSLAST(NLIF)ANDBARSLAST(LIF)
<
BARSLAST(NLIF);
LG:
=IF(下缺口,REF(L,BARSLAST(KOL)+1),DRAWNULL);
STICKLINE(下缺口,LG,LG*0.999,10,0),COLOR888888;
{DRAWBAND(Ⅱ,RGB(00,00,100),Ⅰ,RGB(00,00,100));
{STICKLINE(XG2,GDCS23,GDCS23,0.5,1),COLORBROWN;
STICKLINE(XG1,GDCS13,GDCS13,0.5,1),COLORBROWN;
{STICKLINE(XD2,DDCS23,DDCS23,0.5,1),COLORMAGENTA;
STICKLINE(XD1,DDCS13,DDCS13,0.5,1),COLORCYAN;
MA1:
=MA(CLOSE,5),COLORWHITE;
MA2:
=MA(CLOSE,10);
MA3:
=MA(CLOSE,20);
MA4:
=MA(CLOSE,60);
DRAWKLINE(H,O,L,C);
金1:
=IF(K=0ANDXG1,金H,DRAWNULL),COLORGREEN,LINETHICK2;
金2:
=IF((K=0ORK=1)ANDXDD,金L,DRAWNULL),COLORRED,LINETHICK2;
{VAR81:
=ZIG(3,10)<
REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)>
REF(ZIG(3,10),2);
{ZIG有未来}
{VAR82:
=ZIG(3,10)>
REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)<
{STICKLINE(VAR81,C,O,2.5,0),COLORFFFF00,LINETHICK1;
{高位兰色}
{STICKLINE(VAR82,C,O,3,0),COLORBLUE,LINETHICK1;
{底位黄色}
B81:
=REF(CLOSE,1);
B82:
=REF(CLOSE,2);
B83:
=REF(CLOSE,3);
B84:
=REF(CLOSE,4);
CMAX:
=MAX(MAX(MAX(CLOSE,B81),B82),B83);
CMIN:
=MIN(MIN(MIN(CLOSE,B81),B82),B83);
{持:
CLOSE=CMAXAND(B81>
=B82ORB81>
=B83)ORB81=CMAXAND(B82=CMINORB83=CMIN)ANDCLOSE>
=B82OR
B82=CMAXANDB83=CMINANDCLOSE>
=B81ORB83=CMAXANDCLOSE>
=B81AND
CLOSE>
=B82,COLORC3A6FF;
{STICKLINE(CLOSE=CMAXAND(B81>
=B82OR
=B82,B81,CLOSE,1.8,0),COLORD0C0F5;
{变:
=CLOSE=CMAXANDB1=CMIN,COLORRED;
{STICKLINE(CLOSE=CMAXANDB81=CMIN,B82,CLOSE,2.5,0),COLORLIRED;
{跌:
CLOSE=CMINAND(B1<
B2ORB1<
B3)ORB1=CMINAND(B2=CMAXORB3=CMAX)ANDCLOSE<
B2OR
B2=CMINANDB3=CMAXANDCLOSE<
B1ORB3=CMINANDCLOSE<
B1AND
CLOSE<
B2,COLORFFFF00;
{STICKLINE(CLOSE=CMINAND(B1<
B3)ORB1=CMINAND(B2=CMAXORB3=CMAX)ANDCLOSE<
B1ANDCLOSE<
B2,B1,CLOSE,4,1),COLOR00FF00;
STICKLINE(B1=CMAXANDCLOSE=CMIN,B2,CLOSE,4,0),COLOR009900;
}
{卖:
B1=CMAXANDCLOSE<
B2OR(B2=CMAXANDB1>
B3OR
B3=CMAXANDB1>
B2)ANDB2>
=B4ANDCLOSE<
B1,COLORE6289F;
{STICKLINE(B81=CMAXANDCLOSE<
B82OR(B82=CMAXANDB81>
B83OR
B83=CMAXANDB81>
B82)ANDB82>
=B84ANDCLOSE<
B81,B81,B82,3,0),COLORWHITE;
{均:
(C+O+H+L)/4,COLORYELLOW,LINETHICK1;
};
{买:
B1=CMINANDCLOSE>
=B2OR(B2=CMINANDB1<
=B3OR
B3=CMINANDB1<
=B2)ANDB2<
B4ANDCLOSE>
=B1,COLORFF0000;
{STICKLINE(B81=CMINANDCLOSE>
=B82OR(B82=CMINANDB81<
=B83ORB83=CMINANDB81<
=B82)ANDB82<
B84ANDCLOSE>
=B81,B81,B82,3.0,0),COLORMAGENTA;
AAAAA:
=(VOL)/((HIGH-LOW)*
(2)-ABS(CLOSE-OPEN));
主动性买:
=IF((CLOSE>
OPEN),(AAAAA)*(HIGH-LOW),IF((CLOSE<
OPEN),(AAAAA)*(HIGH-OPEN+CLOSE-LOW),(VOL)/
(2)));
主动性卖:
OPEN),(AAAAA)*(HIGH-CLOSE+OPEN-LOW),IF((CLOSE<
OPEN),(AAAAA)*(HIGH-LOW),(VOL)/
(2)));
A1:
=IF(主动性买,(VOL)*(3),0);
A2:
=IF(主动性卖,(VOL)*((-3)),0);
DT:
=(DYNAINFO(3))*(0.92);
K1:
=(SUM(A1,0))/(SUM(VOL,0));
K2:
=(SUM(A2,0))/(SUM(VOL,0));
峰:
IF(K1,(K1)*(0.35)+DT,DT),,POINTDOT,COLORLIGREEN,LINETHICK1;
谷:
((K1)*(0.35)+DT+(K2)*(0.35)+DT)/
(2),POINTDOT,COLORLIGREEN,LINETHICK2;
空:
=IF(K2,(K2)*(0.35)+DT,DT),POINTDOT,COLORLIMAGENTA,LINETHICK2;
上1:
=(((K1)*(0.35)+DT+(K2)*(0.35)+DT)/
(2))*(1.5),POINTDOT,COLORLIRED,LINETHICK1;
{下1:
=((K1)*(0.35)+DT+(K2)*(0.35)+DT)/(3),POINTDOT,COLORFF00FF;
VARC2:
=EMA(SLOPE(EMA(CLOSE,20),10)*34+CLOSE,30);
VARC3:
=EMA(VARC2,3);
VARC4:
=EMA(VARC3,3);
VARC5:
=EMA(VARC4,3);
VARC6:
=EMA(VARC5,3);
VAC7:
=EMA(VARC6,3);
VARC7:
=EMA(VAC7,3);
VAC8:
=EMA(VARC7,3);
VARC8:
=EMA(VAC8,3);
VARC9:
=EMA(VARC8,3);
VARAC:
=BARSLAST(CROSS(CLOSE,VARC9));
VARBC:
=BARSLAST(CROSS(VARC9,CLOSE));
{操:
VARC9ANDCLOSE>
REF(CLOSE,VARAC),REF(CLOSE,VARAC),REF(CLOSE,VARAC)),
COLORGRAY,POINTDOT,LINETHICK4;
{STICKLINE(操,操,操,9,0),COLORLIMAGENTA,LINETHICK1;
{JJJ:
=IF(DYNAINFO(8)>
0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD4:
=(DYNAINFO(5)<
0.01||DYNAINFO(6)<
0.01);
JJJT:
=IF(DDD4,1,(JJJ<
(DYNAINFO(5)+0.01)&
&
JJJ>
(DYNAINFO(6)-0.01)));
本:
IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120)),
COLORLIGRAY,LINETHICK2;
{STICKLINE(ISLASTBARANDC>
=阻,阻,阻,10,1),COLORMAGENTA;
STICKLINE(ISLASTBARANDC<
阻,阻,阻,10,1),COLORMAGENTA;
STICKLINE(ISLASTBARANDC>
=支,支,支,10,1),COLOR00AAFF;
支,支,支,1