五日十日线 通达信主图指标 源码 贴图
MAA5:=MA(C,5);MAA10:=MA(C,10);
MAA20:=MA(C,20);
MAA30:=MA(C,30);
KS:=IF(MAA10 MAA30,MAA10,MAA30),COLORBLUE;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8 0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORMAGENTA;
STICKLINE(买,OPEN,CLOSE,2,0),COLORMAGENTA;
{如果涨停显示黄芯,如果跌停显示绿芯}
涨停 := (C /REF(C,1)) 1.095;
STICKLINE(涨停, HIGH, OPEN, 1, 0), COLORYELLOW;
跌停 := C/REF(C,1) 0.9 ;
STICKLINE(跌停, HIGH, LOW, 1, 0), COLORGREEN;
M5:MA(CLOSE,5), LINETHICK2, COLORRED; {COLORWHITE;}
{M10:MA(CLOSE,10), LINETHICK1, COLORLIRED;}
M20:MA(CLOSE,20),COLORFF00FF, LINETHICK2;
{M25:MA(CLOSE,25),COLORGREEN, LINETHICK2;}
{M30:MA(CLOSE,30),COLORGREEN;}
{M60:MA(CLOSE,60);}{www.9m8.cn 九毛八公式指标网}
{M89:MA(CLOSE,89),LINETHICK2,COLORFF9966;}
{//一二零日:=MA(C,120),LINETHICK1,COLOR000099;
//一四四日:MA(C,144),LINETHICK1,COLORFF3300; //BLUE
}
{M90:MA(CLOSE,90);}
{M120:MA(CLOSE,120);}
{M250:MA(CLOSE,250);};