帮我改为通达信选股公式。出现“冲”,买入。

2022-04-05社会156

  VAR1:=CLOSEREF(CLOSE,1) AND CLOSEREF(CLOSE,2);

VARD:=CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR10:=REF(VARF,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR12:=REF(VAR11,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR14:=REF(VAR13,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR16:=REF(VAR15,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR18:=REF(VAR17,1) AND CLOSE=REF(CLOSE,1) AND CLOSE

改好了:

VAR1:=CLOSEREF(CLOSE,1) AND CLOSEREF(CLOSE,2);

VAR2:=REF(VAR1,1) AND CLOSE=REF(CLOSE,2);

VAR3:=REF(VAR2,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR5:=REF(VAR4,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR7:=REF(VAR6,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VAR9:=REF(VAR8,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VARB:=REF(VARA,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);

VARD:=CLOSEVAR1A:REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR

VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;

测试通过!希望能够帮助你!。

相关文章

请高手帮我把这个大智慧指标 改成选股公式

  黄色区域出现‘S’为选股条件,只需以下函数即可: v0:=VOL*(O C H L)/4; A:=EMA(v0,21)/EMA(VOL,21); SY:=A=ref(A,1); var1:=CLOSEREF(CLOSE,1) AND CLOSEREF(CLOSE,2); Var2:=REF(Va...

股市当中有哪些好用的指标,带源码的?

指标不是万能的,不是万能钥匙,灵丹妙药,指标五花八门,林林总总,不计其数。每一类指标只能反映股票运行规律的一个侧面。 我自以为是的适合自己的好用的主图指标如下: DRAWKLINE(H,O,L,C); 涨停1:=(C/REF(C,1))=1.095 AND (C/REF(C,1))=1.105; S...