均线金三角主图
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
MM:=MIN(M5,M20);
MM2:=MIN(M10,M20);
HM:=MAX(M5,M20);
HM2:=MAX(M10,M20);
TC1:DRAWBAND(MM,RGB(255,0,0),MM2,0);
TC2:DRAWBAND(HM2,RGB(0,255,255),HM,0);
DRAWKLINE(H,O,L,C);
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
买 的选股公式如下:
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
CROSS(MA10,MA20) AND COUNT(CROSS(MA5,MA20),BARSLAST(CROSS(MA5,MA10)))=1 AND COUNT(CROSS(MA10,MA20),BARSLAST(CROSS(MA5,MA10)))=1 AND UPNDAY(MA5,2) AND UPNDAY(MA10,2) AND C/REF(C,1) 1 AND C