OAMV:=("999999$AMOUNT"+"399001$AMOUNT");
VAR1:=SMA(OAMV,10,1)/100000000;
活筹:=VAR1;
MA20:=MA(活筹,20);
均价:=MA(C,20)*1000;
对抗:=IF(BArslASTCOUNT(均价=7 AND BARSLASTCOUNT(MA20>REF(MA20,1))>=7,0.5,0);
介入:REF(对抗,1)>0 AND 对抗=0;
OAMV:=("999999$AMOUNT"+"399001$AMOUNT");
VAR1:=SMA(OAMV,10,1)/100000000;
活筹:=VAR1;
MA20:=MA(活筹,20);
均价:=MA(C,20)*1000;
对抗:=IF(BArslASTCOUNT(均价=7 AND BARSLASTCOUNT(MA20>REF(MA20,1))>=7,0.5,0);
介入:REF(对抗,1)>0 AND 对抗=0;