请老师帮我把这个指标改成只要数字,谢谢 [文华财经]
- 咨询内容:
- 咨询内容:
- 咨询内容:HHHH:=HHV(H,89),COLOR53FF53,LINETHICK2;
LLLL:=LLV(L,89),COLORWHITE,LINETHICK2;
VAR1:=(HHHH-LLLL);
HL809:=HHHH-VAR1*0.191,COLOR3399FF,LINETHICK2;
HL618:=HHHH-VAR1*0.382,CIRCLEDOT,COLORWHITE;
HL500:=HHHH-VAR1*0.500,COLORYELLOW,LINETHICK2;
HL382:=HHHH-VAR1*0.618,CIRCLEDOT,COLORFF00FF;
HL191:=HHHH-VAR1*0.809,COLOR0000FF;
DRAWNUMBER1(ISLASTBAR,HL809,HL809,0),COLORRED,ALIGN0;
DRAWNUMBER1(ISLASTBAR,HL618,HL618,0),COLORYELLOW,ALIGN0;
DRAWNUMBER1(ISLASTBAR,HL500,HL500,0),COLORWHITE,ALIGN0;
DRAWNUMBER1(ISLASTBAR,HL382,HL382,0),COLORYELLOW,ALIGN0;
DRAWNUMBER1(ISLASTBAR,HL191,HL191,0),COLORGREEN,ALIGN0;
DRAWNUMBER1(ISLASTBAR,HHHH,HHHH,0),COLOR53FF53,ALIGN0;
DRAWNUMBER1(ISLASTBAR,LLLL,LLLL,0),COLORWHITE,ALIGN0;
DRAWTEXT(ISLASTBAR,HL809,'压力------'),COLORRED;
DRAWTEXT(ISLASTBAR,HL618,'了解------'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,HL500,'关键------'),COLORWHITE;
DRAWTEXT(ISLASTBAR,HL382,'回档------'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,HL191,'支撑------'),COLORGREEN;
DRAWTEXT(ISLASTBAR,HHHH,'高点-------'),COLOR53FF53;
DRAWTEXT(ISLASTBAR,LLLL,'低点-------'),COLORWHITE;
此主题相关图片如下:baidushurufa_2015-2-4_8-39-45.png
我的意思在我画的红圈区域内显示压力,了解,关键,回档,支撑,高点,低点的数据,而不要在主图上显示画线。谢谢
- 文华技术人员:
参考:
另外,您的版本太旧了,请帮助——升级到最新版使用
高点:HHV(H,89),COLOR53FF53,LINETHICK2,NODRAW;
低点:LLV(L,89),COLORWHITE,LINETHICK2,NODRAW;
VAR1:=(高点-低点);
压力:高点-VAR1*0.191,COLOR3399FF,LINETHICK2,NODRAW;
了解:高点-VAR1*0.382,CIRCLEDOT,COLORWHITE,NODRAW;
关键:高点-VAR1*0.500,COLORYELLOW,LINETHICK2,NODRAW;
回档:高点-VAR1*0.618,CIRCLEDOT,COLORFF00FF,NODRAW;
支撑:高点-VAR1*0.809,COLOR0000FF,NODRAW;
DRAWNUMBER1(ISLASTBAR,压力,压力,0),COLORRED,ALIGN0;
DRAWNUMBER1(ISLASTBAR,了解,了解,0),COLORYELLOW,ALIGN0;
DRAWNUMBER1(ISLASTBAR,关键,关键,0),COLORWHITE,ALIGN0;
DRAWNUMBER1(ISLASTBAR,回档,回档,0),COLORYELLOW,ALIGN0;
DRAWNUMBER1(ISLASTBAR,支撑,支撑,0),COLORGREEN,ALIGN0;
DRAWNUMBER1(ISLASTBAR,高点,高点,0),COLOR53FF53,ALIGN0;
DRAWNUMBER1(ISLASTBAR,低点,低点,0),COLORWHITE,ALIGN0; - 文华客服:
只显示了四条线,我的想法是在主图上方显示例如压力:3631 回档:3623这种,还是用几种颜色显示,我是用的黑色底色,不需要画线
此主题相关图片如下:baidushurufa_2015-2-4_9-11-14.png
- 网友回复:
高点:HHV(H,89),COLOR53FF53,NODRAW;
低点:LLV(L,89),COLORWHITE,NODRAW;
VAR1:=(高点-低点);
压力:高点-VAR1*0.191,COLOR3399FF,NODRAW;
了解:高点-VAR1*0.382,COLORWHITE,NODRAW;
关键:高点-VAR1*0.500,COLORYELLOW,NODRAW;
回档:高点-VAR1*0.618,COLORFF00FF,NODRAW;
支撑:高点-VAR1*0.809,COLOR0000FF,NODRAW;
- 网友回复:
此主题相关图片如下:baidushurufa_2015-2-4_8-39-45.png
太大了,显示不完只能显示6个,请老师再改改,还有就是能不能把它显示在我画的红圈区域内,而不是显示在第一行,谢谢
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容