高开突破选股公式
NT:=7;
T1:=CONST(LLVBARS(LOW,NT));
T1HIGH:=CONST(REF(HIGH,T1));
CCT:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CCT+T1)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CCT+T2)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGH,T3));
突破:=DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1);
XG:=CROSS(C,突破);
高开:=O/REF(C,1)>1.01 AND L>REF(H,1);
XG AND 高开;
627300407.jpg
|