一目均衡图中的云带后移问题 [文华财经]
- 咨询内容:
老师好!我在一目均衡图插入了两行代码,基本上实现了云带的后移,但是怎样把柱线画到后移的云带中,请老师指导。谢谢!
AA:=(HHV(HIGH,120)-LLV(LOW,120))/30;VAR1:=(2*CLOSE+HIGH+LOW)/4;转换线:(HHV(HIGH,9)+LLV(LOW,9))/2,LINETHICK2;基准线:(HHV(HIGH,26)+LLV(LOW,26))/2,LINETHICK2,COLORYELLOW;先行带A:(转换线+基准线)/2,DOT;先行带B:(HHV(HIGH,52)+LLV(LOW,52))/2,DASHDOTDOT;REF(先行带A,26),DOT;REF(先行带B,26),DASHDOTDOT; STICKLINE1(先行带A>先行带B,先行带A,先行带B,0.1,-1),COLORRED,DOT; STICKLINE1(先行带A<先行带B,先行带A,先行带B,0.1,-1),COLORCYAN,DASH;延迟线:REFX(CLOSE,26),LINETHICK2,RGB(255,128,64); 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;
文件名:云图3.png
- 文华技术人员:
参考:AA:=(HHV(HIGH,120)-LLV(LOW,120))/30;VAR1:=(2*CLOSE+HIGH+LOW)/4;转换线:(HHV(HIGH,9)+LLV(LOW,9))/2,LINETHICK2;基准线:(HHV(HIGH,26)+LLV(LOW,26))/2,LINETHICK2,COLORYELLOW;先行带A:(转换线+基准线)/2,DOT;先行带B:(HHV(HIGH,52)+LLV(LOW,52))/2,DASHDOTDOT;REF(先行带A,26),DOT;REF(先行带B,26),DASHDOTDOT;STICKLINE1(先行带A>先行带B,REF(先行带A,26),REF(先行带B,26),0.1,-1),COLORRED,DOT; STICKLINE1(先行带A<先行带B,REF(先行带A,26),REF(先行带B,26),0.1,-1),COLORCYAN,DASH;延迟线:REFX(CLOSE,26),LINETHICK2,RGB(255,128,64); 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;
- 文华客服:
能否用FILLRGN函数替代下列公式?
STICKLINE1(先行带A>先行带B,REF(先行带A,26),REF(先行带B,26),0.1,-1),COLORRED,DOT; STICKLINE1(先行带A<先行带B,REF(先行带A,26),REF(先行带B,26),0.1,-1),COLORCYAN,DASH; - 网友回复:
FILLRGN是条件满足时,填充某一区域
STICKLINE1 在图形上画柱线
您是要求填充满足条件的区域代替画柱线?
若果是,请参考:FILLRGN(先行带A>先行带B,REF(先行带A,26),REF(先行带B,26),COLORRED);FILLRGN(先行带A<先行带B,REF(先行带A,26),REF(先行带B,26),COLORCYAN);
- 网友回复: 是这意思。但安装后发现有些部分不能完整填充。比如L1701合约K图 在9月26日-27日,30日位置,请核查。
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容