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N);
W:=MOD(NN,8);
J:=BACKSET(ISLASTBAR,5); 来源 程序化久久网
老师麻烦修改指标有几个不能用
NN:=BARSLAST(DATE<>REF(DATE,1))+1;KH:=HHV(NN,300);
QQ:=OPI-REF(OPI,1);
K1:=IF(CLOSE>OPEN&&QQ>=0,QQ,0);
KK1:=IF(CLOSE<OPEN&&QQ<0,QQ,0);
KKK1:=IF(CLOSE=OPEN,QQ*0.5,0);
K2:=IF(CLOSE<OPEN&&QQ>=0,QQ,0);
KK2:=IF(CLOSE>OPEN&&QQ<0,QQ,0);
DO:=SUM(K1,NN)+SUM(KK1,NN)+SUM(KKK1,NN);
KO:=SUM(K2,NN)+SUM(KK2,NN)+SUM(KKK1,NN);
N4:=IF(NN<=10,NN,20);
VK1:=IF(CLOSE>=OPEN,VOL,0);
VK2:=IF(CLOSE<=OPEN,VOL,0);
VDO:=SUM(VK1,N4);
VKO:=SUM(VK2,N4);
VDK:=VDO-VKO;
STICKLINE(VDK>=0,VDK,0,COLORCD3281,0);
STICKLINE(VDK<=0,VDK,0,COLOR8898CD,0);
CC:=SUM(QQ,NN);
W:=MOD(NN,8);
J:=BACKSET(ISLASTBAR,5);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: NN:=BARSLAST(DATE<>REF(DATE,1))+1;KH:=HHV(NN,300);
opi:=amount;
QQ:=OPI-REF(OPI,1);
K1:=IF(CLOSE>OPEN&&QQ>=0,QQ,0);
KK1:=IF(CLOSE<OPEN&&QQ<0,QQ,0);
KKK1:=IF(CLOSE=OPEN,QQ*0.5,0);
K2:=IF(CLOSE<OPEN&&QQ>=0,QQ,0);
KK2:=IF(CLOSE>OPEN&&QQ<0,QQ,0);
DO1:=SUM(K1,NN)+SUM(KK1,NN)+SUM(KKK1,NN);
KO:=SUM(K2,NN)+SUM(KK2,NN)+SUM(KKK1,NN);
N4:=IF(NN<=10,NN,20);
VK1:=IF(CLOSE>=OPEN,VOL,0);
VK2:=IF(CLOSE<=OPEN,VOL,0);
VDO:=SUM(VK1,N4);
VKO:=SUM(VK2,N4);
VDK:=VDO-VKO;
STICKLINE(VDK>=0,VDK,0,COLORCD3281,0);
STICKLINE(VDK<=0,VDK,0,COLOR8898CD,0);
CC:=SUM(QQ,NN);
W:=MOD(NN,8);
J:=BACKSET(ISLASTBAR,5); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容