通达信买卖彩带主图指标公式
通达信春江花月夜指标公式
VAR1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
A:(20*VAR1+19*REF(VAR1,1)+18*REF(VAR1,2)+17*REF(VAR1,3)+16*REF(VAR1,4)
+15*REF(VAR1,5)+14*REF(VAR1,6)+13*REF(VAR1,7)+12*REF(VAR1,8)+11*REF(VAR1,9)
+10*REF(VAR1,10)+9*REF(VAR1,11)+8*REF(VAR1,12)+7*REF(VAR1,13)+6*REF(VAR1,14)
+5*REF(VAR1,15)+4*REF(VAR1,16)+3*REF(VAR1,17)
+2*REF(VAR1,18)+REF(VAR1,20))/210,COLORRED,LINETHICK2;
{指标网-股票公式网站 www.zhibiaow.com}
B:MA(A,6),COLORGREEN,LINETHICK2;
DRAWBAND(A,RGB(240,140,240),B,RGB(255,255,0));
A1:=C-REF(C,1);
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(Abs(A1),6),6);
B2:=IF( crOSS(A2,MA(A2,2)),1,0);
DRAWICON(FILTER(B2=1,5),L-0.08,1),COLORFFDE00;
B3:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWICON(CROSS(75,B3),H+0.1,2),COLORGREEN;
趋势:EMA(C,55),LINETHICK2;
IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORRED,POINTDOT,LINETHICK8;
IF(趋势<REF (趋势,1),趋势,DRAWNULL),COLORFFD700,POINTDOT,LINETHICK8;
通达信密战均线主图指标公式