HS:=10000*V/FINANCE(7);
CBFB:=COSTEX(C,REF(C,1));
M1:=MA(CBFB,5);
M2:=MA(CBFB,20);
JL:=IF(C>CBFB,HS,0);
CL:=IF(C<CBFB,HS,0);
JLH:=EMA(SUM(JL,4),10);
CLH:=EMA(SUM(CL,4),10);
LHB:=CLH/JLH;
TJ1:=crOSS(JLH,CLH);
TJ2:=CROSS(M1,M2);
N1:=BARSLAST(TJ1);
XG:TJ2 AND N1<6 AND JLH>REF(JLH,1) AND C<O;