MACD和KDJ写入一个副图 [博易POBO]
咨询内容:
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG), LINETHICK0, PRECIS2, COLORWHITE;
DEA : EMA(DIFF,MID), LINETHICK0, PRECIS2, COLORYELLOW;
MACD : 2*(DIFF-DEA), LINETHICK0, PRECIS2, COLORMAGENTA;
N:=9; M1:=3; M2:=3; {KDJ指标参数}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K: SMA(RSV,M1,1), LINETHICK0, PRECIS2, COLORWHITE;
D: SMA(K,M2,1), LINETHICK0, PRECIS2, COLORYELLOW;
J: 3*K-2*D, LINETHICK0, PRECIS2, COLORMAGENTA;
STEP:=200;
TOPBOUND:= REFX(HHV(DIFF, STEP), STEP/2);
BTNBOUND:= REFX(LLV(DIFF, STEP), STEP/2);
MIDBOUND:= (TOPBOUND-BTNBOUND);
PARTLINE(1, MIDBOUND*0.8 + BTNBOUND), COLOR333333, POINTDOT;
PARTLINE(1, MIDBOUND*0.5 + BTNBOUND), COLOR333333, POINTDOT;
PARTLINE(1, MIDBOUND*0.2 + BTNBOUND), COLOR333333, POINTDOT;
PARTLINE(1, J*MIDBOUND/100 + BTNBOUND), COLOR333333;
PARTLINE(1, D*MIDBOUND/100 + BTNBOUND), COLOR666666;
PARTLINE(1, K*MIDBOUND/100 + BTNBOUND), COLOR999999;
MACD, COLORSTICK;
PARTLINE(1, DIFF), COLORWHITE;
PARTLINE(1, DEA), COLORYELLOW;
老师你好 我把这个指标放到博易信管家 显示STEP不能用 但在其他博易大师软件可用 请问怎么回事?能改成信管家也能用吗?
MACD和KDJ写入一个副图
LONG:=26; SHORT:=12; MID:=9; {MACD指标参数}DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG), LINETHICK0, PRECIS2, COLORWHITE;
DEA : EMA(DIFF,MID), LINETHICK0, PRECIS2, COLORYELLOW;
MACD : 2*(DIFF-DEA), LINETHICK0, PRECIS2, COLORMAGENTA;
N:=9; M1:=3; M2:=3; {KDJ指标参数}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K: SMA(RSV,M1,1), LINETHICK0, PRECIS2, COLORWHITE;
D: SMA(K,M2,1), LINETHICK0, PRECIS2, COLORYELLOW;
J: 3*K-2*D, LINETHICK0, PRECIS2, COLORMAGENTA;
STEP:=200;
TOPBOUND:= REFX(HHV(DIFF, STEP), STEP/2);
BTNBOUND:= REFX(LLV(DIFF, STEP), STEP/2);
MIDBOUND:= (TOPBOUND-BTNBOUND);
PARTLINE(1, MIDBOUND*0.8 + BTNBOUND), COLOR333333, POINTDOT;
PARTLINE(1, MIDBOUND*0.5 + BTNBOUND), COLOR333333, POINTDOT;
PARTLINE(1, MIDBOUND*0.2 + BTNBOUND), COLOR333333, POINTDOT;
PARTLINE(1, J*MIDBOUND/100 + BTNBOUND), COLOR333333;
PARTLINE(1, D*MIDBOUND/100 + BTNBOUND), COLOR666666;
PARTLINE(1, K*MIDBOUND/100 + BTNBOUND), COLOR999999;
MACD, COLORSTICK;
PARTLINE(1, DIFF), COLORWHITE;
PARTLINE(1, DEA), COLORYELLOW;
老师你好 我把这个指标放到博易信管家 显示STEP不能用 但在其他博易大师软件可用 请问怎么回事?能改成信管家也能用吗?
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 或者麻烦您帮写一个MACD和KDJ在同一个副图的指标 两者显示都是对等均衡的 STEP解决了 用其他字母代替 但是KDJ没有显示画图 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容