通达信金龙喜舞分时副图指标
日时转换1:=IF(PERIOD=5,120,240);
日时转换2:=IF(PERIOD=5,5,30);
日时转换3:=IF(PERIOD=5,15,60);
日时转换4:=IF(PERIOD=5,2,5);
QZS:=(EMA(CLOSE,5)+EMA(CLOSE,10))/2;
VAR1:=(EMA(CLOSE,10)+EMA(CLOSE,15))/2;
VAR2:=(EMA(VOL,5)+EMA(VOL,10))/2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,日时转换2);
VAR5:=EMA(VAR3,日时转换3);
VAR6:=EVERY(VAR1>REF(VAR1,1),日时转换4) AND
EVERY(VAR4>REF(VAR4,1),日时转换4);
DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));
牵引线:VAR1,COLORYELLOW,LINETHICK1;
强弱线:EMA(VAR1,日时转换1),COLORWHITE;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORRED;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;
STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW;
DRAWICON(量价关注=1,EMA(VAR1,15),13);
DRAWICON(趋势关注=1,EMA(VAR1,15),13);
DRAWTEXT(趋势关注=1,EMA(VAR1,15),'转折'),COLORWHITE;
现价:CLOSE,COLORRED,LINETHICK1;