超级组合顶底之强势选股指标公式

D1:="wr.WR1"<5;

D2:=crOSS("kdj.K","kdJ.D") AND "KDJ.K"<50;

D3:=CROSS("macd.DIF","MacD.DEA");

D4:="cci.CCI">-100 AND "CCI.CCI"<-90;

D5:=CROSS("rsi.RSI1","RSI.RSI2")AND "RSI.RSI1"<50;

S1:=20;

M2:=40;

L1:=60;

AAA:=CLOSE>OPEN;

BBB:=AAA&&CLOSE>MA(CLOSE,S1)&&CLOSE>MA(CLOSE,M2)&&CLOSE>MA(CLOSE,L1);

CCC:=BBB&&OPEN<MA(CLOSE,M2)&&OPEN<MA(CLOSE,L1);

XG1:=CCC&&(CLOSE-OPEN)>0.0618*CLOSE;

AA1:=D1 AND D2;

AA2:=D2 AND D3;

AA3:=D1 AND D3;

XG2:=AA1 OR AA2 OR AA3;

强势:IF(XG1 AND XG2,1,0);