您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

L2大单进出监控,股价趋势由空翻多指标 公式 源码[同花顺公式]

指标公式源码分析及使用参考说明:

 

这段代码是一个股票分析指标的计算程序,其中包括了多个技术指标的计算和图表显示的操作。以下是对这段代码的分析和总结:
 
 指标创建思路:
 
1. 获利盘(WINNER):以收盘价为基础,计算获利盘的指标。
2. 角度:以开盘价和收盘价的差值为基础,计算股价变动的角度。
3. 换手率:根据成交量和总市值计算换手率。
4. 底部指标:综合利用多个周期的均线和价格变动率,判断股票是否处于底部。
 
 具体指标使用参考说明:
 
1. 获利盘:可以用于判断市场的买卖情况,当获利盘指标高时,表示市场处于多头行情;当获利盘指标低时,表示市场处于空头行情。
2. 角度:用于衡量股价变动的速度和幅度,可以帮助判断趋势的强弱。
3. 换手率:换手率高低反映了市场的活跃程度,可以作为判断市场情绪的指标之一。
4. 底部指标:当底部指标显示股票处于底部时,可能是买入信号,表示股票已经下跌到较低水平,具备一定的投资价值。
 
这些指标可以单独使用,也可以结合其他技术分析方法一起使用,以辅助决策。在实际使用时,应根据市场情况和个人投资策略进行灵活运用,同时结合其他指标和技术分析方法进行综合分析。
 
 注意事项:
 
1. 指标的准确性和有效性受多种因素影响,包括市场环境、个股特性等,不能单一依赖指标进行决策。
2. 在使用指标时,应注意及时更新数据,及时调整参数,以适应市场变化。
3. 技术指标只是辅助决策的工具之一,投资决策还应综合考虑基本面分析、市场情绪等因素。
 
综合以上,建议在实际操作中结合多种分析方法,谨慎使用指标,合理制定投资策略,降低投资风险。

 

源码:

 


 

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或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容