L2大单进出监控,股价趋势由空翻多指标 公式 源码[同花顺公式]
指标公式源码分析及使用参考说明:
源码:
N:=27;N2:=9;N3:=3;N4:=16;
CXH1:=IF(DATE>=1030131,1,1);
CXH2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
获利盘:WINNER(CLOSE)*100*CXH1;
CXH3:=SMA(CXH2,3,1)*CXH1;
CXH4:=SMA(CXH3,N2,1)*CXH1;
CXH5:=3*CXH3-2*CXH4*CXH1;
CXH6:=VOL*CXH1;
//www.cxh99.com
角度:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*CXH1;
换手: VOL/CAPITAL*100*CXH1;
CXH7:=SUM(换手,30)*CXH1;
CXH8:=LLV(INDEXL,5)*CXH1;
CXH9:=HHV(INDEXH,5)*CXH1;
CXHA:=EMA((INDEXC-CXH8)/(CXH9-CXH8)*100,4);
CXHB:=MA(EMA(0.667*REF(CXHA,1)+0.333*CXHA,2),9);
CXHC:=MA(CXHB,30);
CXHD:=EMA(获利盘,4)*CXH1;
本盘亿股: CAPITAL/1000000;
V5: MA(VOL,5)*2*CXH1;
//www.cxh99.com
V13: MA(VOL,13)*2*CXH1;
CROSS(CXHB,CXHC) AND CXHC<29*CXH1;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,9,0),color000055;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,8,0),color000066;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,7,0),color000077;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,6,0),color000088;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,5,0),color000099;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,4,0),color0000aa;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,3,0),color0000bb;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,2,0),color0000cc;
STICKLINE(VOL AND CXH5>CXH4,0,VOL,1,0),color0000dd;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,9,0),colorFF1100;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,8,0),colorFF2200;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,7,0),colorFF3300;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,6,0),colorFF4400;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,5,0),colorFF5500;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,4,0),colorFF6600;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,3,0),colorFF7700;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,2,0),colorFF8800;
STICKLINE(VOL AND CXH5<CXH4,0,VOL,1,0),colorFF9900;
STICKLINE(VOL AND CXH4<N4,0,VOL,9,0),color333333;
STICKLINE(VOL AND CXH4<N4,0,VOL,8,0),color444444;
STICKLINE(VOL AND CXH4<N4,0,VOL,7,0),color555555;
STICKLINE(VOL AND CXH4<N4,0,VOL,6,0),color666666;
STICKLINE(VOL AND CXH4<N4,0,VOL,7,0),color777777;
STICKLINE(VOL AND CXH4<N4,0,VOL,6,0),color888888;
STICKLINE(VOL AND CXH4<N4,0,VOL,5,0),color999999;
STICKLINE(VOL AND CXH4<N4,0,VOL,4,0),coloraaaaaa;
STICKLINE(VOL AND CXH4<N4,0,VOL,3,0),colorbbbbbb;
STICKLINE(VOL AND CXH4<N4,0,VOL,2,0),colorcccccc;
STICKLINE(VOL AND CXH4<N4,0,VOL,1,0),colordddddd;
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
抛压:STICKLINE(CROSS(84,RSI),0 ,VOL,9,0),COLORFF0033;
STICKLINE(CROSS(84,RSI),0 ,VOL,8,0),COLORFF0044;
STICKLINE(CROSS(84,RSI),0 ,VOL,7,0),COLORff0055;
STICKLINE(CROSS(84,RSI),0 ,VOL,6,0),COLORff0066;
STICKLINE(CROSS(84,RSI),0 ,VOL,5,0),COLORff0077;
STICKLINE(CROSS(84,RSI),0 ,VOL,4,0),COLORFF0088;
STICKLINE(CROSS(84,RSI),0 ,VOL,3,0),COLORff0099;
STICKLINE(CROSS(84,RSI),0 ,VOL,2,0),COLORff00aa;
STICKLINE(CROSS(84,RSI),0 ,VOL,1,0),COLORff00bb;
CXH13:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
CXH14:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
CXH15:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
CXH16:=(CXH13+CXH14+CXH15)/3;
CXH18:=IF(CXH16<=-20,10,0);
CXH19:=HHV(CXH18,10);
CXH20:=IF(CXH19 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
底部:STICKLINE(CXH20=20,0 ,VOL,9,0),COLOR005555;
STICKLINE(CXH20=20,0 ,VOL,8,0),COLOR006666;
STICKLINE(CXH20=20,0 ,VOL,7,0),COLOR007777;
STICKLINE(CXH20=20,0 ,VOL,6,0),COLOR008888;
STICKLINE(CXH20=20,0 ,VOL,5,0),COLOR009999;
STICKLINE(CXH20=20,0 ,VOL,4,0),COLOR00aaaa;
STICKLINE(CXH20=20,0 ,VOL,3,0),COLOR00bbbb;
STICKLINE(CXH20=20,0 ,VOL,2,0),COLOR00CCCC;
STICKLINE(CXH20=20,0 ,VOL,2,0),COLOR00dddd;
CXHE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CXHF:=100-3*SMA((CLOSE-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1),15,1);
CXH100:=100-3*SMA((OPEN-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1),15,1);
CXH111:=CXHF<REF(CXH100,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
大资金活动:STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,9,0),COLOR006600;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,8,0),COLOR007700;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,7,0),COLOR008800;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,6,0),COLOR009900;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,5,0),COLOR00aa00;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,4,0),COLOR00BB00;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,3,0),COLOR00CC00;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,2,0),COLOR00DD00;
STICKLINE(CXH111 AND COUNT(CXH111,30)=1,0 ,VOL,1,0),COLOR00EE00;
A8:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
B8:=A8*(1+ ((C+O+H+L)/4-SMA(C,10,1))/SMA(C,21,1));
D8:=A8+3*STD(A8,10);
DRAWICON(CROSS(B8,A8) AND A8>REF(A8,1) AND D8>REF(D8,1),0,1);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容