通达信天难绝主图指标公式
通达信趋势拐点指标公式
通达信天难绝主图指标公式:
日:=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;
通达信金牌操作主图指标公式