金三角指标 用法 附图 没有未来介绍
金三角指标 用法 附图 没有未来
指标用法1:在股票低位的时候作为提示用相当好。
2:注意在个股涨幅比较大的时候,尽量不要用。
3:当天出现{启动金三角}或者是{黄金}可以选股。
源码如下:
MA5:MA(C,5);
MA10 :MA(close,10);
MA60 : MA(close,60);
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))<2;
baijin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
baijin3:=GJTJ1>60 AND GJTJ4>70;
drawtext(baijin1 AND baijin2 AND baijin3,l-0.02,'白金');
huangjin1:=BARSLAST(CROSS(50,GJTJ1))<3 AND
BARSLAST(CROSS(GJTJ1,50))<3;
huangjin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
DRAWTEXT(huangjin1 AND huangjin2,l-0.03,'黄金');
XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4;
drawtext(COUNT(XG,3)=1 AND XG and
c>ma(c,20),l-0.02,'启动金三角'),COLORYELLOW;
zhencang1:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND
gd19406