通达信突破振仓点源码

HJ_1:=HIGH=HHV(HIGH,20) AND CLOSE<HIGH*0.965;
 HJ_2:=BARSLAST(HJ_1);
 CROSS(CLOSE,REF((LOW+HIGH)/2,HJ_2)) AND HJ_2>10 AND REF(EVERY(CLOSE<REF(HIGH,HJ_2),HJ_2-1),1);

{-----------------------------------}