五部曲排序(通达信公式 排序副图 源码 测试图)

[复制链接]
查看74 | 回复0 | 2022-6-27 18:05:57 | 显示全部楼层 |阅读模式

 五部曲排序

这是排序公式

{五部曲排序}
个股MSD:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
大盘MSD:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
MSD对比:(个股MSD-大盘MSD);
选股2:MA(V,20)/MA(V,200);
A:=ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*57.3;
选股3:(MA(A,13)/10)-((MA(A,13)/10)*2);
{分析家公式网 WWW.70822.COM 整理}
M:=4;成交:=VOL;VAR1:=成交/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*1.5;
主卖:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)), IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*1.5;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
进出量:=买量+卖量;净流入:=SUM(进出量,M)/100000;市值:=FINANCE(7)*C/100000000;
选股4:净流入/(市值/100);

p2020927433626929.jpg

p2020927433626929.jpg

2020927433050934.rar

2.02 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

2020927433050934.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则