通达信选股五部曲,五;源码选股贴图)

2016-04-15 22:24:00来源:本站整理浏览:176

如有不明请仔细翻看选股五部曲,一;  排序的问题请自行百度


 

排序


{排序五部曲

参数N,作者没有说明,可以设置为2~30之间,,,或者自行取舍}

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));{WWW.88GS.COM}

买量:=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);XG:选股4>N;

选股


{选股五步曲

参数N,作者没有说明,可以设置为2~30之间,,,或者自行取舍}


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);XG:选股4>N;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式