以下是通达信牛市短线见底选股源码(无源码的请下载附件导入)
通达信公式:牛市短线见底选股
VAR3A:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VAR4A:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR5A:=SMA(VAR4A,13,8);
VAR6A:=SMA(VAR3A,21,8);
趋势:=CEILING(SMA(VAR5A,13,8));
X:=趋势-VAR6A<(-65),COLOR00FF00;
VAR2:=100*(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21));
下潜深度:=SMA(VAR2,3,1);
G:=下潜深度<12;
牛市短线见底:X AND G;
|