源碼: T0:=BARSLAST(H=HHV(H,100) AND V=HHV(V,100)); HT0:=BARSLAST(H=HHV(H,T0+1)); HT1:=BARSLAST(EVERY(H<REF(H,HT0),HT0) AND CROSS(HT0>=80,0.5)); 天量最高價:=DRAWLINE(HT0=0,REF(H,HT0),HT1=0,REF(H,HT0),1),COLORMAGENTA; TT:=BARSLAST(CROSS(天量最高價>=0,0.5)); XG0:COUNT(CROSS(C>=天量最高價,0.5),TT+1)=1 AND CROSS(C>=天量最高價,0.5)AND C>O; |
|