股神提示指标 公式 源码[其他软件公式]
指标公式源码分析及使用说明参考:
源码:
CXH1:= "dmi.pdi"(12,6);
CXH2:= "dmi.mdi"(12,6);
CXH3:= CXH1>65 and CXH1>ref(CXH1,1);
CXH4:= llv(CXH1,0);
CXH5:= barslast(CXH4=CXH1);
CXH6:= (0-ref(CXH2,4))/(CXH4-ref(CXH2,CXH5))>2;
CXH7:= CXH1>ref(CXH1,1);
CXH8:= vol>2*ma(vol,30);
CXH9:= "dmi.adx"(12,6);
CXHa:= "dmi.adxr"(12,6);
CXHb:= close>ma(close,30) and close<ma(close,30)*1.04;
CXHc:= ma(close,30)>ref(ma(close,30),1);
CXHd:= barslast(cross(ma(close,5),ma(close,10)))<barslast(cross(ma(close,10),ma(close,5)));
CXHe:= 0-"macd.diff"(7,21,3);
CXHf:= troughbars(3,15,1)<4;
CXH10:= ema(close,30)>ref(ema(close,30),2);
CXH11:= if(CXHf=1,50,0);
CXH12:= cross(CXH2,CXH1) and cross(CXHa,CXH9);
CXH13:= cross(CXH2,CXH1) and cross(CXH9,CXHa);
CXH14:= CXHb and CXHc and CXHd and CXH10 and CXH6 and CXH7 and CXH8*50;
CXH15:= barslast(cross(CXH2,CXH1)=1);
CXH16:= barslast(cross(CXH1,CXH2)=1);
CXH17:= hhv(CXH1,CXH16);
CXH18:= barslast(CXH1=CXH17);
多空: ema((close-ma((2*close+high+low)/4,30))/ma((2*close+high+low)/4,30)*100,3),linethick0,colorwhite;
0,colorred;
stickline(filter(CXHf=1,5) and 多空<(-10),50,0,5,0),colorred;
stickline(filter(CXHf=1,5),50,0,5,0),colorred;
CXH19:= CXH3 or CXH12 or CXH13*100;
CXH1a:= CXH13*100;
drawicon(filter(CXHf=1,3),50,1),colorffff00;
drawtext(filter(CXHf=1,3),25,'股神提示'),coloryellow;
stickline(多空<(-10),0,多空,1,0),coloryellow;
stickline(多空>10,0,多空,1,0),coloryellow;
{分析家公式网提示:观赏指标,不能用于实站}
{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容