通达信副图指标公式通达信分时指标_通达信主图指标_一牛多空买卖 和谐源码分享

通达信RSI变色指标

VAR1:=119022299;
VAR2:=IF(DATE<VAR1,1,DRAWNULL);
VAR3:=(3*CLOSE+OPEN+LOW+HIGH)/6*VAR2;
VAR4:=(20*VAR3+19*REF(VAR3,1)+18*REF(VAR3,2)+17*REF(VAR3,3)+16*REF(VAR3,4)+15*REF(VAR3,5)+14*REF(VAR3,6)+13*REF(VAR3,7)+12*REF(VAR3,8)+11*REF(VAR3,9)+10*REF(VAR3,10)+9*REF(VAR3,11)+8*REF(VAR3,12)+7*REF(VAR3,13)+6*REF(VAR3,14)+5*REF(VAR3,15)+4*REF(VAR3,16)+3*REF(VAR3,17)+2*REF(VAR3,18)+REF(VAR3,20))/210;
VAR5:=MA(VAR4,5);{股票指标网 }
持股区域:STICKLINE(VAR4>VAR5,VAR4,VAR5,2,1),COLORRED;
持币区域:STICKLINE(VAR4<VAR5,VAR4,VAR5,2,1),COLORGREEN;
DRAWTEXT_FIX(1,0.02,0.15,0,12),COLORYELLOW;
DRAWTEXT_FIX(1,0.02,0.2,0,8),COLORYELLOW;
DRAWTEXT(CROSS(DATE,VAR1) OR DATE=VAR1,REF(VAR5,1),9),COLORYELLOW;
 

通达信波段必胜指标