通达信股道財金副图指标

2016-03-01 21:06:00来源:本站整理浏览:168

通达信股道財金副图指标

源码

VAR1:=1; VAR2:=(2*CLOSE+HIGH+LOW)/4; 天: 80, POINTDOT; 人: 20; VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散: EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1; 庄: EMA(0.667*REF(散,1)+0.333*散,2)*VAR3*VAR1; VAR6:=(HHV(HIGH,4)-VAR2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72; VAR7:=(VAR2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; 影: SMA(VAR6,4,1)*VAR1; VAR8:=SMA(VAR7,2,1); 山: SMA(VAR8,2,1)*VAR1; 中: 12; DRAWICON(CROSS(散,庄) AND 散<50 AND 29<散,20,7),COLORRED; DRAWICON(CROSS(庄,散) AND 散>40 AND 71>散,50,8),COLORGREEN; DRAWTEXT(CROSS(散,庄) AND 散<30,0,'L'),COLOR3399CC; DRAWTEXT(CROSS(庄,散) AND 散>70,75,'H'),COLORFFFF33; DRAWICON(CROSS(散,庄) AND 散<30,20,1); DRAWICON(CROSS(庄,散) AND 散>70,80,2); VAR9:=CLOSE-REF(CLOSE,5); VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5)*100; VARB:=EMA(EMA(VAR9,10),10)/EMA(EMA(ABS(VAR9),10),10)*100; VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20)*100; 卖出: IF(VARA>0 AND CROSS(VARC,VARA),-40,0); DRAWTEXT(卖出,-30,'中线逃吧!'),COLOR0033FF; DRAWICON(卖出<0,-25,1);

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式