VAR1:=BARSSINCE(LLV(LOW,120));
VAR2:=SUM(AMOUNT*0.01,VAR1)/SUM(vol,VAR1);
VAR3:=SUMBARS(IF(VOL>CAPITAL*0.5,CAPITAL*0.49,VOL),CAPITAL*0.5);
VAR4:=SUMBARS(IF(VOL>CAPITAL,CAPITAL*0.99,VOL),CAPITAL);
VAR5:=SUMBARS(IF(VOL>CAPITAL*2,CAPITAL*1.99,VOL),CAPITAL*2);
VAR6:=SUMBARS(IF(VOL>CAPITAL*4,CAPITAL*3.99,VOL),CAPITAL*4);
{ _通达信股票指标公式}
VAR7:=MA(SUM(AMOUNT*0.01,VAR3)/SUM(VOL,VAR3),5);
VAR8:=MA(SUM(AMOUNT*0.01,VAR4)/SUM(VOL,VAR4),5);
VAR9:=MA(SUM(AMOUNT*0.01,VAR5)/SUM(VOL,VAR5),5);
VARA:=MA(SUM(AMOUNT*0.01,VAR6)/SUM(VOL,VAR6),5);
VARB:=IF(SUM(VOL,0)< CAPITAL*0.6,VAR2,VAR7);
VARC:=IF(SUM(VOL,0)< CAPITAL*1.2,VAR2,VAR8);
VARD:=IF(SUM(VOL,0)< CAPITAL*2.5,VAR2,VAR9);
VARE:=IF(SUM(VOL,0)< CAPITAL*4.8,VAR2,VARA);
短线: IF(VARB=0,AMOUNT*0.01/VOL,VARB);
中线: IF(VARC=0,AMOUNT*0.01/VOL,VARC);
长线: IF(VARD=0,AMOUNT*0.01/VOL,VARD);
强支压: IF(VARE=0,AMOUNT*0.01/VOL,VARE), CIRCLEDOT;趋势:FORCAST(C,13),COLORFFFFFF,LINETHICK1;
七:MA(C,7),COLOR00FFFF,LINETHICK2;
涨:IF(MA(CLOSE,7)>REF(MA(CLOSE,7),1),MA(CLOSE,7),DRAWNULL),COLORRED,LINETHICK2;
平:IF(MA(CLOSE,7)=REF(MA(CLOSE,7),1),MA(CLOSE,7),DRAWNULL),COLOR00FFFF,LINETHICK3;
跌:IF(MA(CLOSE,7)<REF(MA(CLOSE,7),1),MA(CLOSE,7),DRAWNULL),COLORGREEN,LINETHICK2;
C3:=REF(C,1);
{ _通达信股票指标公式}
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
乖离线:=((C-REF(COST(90),1))/20+250)*1.20;
W1:=C=HHV(C,20);
W2:=BArslAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=crOSS(C,REF(W3,1));
突破盘整:=W4 AND COUNT(W4,5)=1;
DRAWTEXT(突破盘整,L-0.10,1);
VAR1:=(H+L)/2;
上唇:REF(SMA(VAR1,5,1),3),COLORGREEN,LINETHICK1;
牙齿:REF(SMA(VAR1,8,1),5),COLORRED,LINETHICK1,CROSSDOT;
下颚:REF(SMA(VAR1,13,1),8),COLORBLUE,LINETHICK4,POINTDOT;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。