【通达信】量界主图指标公式
2016.03.20 19:02
N:=120;P1:=5;P2:=8;P3:=21;
A:=HHV(AMO,5);
A1:=BARSLAST(AMO=A);
A2:=REF(C,A1);
量界:A2;
Y:=HHV(A2,N);
X:=Y;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(X)),
REF(HIGH,BARSLAST(X)),1,1),COLOREA91B5,LINETHICK3;
B1:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
B2:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
B3:=IF(B2,1,(B1<(DYNAINFO(5)+0.01) && B1>(DYNAINFO(6)-0.01)));
C1:IF(B3,0.01*EXPMA(AMOUNT,P1)/EXPMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1)),LINETHICK2,COLORYELLOW;
C2:IF(B3,0.01*EXPMA(AMOUNT,P2)/EXPMA(VOL,P2),EMA((HIGH+LOW+CLOSE)/3,P2))COLORRED;
C3:IF(B3,0.01*EXPMA(AMOUNT,P3)/EXPMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3))COLORLIBLUE;
C∞:IF(B3,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120))COLORLIGREEN,LINETHICK3;
{www.gainiangu.com 概念股网_通达信股票指标公式}
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2222:=CROSS(VAR1111,0.9);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,0.9);
压力:= REF(HIGH,BARSLAST(VAR2222));
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
支撑:= REF(LOW,BARSLAST(VAR4444));
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;
申明:本文为作者投稿或转载,在概念股网 http://www.gainiangu.com/ 上发表,为其独立观点。不代表本网立场,不代表本网赞同其观点,亦不对其真实性负责,投资决策请建立在独立思考之上。