同花顺技术指标
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
同花顺技术指标(精选版)
这次的版本化繁为简,希望大家多下载
黄金线指标HJX
INPUT:N(1,110,15);
生命线:98,linethick1,coloryellow;
生命禁区:95,linethick1,colorred;
股价泥潭:20,linethick1,colorblue;
生死线:50,linethick2,colorwhite;
C0:=(H+L+C)/3;
a1:=HHV(C0,n);
a2:=LLV(C0,n);
a3:=a1-a2;
a4:=EMA((C0-a2)/a3,2)*100;
b1:=HHV(C0,4*n);
b2:=LLV(C0,4*n);
b3:=b1-b2;
b4:=EMA((C0-b2)/b3,2)*100;
C1:=HHV(C0,16*n);C2:=LLV(C0,16*n);C3:=C1-C2;
C4:=EMA((C0-C2)/C3,2)*100;
短期:a4,colorgreen,linethick1;
中期:b4,coloryellow,linethick2;
长期:C4,colorred,linethick3;
DRAWICON(CROSS(生命禁区,短期) AND REF(短期,1)>短期,短期*1.1,11); DRAWTEXT(CROSS(生命禁区,短期) AND REF(短期,1)>短期,短期*1.1,'←卖'), colorcyan; DRAWICON(CROSS(生命线,短期) AND REF(短期,1)>短期,短期*1.2,12);
DRAWTEXT(CROSS(生命线,短期) AND REF(短期,1)>短期,短期*1.2,'←卖'), colorcyan; DRAWTEXT(CROSS(短期,生命禁区),85,'警惕!!'),colorwhite;
DRAWTEXT(CROSS(中期,生命禁区),95,'减磅'),ColorFF6800;
DRAWTEXT(CROSS(长期,生命禁区),100,'出局'),colormagenta;
DRAWICON(CROSS(短期,生命禁区),85,4);
DRAWICON(CROSS(中期,生命禁区),95,8);
DRAWICON(CROSS(长期,生命禁区),100,3);
HJBG 黄金八卦
N:=20;P:=2;
黄金线:(EMA(C,18)),POINTDOT,linethick3,coloryellow;
上升压力: EMA(C,N) + P*STD(CLOSE,N);
下跌支撑: EMA(C,N) - P*STD(CLOSE,N);
牛熊分界线:(MA(C,120)),ColorEEBBEE;
主力成本:MA(C,54);
A0:="cpzb.zp";
A1:="cpzb.cp";
A2:="cpzb.DP";
STICKLINE((A2>=2.1),H,L,0.8,1),colorgreen;
STICKLINE(((A2>=2.1) AND (C>REF(C,1))),O,C,8,1),colorgreen; STICKLINE(((A2>=2.1) AND (C0) AND (A2<5)),H,L,0.8,1),colorred;
STICKLINE((((A2>0) AND (A2<5)) AND (C>REF(C,1))),O,C,8,0),colorred; STICKLINE((((A2>0) AND (A2<5)) AND (C=黄金线) AND (C>REF(C,1))),H,L,0.5,1),colorred; STICKLINE(((C>=黄金线) AND (C>REF(C,1))),O,C,8,1),colorred; STICKLINE(((C>=黄金线) AND (C=黄金线) AND (CREF(C,1))),H,L,0.5,1),colorgreen; STICKLINE(((C<黄金线) AND (C>REF(C,1))),O,C,8,1),colorgreen; STICKLINE(((C<黄金线) AND (C DRAWTEXT(A0,L*0.98,' B-B'),linethick5,ALIGN1,colorFFFFFF; DRAWTEXT(A1,H,' ̄ ̄'),linethick2,ALIGN1,colorcyan; DRAWTEXT(A1,H*1.03,' S-S'),linethick5,colorcyan; STICKLINE(A1,C,O,8,0),colorFFFF00; STICKLINE(A1,H,L,1,0),colorFFFF00; STICKLINE(A0,C,O,8,0),ColorFFFFFF; STICKLINE(A0,H,L,1,0),ColorFFFFFF; STICKLINE((A2>=10AND A2<30),C,O,0,0),ColorFFBBFF; STICKLINE((A2>=10AND A2<30),C,O,8,0),colormagenta; STICKLINE((A2>=10AND A2<30),C,O,7,0),ColorFF22FF; STICKLINE((A2>=10AND A2<30),C,O,6,0),ColorFF44FF; STICKLINE((A2>=10AND A2<30),C,O,5,0),ColorFF66FF; STICKLINE((A2>=10AND A2<30),C,O,4,0),ColorFF88FF; STICKLINE((A2>=10AND A2<30),C,O,3,0),ColorFF99FF; STICKLINE((A2>=10AND A2<30),C,O,2,0),ColorFFAAFF; STICKLINE((A2>=10AND A2<30),C,O,1,0),ColorFFBBFF; A3:=EMA((((SLOPE(C,21)) * 20) + C),68); A4:=EMA(C,10); A5:=REF(C,2); A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100; A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0); DRAWTEXT((CROSS(A4,A3)),L,'△'),linethick2,ALIGN1,coloryellow; DRAWTEXT(A7,H,'○'),linethick3,colorgreen; A8:=LLV(L,21); A9:=HHV(H,21); A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5); A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);