怎样编写炒股指标

来源:百度知道 编辑:UC知道 时间:2024/07/04 23:33:52
那位大哥能介绍一下怎样用免费的软件编写炒股指标 比如 股价下行CCI指标上行在背离的情况下CCI指标上穿-100谁能帮我编写出来并介绍一下编写方法
谢谢你给我的回答但因为我是个菜鸟刚炒股,我在大智慧经典版里,自编指标的工作栏里粘贴上去以后不通过,请大哥帮忙在检查一下,注明CCI参数是14跪求

操盘线指标公式
bu:=cross(high,SAR(3,1,20));
sel:=cross(SAR(3,1,20),low);
var1:=last(high<SAR(3,1,20));
var2:=last(low>sar(3,1,20));
drawtext(bu,high,'买入');
drawtext(sel,low,'卖出');
drawtext(bu,LOW,'B'),valign0,align1,coloryellow,linethick2; drawtext(sel,HIGH,'S'),valign2,align1,colorgreen,linethick2;
STICKLINE(low>SAR(3,1,20) and isdown,high,open,0.5,1),colorred;
STICKLINE(low>SAR(3,1,20) and isdown,close,open,7.5,1),colorred;
STICKLINE(low>SAR(3,1,20) and isdown,close,low,0.5,1),colorred;
STICKLINE(high<SAR(3,1,20) and isup,high,close,0.5,1),colorcyan;
STICKLINE(high<SAR(3,1,20) and isup,close,open,7.5,1),colorcyan;
STICKLINE(high<SAR(3,1,20) and isup,open,low,0.5,1),colorcyan;
drawflagtext(high<SAR(3,1,20) and high>=ref(high,1),high,'明日突破'+forcast(sar(3,1,20),max(var1,2))+'建议关注');
drawflagtext(high<SAR(3,1,20) and high&