【资料名称】:优化过的一目均衡表介绍【资料描述】:
优化过的一目均衡表
我的思路是把现在的价格在26天后用先行带表现出来,也就是说表达在界面的右边,就像外汇的右边一样,只可惜通达信没找到这个函数。
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;
gd31489
【下载地址隐藏】: 点:回复可见地址