金轨道源码附图

[复制链接]
查看45 | 回复0 | 2022-7-24 07:08:41 | 显示全部楼层 |阅读模式

上18H:WMA(SMA(HHV(HIGH,18),9/2,1),3);
下18L:WMA(SMA(LLV(LOW,18),9/2,1),3); 
通道:(上18H+下18L)/2;
DRAWBAND(上18H,RGB(68,0,1),通道,RGB(68,0,1));
  DRAWBAND(通道,RGB(3,43,63),下18L,RGB(3,43,63));
 WMA(SMA(HHV(HIGH,18),9/2,1),3),COLOR0080FF,DOTLINE;
WMA(SMA(LLV(LOW,18),9/2,1),3),COLOR0080FF,DOTLINE; 
(上18H+下18L)/2,COLORFFFFFF;
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;
S:=CROSS(CROSS(三日最高,C),0.6);
 B:=CROSS(CROSS(C,三日最低),0.5);
 DRAWICON(B,LOW*0.97,34);
 DRAWICON(S,H*1.02,35);
 {逃顶}
 LC:=REF(CLOSE,1);
 RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
 逃命:=CROSS(80,RSI5);
 DRAWICON(逃命,H*1.005,15);
 TJ1:=REF("CCI.CCI",1)>90 AND "CCI.CCI"<REF("CCI.CCI",1);
 TJ2:=REF("KDJ.J"(9,3,3),1)>90 AND "KDJ.J"(9,3,3)<REF( "KDJ.J"(9,3,3),1);
 TJ3:=REF("RSI.RSI1",1)>70 AND "RSI.RSI1"<REF("RSI.RSI1",1);
 TJ4:=COUNT(TJ1,5) AND COUNT(TJ2,5) AND COUNT(TJ3,5);
 大顶:=CROSS(TJ4,0.5);
 DRAWICON(大顶,H*1.005,2);
 TJ5:=REF("CCI.CCI",1)<-100 AND "CCI.CCI">REF("CCI.CCI",1);
 TJ6:=REF("KDJ.J"(9,3,3),1)<20 AND "KDJ.J"(9,3,3)>REF( "KDJ.J"(9,3,3),1);
 TJ7:=REF("RSI.RSI1",1)<20 AND "RSI.RSI1">REF("RSI.RSI1",1);
 TJ8:=COUNT(TJ5,5) AND COUNT(TJ6,5) AND COUNT(TJ7,5);
 大底:=CROSS(TJ8,0.5);
 DRAWICON(大底,L*0.991,9);
 中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF951F,DOTLINE,LINETHICK2;
 YJ:=中;
 IF(YJ>REF(YJ,1),YJ,DRAWNULL),COLORRED,DOTLINE,LINETHICK2;
 STICKLINE(C>=O,C,O,3.4,0),COLOR0000AA;
 STICKLINE(C>=O,C,O,3.0,0),COLOR0000BB ;
 STICKLINE(C>=O,C,O,2.4,0),COLOR0000CC;
 STICKLINE(C>=O,C,O,2.0,0),COLOR0000DD ;
 STICKLINE(C>=O,C,O,1.6,0),COLOR0000EE;
 STICKLINE(C>=O,C,O,1.2,0),COLOR0000FF;
 STICKLINE(C>=O,C,O,0.6,0),COLOR0000FF;
 STICKLINE(C>=O,H,L,0,0),COLORRED;
 STICKLINE(C<=O,C,O,3.4,0),COLORAAAA00;
 STICKLINE(C<=O,C,O,3.0,0),COLORBBBB00;
 STICKLINE(C<=O,C,O,2.4,0),COLORCCCC00;
 STICKLINE(C<=O,C,O,2.0,0),COLORDDDD00;
 STICKLINE(C<=O,C,O,1.6,0),COLOREEEE00;
 STICKLINE(C<=O,C,O,1.2,0),COLORFFFF00;
 STICKLINE(C<=O,C,O,0.6,0),COLORFFFF00;
 STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
 AA:=REF(MA(C,20),1)<REF(MA(C,20),2);
 BB:=COUNT(AA,3)>=2;
 CC:=MA(C,20)>REF(MA(C,20),1);
 拐点:=CC AND BB;
 DRAWTEXT(拐点,L*0.99,'★拐点'),COLORYELLOW;

716277579.jpg

716277579.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则