VAR1:=IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1));
VAR2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,VAR1)));
VAR3:=IF(MOD(FROMOPEN,VAR2)<0.5,VAR2,MOD(FROMOPEN,VAR2));
VAR4:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),V*(VAR2+3)/(VAR3+3),V);
VAR5:=IF(FINANCE(3)=2,0.3,IF((FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6),0.2,0.1));
VAR6:=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));
VAR7:=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));
VAR8:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND H>0;
VAR9:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND H>0;
VAR23:=REF(VAR8 OR VAR9,1) AND C
VAR25:=BARSLAST(VAR24);
VAR26:=H=C OR (O>=REF(H,1) AND C>O);
VAR27:=H-MAX(O,C)
VAR29:=MAX(O,C)-MIN(O,C)>MIN(O,C)-L AND MAX(O,C)-MIN(O,C)>H-MAX(O,C);
VAR30:=IF(VAR26,1,IF(L=O,VAR27,IF(H-MAX(O,C)>MIN(O,C)-L,VAR28,IF(L
红钻:破倍阴高 AND EMA(C,5)>=REF(EMA(C,5),1) AND C>EMA(C,5) AND REF(COUNT(破倍阴高,VAR25),1)<=2;