通达信指标公式源码 画线主图(抓主主升 胜利在望)

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

A:=(3*CLOSE+LOW+OPEN+HIGH)/6;

HJX21:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*R EF(A,5)+

15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+

10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+

5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+

REF(A,21))/231;

HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6;

DC1:EMA(HJX3,4),COLORLIMAGENTA;

DC2:EMA(DC1,3),COLORRED;

DC3:EMA(DC1,7),COLORRED;

K11:=BACKSET(DC1

IF(K11,DC1,DRAWNULL),COLORGREEN,LINETHICK1;

K21:=BACKSET(DC2

IF(K21,DC2,DRAWNULL),COLORGREEN,LINETHICK1;

K31:=BACKSET(DC3

IF(K31,DC3,DRAWNULL),COLORGREEN,LINETHICK1;

DC4:EMA(HJX21,6),COLORYELLOW;

DC5:EMA(HJX21,16),COLORYELLOW;

DC6:EMA(HJX21,34),COLORYELLOW;

RSV:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

YX2:=D>REF(D,1);

YX3:=DC4>DC6 AND DC5>DC6;

YX4:=CLOSE>DC4 AND CLOSE/DC4<1.1;

YX5:=DC1>DC2 AND DC2>DC3;

XG:=YX2 AND YX3 AND YX4;

神彩飞扬培训:=XG AND COUNT(XG,10)=1 AND COUNT(YX5,10)<5; DRAWTEXT(神彩飞扬培训,LOW*0.98,'神彩'),COLORFFFFFF;

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

XG0:=CROSS(MACD,0);

XG1:=CROSS(CLOSE,DC1) AND CROSS(CLOSE,DC2) AND CROSS(CLOSE,DC3) AND BARSLAST(XG0)<=5

AND CLOSE

相关文档
最新文档