龙门:=HHV(MA(CLOSE,3),55),LINETHICK2, COLORYELLOW;
HH:=CONST(HHV(H,150));
LL:=CONST(LLV(L,150));
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
BFB1:=(CLOSE-LOWV)/(HIGHV-LOWV)*150;
BFB0:=(HH-LL)/150*BFB1+LL;
RSV:=EMA(BFB0,3);
K:=EMA(RSV,3);
D:=MA(K,3);
TJ1:=C/REF(C,1)>=1.07 AND C>龙门 AND NOT(K<REF(K,1) AND D<REF(D,1)) AND NOT(H=L) AND NOT(C<O),COLORLIRED;
TJ2:=COUNT(TJ1,3);
龙门飞渡:TJ1 AND TJ2=1,COLORLIRED;