zjtz288 发表于 2016-6-4 21:28

通达信乾坤数理主图指标公式

T:=BARSLAST(CURRBARSCOUNT=CONST(LLVBARS(L,60))+1);
TT:=BARSLAST(CURRBARSCOUNT=CONST(T)+7);
T3:=BARSLAST(CURRBARSCOUNT=CONST(T)+2);
T03:=BARSLAST(CURRBARSCOUNT=CONST(T)-2);
XL:=REFX(L,BARSNEXT(T=0));
A:=CONST(REF(L,T));
DRAWLINE(T=0,L,ISLASTBAR,REF(L,T),0),COLORRED,LINETHICK3;
DRAWTEXT(TT=0,XL*1.02,VARCAT(VARCAT('底部价:',VAR2STR(CONST(REF(L,T)),2)),'元')),COLORRED;
DRAWLINE(T03=0,A+A*0.3,ISLASTBAR,A+A*0.3,0),COLORCYAN;
DRAWLINE(T03=0,A+A*0.6,ISLASTBAR,A+A*0.6,0),COLORCYAN;
DRAWLINE(T03=0,A+A*1.2,ISLASTBAR,A+A*1.2,0),COLORCYAN;
DRAWLINE(T=0,A+A*0.8,ISLASTBAR,A+A*0.8,0),COLORRED,LINETHICK3;
DRAWLINE(T=0,A+A*1.4,ISLASTBAR,A+A*1.4,0),COLORRED,LINETHICK3;
DRAWTEXT(T3=0,CONST(A+A*0.8)*1.04,'1.08'),COLORRED;
DRAWTEXT(T3=0,CONST(A+A*1.4)*1.04,'1.14'),COLORRED;
DRAWTEXT(T03=0,CONST(A+A*0.3)*1.04,'1.03'),COLORYELLOW;
DRAWTEXT(T03=0,CONST(A+A*0.6)*1.04,'1.06'),COLORYELLOW;
DRAWTEXT(T03=0,CONST(A+A*1.2)*1.04,'1.2'),COLORYELLOW;

muge 发表于 2016-6-12 13:18

谢谢楼主分享

未央518 发表于 2016-6-12 13:38

谢谢分享,周末愉快

射雕英雄郭靖 发表于 2016-6-12 20:32

学习学习学习

金钱魔术师 发表于 2016-6-12 22:23

AD15147086 发表于 2016-6-12 23:32

谢谢谢谢谢了!
页: [1]
查看完整版本: 通达信乾坤数理主图指标公式