三角启动 (精确定位起涨第一日)
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(95,GJTJ1))
B:=BARSLAST(CROSS(95,GJTJ2))
E:= GJTJ4 GJTJ1 AND GJTJ1 GJTJ2 AND GJTJ1 GJTJ3;
F:=GJTJ2 50 AND GJTJ3
G:=GJTJ1=100 AND GJTJ2=100;
TX:=COUNT(G,2)=1;
ENTERLONG:A AND B AND E AND F AND TX;