把“每天5%”公式改成TDX的
2020/2/21 17:53:31
公式编写说明:
请老师把飞狐“每天5%”公式改成TDX的,谢谢~源码:ZJ:EMA(C,13),COLOR0000FF;HY:EMA(C,20),COLORFF00FF;PARTLINE(ZJ>REF(ZJ,1),ZJ),COLORRED,LINETHICK2;PARTLINE(ZJ<=REF(ZJ,1),ZJ),COLORBLUE,LINETHICK2;PARTLINE(HY>REF(HY,1),HY),COLORFF00FF,LINETHICK2;PARTLINE(HY<REF(HY,1),HY),COLORFFAA00,LINETHICK2;STICKLINE(CLOSE>ZJ,HIGH,L,0.1,0),COLORRED;STICKLINE(CLOSE>ZJ,C,OPEN,4,0),COLORRED;STICKLINE(CLOSE=ZJ,H,L,2,0),COLORFFFFFF;STICKLINE(CLOSE<ZJ,H,L,0.1,0),COLOR00FFFF;STICKLINE(CLOSE<ZJ,O,C,4,0),COLOR00FFFF;STICKLINE(CLOSE<HY,OPEN,CLOSE,4,0),COLORFFFF00;STICKLINE(CLOSE<HY,HIGH,L,0.1,0),COLORCYAN;
公式源码示例:
ZJ:EMA(C,13),COLOR0000FF;
HY:EMA(C,20),COLORFF00FF;
IF(ZJ>REF(ZJ,1),ZJ,DRAWNULL),COLORRED,LINETHICK2;
IF(ZJ<=REF(ZJ,1),ZJ,DRAWNULL),COLORBLUE,LINETHICK2;
IF(HY>REF(HY,1),HY,DRAWNULL),COLORFF00FF,LINETHICK2;
IF(HY<REF(HY,1),HY,DRAWNULL),COLORFFAA00,LINETHICK2;
STICKLINE(CLOSE>ZJ,HIGH,L,0.1,0),COLORRED;
STICKLINE(CLOSE>ZJ,C,OPEN,4,0),COLORRED;
STICKLINE(CLOSE=ZJ,H,L,2,0),COLORFFFFFF;
STICKLINE(CLOSE<ZJ,H,L,0.1,0),COLOR00FFFF;
STICKLINE(CLOSE<ZJ,O,C,4,0),COLOR00FFFF;
STICKLINE(CLOSE<HY,OPEN,CLOSE,4,0),COLORFFFF00;
STICKLINE(CLOSE<HY,HIGH,L,0.1,0),COLORCYAN;
看股吧公 式 www.kanguba.co m
其它股票公式列表