X_1:=IF(DATE<=1170417,1,1);
红色买蓝色空仓:(INDEXC/MA(INDEXC,33)-1)*138,COLORSTICK;
X_2:=AMOUNT/vol/100;
X_3:=IF(X_2>=LOW AND X_2<=HIGH,X_2,(CLOSE*2+OPEN+HIGH+LOW)/5);
X_4:=MAX(MAX(HIGH-LOW,Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
X_5:=HHV(MA(VOL,5),4)X_6:=BETWEEN(REF(CLOSE,1)/REF(CLOSE,2),0.91,0.995) AND X_1 AND REF(VOL,1)/REF(VOL,2)>1.8 AND BETWEEN(CLOSE-REF(CLOSE,2),0,0.3*REF(MA(X_4,2),1)*X_1) AND REF(OPEN
买入:IF(X_6,30,0),COLORMAGENTA;