通达信满仓精确抄底副图/选股公式预警源码
{满仓}
X:=C-REF(MA(C,20),11);
LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16) =0.85 AND C/REF(C,1) 0.905 AND C/REF(C,1) 1.05 AND VOL/CAPITAL*100 5,50,0);
WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;
WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;
BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;
S3:=ABS(BIAS1-BIAS3);
SX:=(S1+S3)/2;
LXL:=IF(SX 0 AND C=LLV(C,5) AND C/REF(C,1) 0.905 AND C/REF(C,1) 1.05 AND VOL/CAPITAL*100 5,-50,0);
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
BOT:=MIN(C0,C1);
DRAWTEXT_FIX(C O,0.01,0.01,0,' 公式网'),COLORWHITE;
HSL:=100*VOL/CAPITAL*X;
CXC:=IF((C-BOT)/C 3/100 AND SUM(HSL,5)/5 1.8,1,0);
VMC:=IF(CXC 0 AND (LXL 0 OR LGL 0),10,0);
满仓:VMC 0,COLORYELLOW;
STICKLINE(满仓,0,0.6,1.8,0),COLORYELLOW;