您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:自用指标--明朗(主图、源码、贴图)

自用指标--明朗(主图、源码、贴图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-02-02 15:57:00
公式简介:

源码:

预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
{STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,4,-1),COLOR00FF00;}
JE:=预测量;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主买:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN)));
主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW));
散买:=(QJ0*(HIGH-MAX(OPEN,CLOSE)));
散卖:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ));
庄净入:=IF((主买-主卖)>0,主买-主卖,0)COLORRED;
庄净出:=IF((主买-主卖)<0,主买-主卖,1)COLORGREEN;
{散净入:=IF((散买-散卖)>0,散买-散卖,0)COLORGREEN;
散净出:=IF((散买-散卖)<0,散买-散卖,0)COLORRED;}
净:=主买+散买-主卖-散卖;
{STICKLINE(庄净出,O,C,3,0),COLORGREEN;
STICKLINE(庄净出,O,C,1.5,0),COLOR00CC00;}
{STICKLINE(散净入,C,H,3,0),COLORAA0000;
STICKLINE(散净入,C,H,1.5,0),COLORCC0000;}
STICKLINE(庄净入,O,C,3,0),COLOR0000AA;
{STICKLINE(散净出,O,L,3,0),COLORAA00AA;
STICKLINE(散净出,O,L,1.5,0),COLORCC00CC;}
STICKLINE(庄净入,O,C,3,0),COLOR0000CC;
STICKLINE(净>0,O,C,1,1),COLORYELLOW;
STICKLINE(净<0,O,C,0.5,1),COLORBLACK;
MB1:=EMA(CLOSE,5),COLOR00FFFF,LINETHICK1;
MB2:=EMA(MB1,3),COLORFFFFFF;
MB3:=EMA(MB2,3),COLORFFFF00;
MB4:=EMA(MB3,3),COLOR00FF00;
MB5:=EMA(MB4,3),COLORFF00FF;
MB6:=EMA(MB5,3),COLOR0000FF;
XG:=EMA(C,5)>REF(EMA(C,5),1)AND ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416>31.416;
XGG:=EMA(C,5)>REF(EMA(C,5),1)AND ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416>=45;
IF(XG,LLV(L,720),DRAWNULL),COLORRED,CIRCLEDOT;
IF(XGG,LLV(L,720),DRAWNULL),COLORMAGENTA,CIRCLEDOT;
IF(CROSS(MB1,MB2),L*0.97,DRAWNULL),COLORWHITE,CIRCLEDOT;
MA5:MA(C,M),COLORWHITE;
MA10:MA(C,M1),COLORGREEN;
MA20:MA(C,M2),COLORRED;
MA60:MA(C,M3),COLORLICYAN;
A:=C>MA20;
IF(CROSS(MB1,MB2) AND A,L*0.94,DRAWNULL),COLORYELLOW,CROSSDOT;
 


 






[url=http://www.goodgupiao.com/gupiaogongshi/12027.html][B]自用指标--明朗(主图、源码、贴图)[/B][/url]