机会来临副图/选股预警 源码 通达信 测试图
ZQX:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100;
SQX:=MA(LOW,20)*1.2;
次SQX:=MA(LOW,20)*1.1;
次下趋势:=MA(HIGH,20)*0.9;
下趋势:=MA(HIGH,20)*0.8;
趋势强度:=IF(C>次SQX,IF(C>SQX,4,3),IF(C>次下趋势 AND C<次SQX,2,IF(C<下趋势,0,1)));
M:=88;
VARR_X1:=EMA(AMOUNT/VOL/100,3);
低吸伏击:=EMA(VARR_X1,M)*0.85,COLORFFFF00;
距底:=(C-低吸伏击)/低吸伏击*100;
N:=34;
K:=3;
POIU:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),K)/4;
QWERB:=POIU<2;
机会:趋势强度<=1 AND ZQX<12 AND 距底>0 AND 距底<5 AND QWERB;