您的位置:爱股网 > 查股公式 > 通达信简单的主图源码[查股公式]
股票行情消息数据:

通达信简单的主图源码[查股公式]

2022/8/15 22:06:53

通达信简单的主图源码

M60:=MA(CLOSE,60);
M120:=MA(CLOSE,120);
AAA:=CONST(HHV(H,120))+0.2;
BBB:=CONST(LLV(L,120))-0.2;
H1:STICKLINE(C>0,M60,AAA,5,0),COLOR300097;
H3:STICKLINE(C>0,M60,BBB,5,0),COLOR0E6E00;
DRAWBAND(M60,RGB(155,50,150),M120,RGB(50,150,150)); 
DRAWKLINE(H,O,L,C);
MA5:MA(C,5),COLORWHITE;
MA10:MA(CLOSE,10),COLOR9370DB;
MA20:MA(C,20),COLORYELLOW,LINETHICK1;
跌:IF(MA(CLOSE,20)<=REF(MA(CLOSE,20),1),MA(CLOSE,20),DRAWNULL),COLORFF9933,LINETHICK1;
MA60:MA(CLOSE,60),COLORGREEN,LINETHICK2;
下跌:IF(MA(CLOSE,60)<=REF(MA(CLOSE,60),1),MA(CLOSE,60),DRAWNULL),COLORBLUE,LINETHICK2;
MA120:MA(CLOSE,120),COLORBROWN,LINETHICK1;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1,O,C,2,0),COLORYELLOW;
MA13:=MA(CLOSE,13);
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
A1:=MIN(O,C);
B1:=ABS(O-C);
T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);
STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;
STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;
SY:=STICKLINE(REFDATE(C,DATE),REFDATE(C,DATE),REFDATE(C,DATE),6,1),COLORWHITE,POINTDOT;{现价};



相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29