MA7:=MA(C,7);
TJ1:=REF(C,1)>REF(MA7,1);
TJ2:=C<MA7 AND MAX(O,C)/MIN(O,C)<1.04 ;
TJ3:=(H-MAX(O,C))/(H-L)>0.1 AND L=C;
TJ4:=(H-MAX(O,C))/(H-L)>0.1 AND (MIN(O,C)-L)/(H-L)>=0.1;
TJ5:=REF(L,1)>L AND H>L;
XG1:=TJ1 AND TJ2 AND (TJ3 OR TJ4) AND TJ5;
XG: REF(XG1,1);作者: 项天宝 时间: 2016-5-21 08:47
MA7:=MA(C,7);
TJ1:=REF(C,1)>REF(MA7,1);
TJ2:=C<MA7 AND MAX(O,C)/MIN(O,C)<1.04 ;
TJ3:=(H-MAX(O,C))/(H-L)>0.1 AND L=C;
TJ4:=(H-MAX(O,C))/(H-L)>0.1 AND (MIN(O,C)-L)/(H-L)>=0.1;
TJ5:=REF(L,1)>L AND H>L;
XG1:=TJ1 AND TJ2 AND (TJ3 OR TJ4) AND TJ5;
{XG: REF(XG1,1);}
ENTERLONG: A>0 AND REF(XG1,1);