改进的庄家存货公式 指标 选股 源码[其他软件公式]
指标公式源码分析及使用说明参考:
源码:
{改进的庄家存货
www.cxh99.com}
N:=3;
CXH1:=1.13;
CXH3:=LLV(HIGH,318);
CXH4:=100*(CLOSE-CXH3)/CXH3*CXH1;
CXH5:=REF(LLV(CLOSE,610),1)*CXH1;
CXH6:=REF(HHV(CLOSE,610),1)*CXH1;
CXH7:=100*(CLOSE-CXH5)/(CXH6-CXH5)*CXH1;
CXH8:=(CLOSE-LLV(CLOSE,880))/(HHV(CLOSE,880)-LLV(CLOSE,880))*100*CXH1;
CXH9:=(CLOSE-LLV(CLOSE,318))/(HHV(CLOSE,318)-LLV(CLOSE,318))*100*CXH1;
CXHA:=(CLOSE-LLV(LOW,880))/(HHV(HIGH,880)-LLV(LOW,880))*100*CXH1;
CXHB:=(CLOSE-LLV(LOW,318))/(HHV(HIGH,318)-LLV(LOW,318))*100*CXH1;
CXHC:=EMA(100*(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144)),5)/4*CXH1;
CXHD:=IF(CXHC>13.16,CXHC,0)*CXH1;
CXHE:=CXHC<1*CXH1;
CXHF:=CXHD*CXH1;
CXH10:=CXH4<0 AND CXH7<0;
CXH11:=1;
CXH12:=(HIGH+LOW+CLOSE*2)/4*CXH11;
CXH13:=EMA(CXH12,34);
CXH14:=STD(CXH12,34);
CXH15:=((CXH12-CXH13)/CXH14*100+200)/4*CXH11;
CXH16:=(EMA(CXH15,89)-25)*1.56*CXH11;
CXH17:=EMA(CXH16,5)*1.22*CXH11;
CXH18:=EMA(CXH17,3)*CXH11;
CXH19:=3*CXH17-2*CXH18*CXH11;
CXH1A:=IF(CROSS(CXH19,CXH17) AND CROSS(CXH19,CXH18) AND CROSS(CXH17,CXH18),1,0);
CXH1B:=IF(CROSS(CXH17,CXH19) AND CROSS(CXH18,CXH19) AND CROSS(CXH18,CXH17),1,0);
买点:= IF(FILTER(CXH8=0 AND CXHE AND CXH10 AND CXH1A,5)=1,10,0);
卖点:= IF(FILTER(CXH8=100 AND CXHF AND CXH1B,5)=1,10,0);
CXH1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*CXH1;
CXH1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*CXH1;
CXH1E:=EMA(CXH1D,21)*CXH1;
CXH1F:=2*(CXH1D-CXH1E)*10*CXH1;
CXH20:=POW(CXH1F,3)*0.1+POW(CXH1F,2)*CXH1;
CXH21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
CXH22:=EMA(CXH21*0.97,3)*CXH1;
CXH23:=(HIGH+LOW+CLOSE)/3*CXH1;
CXH24:=(CXH23-MA(CXH23,14))/(0.015*AVEDEV(CXH23,14))*CXH1;
CXH25:=IF(CXH1F>0.013,CXH20,0)/34*CXH1;
拉升资金: CXH25*5,COLORRED,LINETHICK2;
CXH26:=EMA(CLOSE,3)-EMA(CLOSE,144);
CXH27:=EMA(CXH26,55);
CXH28:=2*(CXH26-CXH27);
CXH29:=POW(CXH28,3)*0.1+POW(CXH28,1);
CXH2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
CXH2B:=EMA(CXH2A*0.97,3);
CXH2C:=(HIGH+LOW+CLOSE)/3;
CXH2D:=(CXH2C-MA(CXH2C,14))/(0.015*AVEDEV(CXH2C,14));
主力资金: IF(CXH28>0.01,CXH29*200,-100),LINETHICK2,COLORYELLOW;
STICKLINE(CXH25>0,0,拉升资金,2,1),COLORRED;
N1:=13;
N2:=5;
MTM:=C-REF(C,1);
ZLGJ:=MA(100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),2),COLORWHITE;
MAZL:=MA(MA(ZLGJ,N2),3),COLORYELLOW;
DRAWICON(CROSS(ZLGJ,MAZL) AND MA(C,5)>=REF(MA(C,5),1) AND MA(C,2)>=REF(MA(C,2),1),MA(拉升资金,5),9);
DRAWICON(CROSS(MAZL,ZLGJ) AND MA(C,5)<REF(MA(C,5),1) ,MA(拉升资金,5),2);
A1:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
BL:=VOL/CAPITAL*100;
STICKLINE(A1>=0,0,A1*50,1,1),COLORYELLOW;
A1Q:=34;
实体比例:=(CLOSE-OPEN)/REF(CLOSE,1);
冲击系数:=MA(实体比例,A1Q),COLORRED;
回头线:=MA(MA(冲击系数,2),2),COLORYELLOW;
DRAWICON(CROSS(冲击系数,回头线) AND MA(C,5)>=REF(MA(C,5),1) ,MA(拉升资金,5),1);{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容