N:=1;
XOPEN:=(REF(O,N)+REF(C,N))/2;
XCLOSE:=CLOSE;
XHIGH:=MAX(HIGH,XOPEN);
XLOW:=MIN(LOW,XOPEN);
volALITY:=MA(XHIGH-XLOW,8);
凰线:=MA(XCLOSE,5)+VOLALITY/2;
凤线:=MA(XCLOSE,5)-VOLALITY/2;
BU:=crOSS(XCLOSE,凰线);
SEL:=CROSS(凤线,XCLOSE);
VAR1:=BArslAST(BU);
VAR2:=BARSLAST(SEL);
红箭头:REF(VAR1,1)>VAR2 AND VAR1=0;