短:=EMA(C,3),DOTLINE;
买线:=短;
中:EMA(SLOPE(C,21)*20+C,55),DOTLINE;
卖线:=中;
柱长:(买线-卖线)*100,NODRAW;
买卖差:=买线-卖线;
趋势:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORMAGENTA,LINETHICK1,DOTLINE;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWICON(crOSS(X2,X3),L*0.98,7);
DRAWICON(CROSS(X3,X2),H*1.02,8);
{ _通达信股票指标公式}
STICKLINE(买卖差>=0,(买线-买卖差*0.2),(买线-买卖差*0.35),1,0) ,COLOR00CCFF;
STICKLINE(买卖差>=0,(买线-买卖差*0.4),(买线-买卖差*0.55),1,0) ,COLOR0099FF;
STICKLINE(买卖差>=0,(买线-买卖差*0.6),(买线-买卖差*0.75),1,0) ,COLOR0066FF;
STICKLINE(买卖差>=0,(买线-买卖差*0.8),(买线-买卖差*0.95),1,0) ,COLOR0000CC;
STICKLINE(买卖差<0,(卖线+买卖差*0.2),(卖线+买卖差*0.35),1,0) ,COLOR009900;
STICKLINE(买卖差<0,(卖线+买卖差*0.4),(卖线+买卖差*0.55),1,0) ,COLOR00CC00;
STICKLINE(买卖差<0,(卖线+买卖差*0.6),(卖线+买卖差*0.75),1,0) ,COLOR00FF00;
STICKLINE(买卖差<0,(卖线+买卖差*0.8),(卖线+买卖差*0.95),1,0) ,COLOR66FF00;
IF(卖线<REF(卖线,1),卖线,DRAWNULL),COLORGREEN,DOTLINE;
{DRAWKLINE(HIGH,OPEN,LOW,CLOSE);}
界:EMA(C,60),COLORRED,LINETHICK2;
阴买:IF(买线>卖线 AND C<O,1,0),NODRAW;
DRAWICON(阴买,L*0.99,9);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。