幅图指标变形 [通达信]
-
咨询内容:
请教,如何让图一幅图中的指标不变形,如图二幅图所示指标那样。
图一指标:
DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
沪:"999999$CLOSE",COLOR00DDDD,NODRAW;
±:"999999$CLOSE"-REF("999999$CLOSE",1),COLOR00DDDD,NODRAW;
%:("999999$CLOSE"-REF("999999$CLOSE",1))*100/REF("999999$CLOSE",1)
,COLOR00DDDD,NODRAW;
{量能饱和}
℃:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLOR000FFF,NODRAW;
深:"399001$CLOSE",COLORDDDDDD,NODRAW;
±·:"399001$CLOSE"-REF("399001$CLOSE",1),COLORDDDDDD,NODRAW;
%·:("399001$CLOSE"-REF("399001$CLOSE",1))*100/REF("399001$CLOSE",1)
,COLORDDDDDD,NODRAW;
指数:=INDEXC,COLOR0009DF,NODRAW;
±点:=INDEXC-REF(INDEXC,1),COLOR0009DF,NODRAW;
上额:="999999$AMOUNT"/100000000,NODRAW;
深额:="399001$AMOUNT"/100000000,NODRAW;
总额:深额+上额,COLOR0009DF,COLOR9515D5,NODRAW;
额幅:(总额-REF(总额,1))*100/REF(总额,1),COLOR9515D5,NODRAW;
三百:="000300$CLOSE",COLORFFAA00,NODRAW;
±幅:=("000300$CLOSE"-REF("000300$CLOSE",1))*100/REF("000300$CLOSE",1)
,COLORFFAA00,NODRAW;
涨:=INDEXADV,COLORRED,NODRAW;
跌:=INDEXDEC,COLORGREEN,NODRAW;
涨跌差:INDEXADV-INDEXDEC,COLORDDDDDD,NODRAW;
{大盘均线};
M5:MA(INDEXC,5),COLOREE799F;
M10:MA(INDEXC,10),COLOREE799F,DOTLINE;
M20:MA(INDEXC,20),COLOREE5FD1,DOTLINE;
M60:MA(INDEXC,60),COLORWHITE,LINETHICK2;
M120:MA(INDEXC,120),COLORC0C0C0;
M240:MA(INDEXC,240),COLORRED,DOTLINE;
此主题相关图片如下观大盘指标.jpg:
此主题相关图片如下观大盘指标2.jpg:来源:C X H 9 9 .C O M )
- 通达信技术部: 两幅图公式不一样吧,第二个图没有输出,只有绘图
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容