STICKLINE 请帮改编一个附图 [文华财经]
- 咨询内容:
源码:
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,5);MAOBV2:=MA(OBV,30);
MAOBV30:=MAOBV2;
STICKLINE((OBV>=MAOBV),MAOBV,OBV,1,1),COLORLIRED;
STICKLINE(((OBV>=MAOBV) AND (OBV < REF(OBV,1))),MAOBV,OBV,1,0),COLORLIRED;
STICKLINE((OBV<MAOBV),MAOBV,OBV,1,0),COLORCYAN;
STICKLINE(((OBV<MAOBV) AND (OBV > REF(OBV,1))),MAOBV,OBV,1,1),COLORCYAN;
STICKLINE((OBV>=MAOBV30),MAOBV30,OBV,1,1),COLORRED;
STICKLINE(((OBV>=MAOBV30) AND (OBV < REF(OBV,1))),MAOBV30,OBV,1,0),COLORRED;
STICKLINE((OBV<MAOBV30),MAOBV30,OBV,1,0),COLORCYAN;
STICKLINE(((OBV<MAOBV30) AND (OBV > REF(OBV,1))),MAOBV30,OBV,1,1),COLORCYAN;
{DRAWICON(CROSS(OBV,MAOBV30),MAOBV30,1);}MAOBVA:MA(OBV,3);
MAOBVB:MA(OBV,7);
MAOBVC:MA(OBV,30);
DRAWICON(CROSS(MAOBVA,MAOBVC),MAOBVB,1);
DRAWICON(CROSS(OBV,MAOBVB) AND OBV>=HHV(OBV,30),MAOBVB,5); - 文华技术人员:
您是要把这个指标的效果改成什么样的呢?请详细说明,方能帮您编写。
- 文华客服:
此主题相关图片如下:666666.gif
这是通达信的一个附图,改为相同的 - 网友回复:
为您修改如下:
VA:IFELSE(CLOSE>REF(CLOSE,1),VOL,-VOL),NODRAW;
OBV:SUM(IFELSE(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,5);
MAOBV2:=MA(OBV,30);
MAOBV30:=MAOBV2;
STICKLINE((OBV>=MAOBV),MAOBV,OBV,COLORRED,1);
STICKLINE(((OBV>=MAOBV) AND (OBV < REF(OBV,1))),MAOBV,OBV,COLORRED,0);
STICKLINE((OBV<MAOBV),MAOBV,OBV,COLORCYAN,0);
STICKLINE(((OBV<MAOBV) AND (OBV > REF(OBV,1))),MAOBV,OBV,COLORCYAN,1);
STICKLINE((OBV>=MAOBV30),MAOBV30,OBV,COLORRED,1);
STICKLINE(((OBV>=MAOBV30) AND (OBV < REF(OBV,1))),MAOBV30,OBV,COLORRED,0);
STICKLINE((OBV<MAOBV30),MAOBV30,OBV,COLORCYAN,0);
STICKLINE(((OBV<MAOBV30) AND (OBV > REF(OBV,1))),MAOBV30,OBV,COLORCYAN,1);MAOBVA:MA(OBV,3);
MAOBVB:MA(OBV,7);
MAOBVC:MA(OBV,30);
DRAWICON(CROSS(MAOBVA,MAOBVC),MAOBVB,'IC01');
DRAWICON(CROSS(OBV,MAOBVB) AND OBV>=HHV(OBV,30),MAOBVB,'IC05');仅供参考。
- 网友回复: 谢谢老师
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容