股票的公式有哪些?大智慧攻击线净单比公式源码
2016-6-6 15:35:38 股票入门 http://rumen.southmoney.com
股票的公式有哪些?大智慧攻击线净单比公式源码 附:大智慧CCI低点划线背离一目了然指标公式 南方财富网小编为您提供
【大智慧攻击线净单比公式源码】
攻击线:(ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.295),LINETHICK0;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">操盘线:(ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.295),LINETHICK0;
动力线:(ATAN((MA(CLOSE,17)/REF(MA(CLOSE,17),1)-1)*100)*57.295),LINETHICK0;
生命线:(ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.295),LINETHICK0;
单比净:=SUM(操盘线,1);
STICKLINE(单比净>0,0,单比净,7,0),COLORred,linethick2;
STICKLINE(单比净>0,0,单比净,6,0),COLOR005555;
STICKLINE(单比净>0,0,单比净,6,0),COLOR006666;
STICKLINE(单比净>0,0,单比净,5,0),color007777;
STICKLINE(单比净>0,0,单比净,4,0),color009999;
STICKLINE(单比净>0,0,单比净,3,0),color00BBBB;
STICKLINE(单比净>0,0,单比净,2,0),color00DDDD;
STICKLINE(单比净>0,0,单比净,1,0),color00FFFF;
STICKLINE(单比净<0,0,单比净,7,0), COLORgreen,linethick2;
STICKLINE(单比净<0,0,单比净,6,0), COLOR444444;
STICKLINE(单比净<0,0,单比净,6,0), COLOR555555;
STICKLINE(单比净<0,0,单比净,5,0), COLOR777777;
STICKLINE(单比净<0,0,单比净,4,0), COLOR999999;
STICKLINE(单比净<0,0,单比净,3,0), COLORbbbbbb;
STICKLINE(单比净<0,0,单比净,2,0), COLORdddddd;
STICKLINE(单比净<0,0,单比净,1,0), COLORffffFF;
DRAWTEXTABS(0,0,'FY-操盘线率'),COLOR52FFFF;
附:【大智慧CCI低点划线背离一目了然指标公式】
TYP := (HIGH + LOW + CLOSE)/3;
cci:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
PARTLINE(cci,cci>REF(cci,1),rgb(255,0,0),cci<=REF(cci,1),rgb(0,255,0) );
A1:=cci>REF(cci,1) and REF(cci,1)<REF(cci,2);
C1:=BACKSET(A1>0,2);
D1:=(C1>0 AND REF(C1,1)<1);
A2:=cci<REF(cci,1) and REF(cci,1)>REF(cci,2);
C2:=BACKSET(A2>0,2);
D2:=(C2>0 AND REF(C2,1)<1);
R1:=BACKSET(DISPSTATUS=2,BARSLAST(D1)+1);
S1:=R1>REF(R1,1);
T1:=BACKSET(DISPSTATUS=2,BARSLAST(D2)+1);
U1:=T1>REF(T1,1);
R2:=BACKSET(S1,REF(BARSLAST(D1),1)+2);
S2:=R2>REF(R2,1);
T2:=BACKSET(U1,REF(BARSLAST(D2),1)+2);
U2:=T2>REF(T2,1);
DRAWLINE(S2,cci,S1,cci,1),COLORBLUE,linethick2;
DRAWLINE(U2,cci,U1,cci,1),POINTDOT,COLORBLUE,linethick2;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。