通达信版:
{倒行逆施}
快线:MA(CLOSE,38)-MA(CLOSE,4),LINETHICK2;
慢线:MA(快线,25),COLORYELLOW,LINETHICK2;
快线1:IF(快线<REF(快线,1),快线,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(CROSS(慢线,快线),快线,1);
DRAWICON(CROSS(快线,慢线),慢线,2);
说明:快线死叉慢线买入.快线金叉慢线卖出.
大智慧L2版
{倒行逆施}
快线:MA(CLOSE,38)-MA(CLOSE,4);
慢线:MA(快线,25);
PARTLINE(慢线,慢线>快线,RGB(255,0,0),慢线<快线,RGB(255,255,0),1,RGB(0,0,255)),LINETHICK2;
PARTLINE(快线,慢线>快线,RGB(255,0,0),慢线<快线,RGB(0,255,0),1,RGB(0,0,255)),LINETHICK2;
DRAWICON(CROSS(慢线,快线),快线,1);
DRAWICON(CROSS(快线,慢线),慢线,2);