优化一目均衡图主图通达信指标公式源码 [通达信]
-
咨询内容:
AA:=(HHV(HIGH,120)-LLV(LOW,120))/30;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
转换线:(HHV(HIGH,9)+LLV(LOW,9))/2;
基准线:(HHV(HIGH,26)+LLV(LOW,26))/2;
先行带A:(转换线+基准线)/2;
先行带B:(HHV(HIGH,52)+LLV(LOW,52))/2;
STICKLINE(先行带A>先行带B,先行带A,先行带B,0.1,-1),COLORLIRED;
STICKLINE(先行带A<先行带B,先行带A,先行带B,0.1,-1),COLORLICYAN;
延迟线:REFX(CLOSE,26);TL11:=REF(转换线,1)=REF(基准线,1) AND 转换线>基准线;
DRAWTEXT(CROSS(转换线,基准线) AND VAR1<MIN(先行带A,先行带B),MIN(基准线,LOW)*0.995,'▲'),COLORRED;DRAWTEXT(CROSS(转换线,基准线) AND RANGE(VAR1,MIN(先行带A,先行带B),MAX(先行带A,先行带B)),LOW*0.995,'▲▲'),COLORRED;
DRAWTEXT(CROSS(转换线,基准线) AND VAR1>MAX(先行带A,先行带B),L*0.95,'▲▲▲'),COLORRED;
DRAWTEXT(TL11 AND VAR1>MAX(先行带A,先行带B),L*0.95,'▲▲▲'),COLORRED;
DRAWTEXT(CROSS(基准线,转换线) AND VAR1<MIN(先行带A,先行带B),MAX(基准线,HIGH)+AA*2,'▼▼▼'),COLORBLUE;DRAWTEXT(CROSS(基准线,转换线) AND RANGE(VAR1,MIN(先行带A,先行带B),MAX(先行带A,先行带B)),MAX(基准线,HIGH)+AA,'▼▼'),COLORBLUE;
DRAWTEXT(CROSS(基准线,转换线) AND VAR1>MAX(先行带A,先行带B),MAX(基准线,HIGH)+AA,'▼'),COLORBLUE;http://www.gushow.com/plus/view.php?aid=3164
此主题相关图片如下1_131028154418_1.png:
下载信息 [文件大小: 下载次数: ]点击浏览该文件:1-13102q54341.rar - 通达信技术部: 看不懂,但是好像很厉害的样子
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容