通达信时空矩阵主图公式源码是什么?
2016-5-16 10:34:29 股票入门 http://rumen.southmoney.com
通达信时空矩阵主图公式源码是什么?附:通达信王者回头公式源码 南方财富网小编为您提供
【通达信时空矩阵主图公式源码】
Z:=ZIG(3,20),COLORGRAY;
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">HT:=BARSLAST(Z<REF(Z,1) AND REF(Z,1)>REF(Z,2));
LT:=BARSLAST(Z>REF(Z,1) AND REF(Z,1)<REF(Z,2));
HH:=HHV(C,LT+1);
LL:=LLV(C,HT+1);
QF1:=BACKSET(HT=0,2);
QF2:=BACKSET(LT=0,2);
Q1:=BARSLAST(CROSS(QF1=1,0.5));
Q2:=BARSLAST(CROSS(QF2=1,0.5));
X1:=REFX(HH,BARSNEXT(Q1=0));
X2:=REFX(LL,BARSNEXT(Q2=0));
{红下边延长线}
DRAWLINE(Q1=0,X2,Q2=0,LL,1),COLORRED,LINETHICK4;
{红上边}
DRAWLINE(Q2=0,X1,Q1=0,HH,0),COLORRED;
{红下边}
DRAWLINE(Q2=0,X2,Q1=0,LL,0),COLORRED,LINETHICK4;
{红左边}
STICKLINE(Q2=0 ,X1,C,0,0),COLORRED;
{红右边}
STICKLINE(Q2=0 ,HH,C,0,0),COLORRED;
{绿上边}
DRAWLINE(Q1=0,C,Q2=0,HH,0),COLOR009900;
{绿下边}
DRAWLINE(Q1=0,X2,Q2=0,LL,0),COLOR009900,LINETHICK4;
{绿左边}
STICKLINE(Q1=0 ,LL,C,0,0),COLOR009900;
{绿右边}
STICKLINE(Q1=0 ,X2,C,0,0),COLOR009900;
{下降三角斜边}
DRAWLINE(Q1=0,C,Q2=0,LL,0),COLOR009900;
附:【通达信王者回头公式源码】
N:=5;
大阳:(C/REF(C,1)-1)*100>=7 AND V>REF(V,1),COLOR0000FF,POINTDOT,NODRAW;
STICKLINE(大阳,0,5,4,0),COLOR0000FF;
ZTB:=(C/REF(C,1)-1)*100>=9.9 AND C=H;
DRAWTEXT(ZTB,8,'涨停'),COLOR00FFFF;
DYSJ:=BARSLAST(大阳);
跟踪:IF(DYSJ<=13 AND COUNT(L>REF(L,DYSJ),DYSJ)=DYSJ,DYSJ,0),COLOR00FFFF,POINTDOT;
阻击点:REF(C,DYSJ)-REF(C-O,DYSJ)*0.65,COLORFFFFFF,POINTDOT,NODRAW;
机会:IF(DYSJ<=13 AND COUNT(L>REF(L,DYSJ),DYSJ)=DYSJ AND L<阻击点,DYSJ,0),COLOR00FF00;
更多通达信公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。