以下是通达信底部选股指标源码(无源码的请下载附件导入)
PP:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
MM:=IF(CLOSE>OPEN,PP*(HIGH-LOW),IF(CLOSE<OPEN,PP*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
M:=MM/10000;
NN:=IF(CLOSE>OPEN,0-PP*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-PP*(HIGH-LOW),0-VOL/2));
N:=NN/10000;
NB:=-M/N;
E:=NB>=10;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(B,3)+100;
A:=CROSS(D,10);
XG:A AND E;
726377717.jpg
|