6K看盘”西北瑶风版“主图 源码 贴图 通达信

T1:=IF(PERIOD=1,BARSLAST(TIME2=095000),DRAWNULL);
T2:=IF(PERIOD=1,BARSLAST(TIME2=094500),DRAWNULL);
T3:=IF(PERIOD=1,BARSLAST(TIME2=100000),DRAWNULL);
C2:=REF(C,T2);
C3:=REF(C,T3);
ZF:=(C3-C2)/C2*100;
XF:=REFX(ZF,2);
HH:=HHV(H,3);
LL:=LLV(L,3);
XH:=REFX(HH,2);
XL:=REFX(LL,2);
XC:=REFX(C,2);
DRAWLINE(T1=0 AND O<XC,XH,T3=0 AND C>REF(O,T1),HH,0),DOTLINE,COLORMAGENTA;
DRAWLINE(T1=0 AND O>XC,XH,T3=0 AND C<REF(O,T1),HH,0),DOTLINE,COLORGREEN;
DRAWLINE(T1=0 AND O=XC,XH,T3=0 AND C=REF(O,T1),HH,0),DOTLINE,COLORWHITE;
DRAWLINE(T1=0 AND O<XC,XL,T3=0 AND C>REF(O,T1),LL,0),DOTLINE,COLORMAGENTA;
DRAWLINE(T1=0 AND O>XC,XL,T3=0 AND C<REF(O,T1),LL,0),DOTLINE,COLORGREEN;
DRAWLINE(T1=0 AND O=XC,XL,T3=0 AND C=REF(O,T1),LL,0),DOTLINE,COLORWHITE;
STICKLINE(T1=0 AND O<XC,XH,XL,0,-1),COLORMAGENTA;
STICKLINE(T3=0 AND C>REF(O,T1),HH,LL,0,-1),COLORMAGENTA;
STICKLINE(T1=0 AND O>XC,XH,XL,0,-1),COLORGREEN;
STICKLINE(T3=0 AND C<REF(O,T1),HH,LL,0,-1),COLORGREEN;
STICKLINE(T1=0 AND O=XC,XH,XL,0,-1),COLORWHITE;
STICKLINE(T3=0 AND C=REF(O,T1),HH,LL,0,-1),COLORWHITE;
DRAWTEXT(T1=0,XH*1.005,VARCAT(VARCAT('三K涨跌幅:',VAR2STR(XF,2)),'%'))COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:REFX

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

T1赋值:IF(周期类型=1,上次TIME2=095000距今天数,DRAWNULL)

T2赋值:IF(周期类型=1,上次TIME2=094500距今天数,DRAWNULL)

T3赋值:IF(周期类型=1,上次TIME2=100000距今天数,DRAWNULL)

C2赋值:T2日前的C

C3赋值:T3日前的C

ZF赋值:(C3-C2)/C2*100

XF赋值:REFX(ZF,2)

HH赋值:3日内H最高值

LL赋值:3日内L最低值

XH赋值:REFX(HH,2)

XL赋值:REFX(LL,2)

XC赋值:REFX(C,2)

DRAWLINE(T1=0 AND OT1日前的O,HH,0),DOTLINE,画洋红色

DRAWLINE(T1=0 AND O>XC,XH,T3=0 AND C
DRAWLINE(T1=0 AND O=XC,XH,T3=0 AND C=T1日前的O,HH,0),DOTLINE,画白色

DRAWLINE(T1=0 AND OT1日前的O,LL,0),DOTLINE,画洋红色

DRAWLINE(T1=0 AND O>XC,XL,T3=0 AND C
DRAWLINE(T1=0 AND O=XC,XL,T3=0 AND C=T1日前的O,LL,0),DOTLINE,画白色
当满足条件T1=0 AND O
STICKLINE(T3=0 AND C>T1日前的O,HH,LL,0,-1),画洋红色
当满足条件T1=0 AND O>XC时,在XH和XL之间画柱状线

STICKLINE(T3=0 AND C当满足条件T1=0 AND O=XC时,在XH和XL之间画柱状线

STICKLINE(T3=0 AND C=T1日前的O,HH,LL,0,-1),画白色

DRAWTEXT(T1=0,XH*1.005,VARCAT(VARCAT('三K涨跌幅:',VAR2STR(XF,2)),'%'))画黄色

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图