通达信红烧牛排指标公式

2013-05-02 09:00:00来源:本站整理浏览:217

日:=EMA(CLOSE,7) ;
周:=EMA(日,21);
年:=EMA(CLOSE,240) ;
STICKLINE((日 > 周),日,周,10,0),colorCCCCFF;
STICKLINE((日 < 周),日,周,10,0),colorFF0000;
A:=AMOUNT / (100 * VOL);
五:MA(A,6),coloryellow;
MA(A,13),colorwhite;
MA(A,34),colorred;
MA(A,55),colorgreen;
江南鹰眼:=COST(6) * (1 + 1 / 100);
DRAWTEXT(CROSS(五,江南鹰眼),五,'<==发财机会'),coloryellow;
DRAWTEXT(CROSS(日,周),周,'<==追'),colorred;
STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,7,0),colorFF3333;
STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,4,0),colorFF3333;
STICKLINE(OPEN >= CLOSE,CLOSE,OPEN,4,0),colorFFFF00;
STICKLINE(CLOSE > OPEN,CLOSE,OPEN,7,0),color6666FF;
STICKLINE(CLOSE > OPEN,CLOSE,OPEN,4,0),color6666FF;
STICKLINE(CLOSE > OPEN,CLOSE,OPEN,4,0),coloryellow;
STICKLINE(CLOSE > OPEN,OPEN,LOW,0.5,0),colorCCFF00;
STICKLINE(CLOSE > OPEN,CLOSE,HIGH,0.5,0),colorCCFF00;
STICKLINE(OPEN >= CLOSE,CLOSE,LOW,0.5,0),colorFFFF66;
STICKLINE(OPEN >= CLOSE,OPEN,HIGH,0.5,0),colorFFFF66;
STICKLINE(CLOSE = OPEN AND CLOSE > REF(CLOSE,1),CLOSE,OPEN,10,0);
STICKLINE(CLOSE = OPEN AND CLOSE > REF(CLOSE,1),CLOSE,HIGH,0.5,0);
STICKLINE(CLOSE = OPEN AND CLOSE > REF(CLOSE,1),OPEN,LOW,0.5,0);
VARB1:=(EMA(CLOSE,3) - EMA(CLOSE,6)) - (EMA(CLOSE,8) - EMA(CLOSE,12)) * (- 100);
VARB2:=EMA(VARB1,3);
VARB3:=(EMA(CLOSE,3) - EMA(CLOSE,6)) - (EMA(CLOSE,24) - EMA(CLOSE,36)) * (- 100);
VARB4:=EMA(VARB3,9);
VARB5:=CROSS(VARB1,VARB2);
VARB6:=CROSS(VARB2,VARB1);
STICKLINE(VARB6,OPEN,CLOSE,7,0),colorFFFFFF;
STICKLINE(VARB5,OPEN,CLOSE,7,0),colorFF0000;
STICKLINE(VARB5,OPEN,CLOSE - (CLOSE - OPEN) * 0.33,7,0),colorred;
VARB5A:=CROSS(VARB3,VARB4);
VARB6A:=CROSS(VARB4,VARB3);
STICKLINE(VARB6A,OPEN,CLOSE,10,1),colorFFFFFF;
STICKLINE(VARB5A,OPEN,CLOSE,10,1),colorFF0000;
STICKLINE(VARB5A,OPEN,CLOSE - (CLOSE - OPEN) * 0.33,10,1),colorred;
DRAWTEXT(FILTER((EMA(CLOSE,55) - EMA(CLOSE,13)) > 0 AND EMA(CLOSE,12) / LOW > 1.15,5),LOW,'<==重现股市'),colorFFFFFF;
DRAWTEXT(FILTER((EMA(CLOSE,13) - EMA(CLOSE,62)) > 0 AND HIGH / EMA(CLOSE,12) > 1.15,5),HIGH,'<==减仓时机'),colorFFFF00; HSNP1:=CLOSE-REF(CLOSE,1);
HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
HSNP3:=REF(CLOSE,1)-CLOSE;
HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
HSNP6:=100-100/(1+HSNP5);
HSNP7:=EMA(HSNP6,21);
HSNP8:=EMA(HSNP7,5);
HSNP:=EMA(HSNP7,3);
np: (HSNP7-HSNP),COLORMAGENTA,linethick2;
nl:(HSNP-HSNP7),COLORYELLOW,linethick2;
STICKLINE(np>0,0,np,1,2),COLORRED;
STICKLINE(nl<0,0,nl,1,2),COLORRED;
STICKLINE(np<0,0,np,1,2),COLOR669933;
STICKLINE(nl>0,0,nl,1,2),COLOR669933;
金叉:=CROSS(np,0.005);
死叉:=CROSS(nl,0.005);
牛排:IF(金叉,1,0)COLORRED linethick;
牛肋:IF(死叉,1,0)COLOR669933 linethick;
ljx:0{,LINEDOT},COLORBLUE;


 


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式