跌:IF(MA(CLOSE,30) =REF(MA(CLOSE,30),1),MA(CLOSE,30),DRAWNULL),COLORGREEN,LINETHICK2;
MA60:MA(CLOSE,60),COLORFFCC66;
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
BAIJIN1:=BARSLAST(CROSS(30,GJTJ1)) 2 AND BARSLAST(CROSS(GJTJ1,50))
BAIJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 2 AND GJTJ1 GJTJ4;
BAIJIN3:=GJTJ1 60 AND GJTJ4
DRAWTEXT(BAIJIN1 AND BAIJIN2 AND BAIJIN3,L-0.02,'白金'),COLORWHITE;
HUANGJIN1:=BARSLAST(CROSS(50,GJTJ1)) 3 AND BARSLAST(CROSS(GJTJ1,50))
HUANGJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 2 AND GJTJ1 GJTJ4;
DRAWTEXT(HUANGJIN1 AND HUANGJIN2,L-0.03,'黄金'),COLORYELLOW;
XG:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 5 AND GJTJ1 GJTJ4;
DRAWTEXT(COUNT(XG,3)=1 AND XG AND C MA(C,20),L-0.02,'启动金三角'),COLORRED;
公式模块:
是要这个吗?
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
XG:=BARSLAST(CROSS(GJTJ4,GJTJ1)) 5 AND GJTJ1 GJTJ4;
启动金三角:COUNT(XG,3)=1 AND XG AND C MA(C,20);