以下是同花顺遍地黄金幅图指标

同花顺遍地黄金幅图指标

源码

G2:=EMA(C,5);
G3:=EMA(C,10);
G4:=EMA(C,20);
G5:=EMA(C,30);
G6:=(G2+G3+G4+G5)/4;
G7:=(G6-REF(G6,10))/REF(G6,10)*100;
G8:=(G6-REF(G6,10))/REF(G6,10)*100;
G9:=EMA(G7,10);
遍地黄金:G2,coloryellow;
洗筹:=IF(G7<REF(G7,1),1,0),NODRAW,COLOR66CC00;
调整:=IF(G7<REF(G7,1) AND G9>1*REF(G9,1),1,0),NODRAW,colorcyan;
STICKLINE(G7<REF(G7,1),H,L,0,0),COLOR66CC00;
STICKLINE(G7<REF(G7,1),O,C,2,0),COLOR66CC00;
V0:=ZIG(3,10);
V1:=MA(V0,2);
V3:=(HHV(V1,200));
V4:=(0);
V6:=IF((V0>REF(V0,1)),0,C);V7:=IF(FILTER(V6,120),1,0);
V5:=REF(V6,1)=0 AND V6>0 AND V7=0;
V8:=NOT((H<=HHV(H,20) AND H>=HHV(H,20)*0.99) OR H<V3*0.75);
V9:=IF(FILTER(IF((V0>REF(V0,1)),0,C),120),1,0);
DDD:=IF(V5,0,1);FFF:=IF(V1>REF(V1,1) AND DDD AND V9=0 AND V8,1,0);
a1:=C-REF(MA(C,6),1);
a2:=((a1/6)+MA(C,6))*1.005;
条件:=CROSS(C,a2) AND a2>REF(a2,1) AND FFF;
买进:IF(条件,L,0),COLORFFCCAA;
STICKLINE(条件,H,L,0,0),coloryellow,LINETHICK2;
STICKLINE(条件,O,C,4,0),coloryellow,LINETHICK2;
J0:=MA(CLOSE,7)-EMA(CLOSE,21);J1:=CLOSE/REF(LLV(LOW,35),5)<1;
J2:=EMA(WINNER(C)*70,3);J3:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
J4:=J3-J2;J5:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
加:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.005;
码:=CROSS(C,加) AND 加>REF(加,1) AND FFF;
加仓:IF((码 OR CROSS(J2,J4)) AND FFF,L*1.2,0),colormagenta;
STICKLINE(码,O,C,4,0),colorwhite,LINETHICK1;
STICKLINE(码,O,C,3,0),colormagenta,LINETHICK1;
抢入:IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,H*1.5,0),colorred,LINETHICK1;
DRAWTEXT(PEAKBARS(3,15,1)=1 OR CROSS(80,J5),L*0.75,’阶段顶’);
选买点:IF(买进 OR 加仓 OR 抢入,1,0),NODRAW,colorwhite;

 

注意:有“未来函数”。

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。