源码
速:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),coloryellow;
底:80,colorred;
顶:20,colorred;
A2:=BARSLAST(REF(CROSS(底,速),1));
底背离:=REF(CLOSE,A2+1)>CLOSE AND 速速;
底背:IF(底背离,速,DRAWNULL),colorred;
DRAWICON(底背,速,'buy');
源码
速:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),coloryellow;
底:80,colorred;
顶:20,colorred;
A2:=BARSLAST(REF(CROSS(底,速),1));
底背离:=REF(CLOSE,A2+1)>CLOSE AND 速速;
底背:IF(底背离,速,DRAWNULL),colorred;
DRAWICON(底背,速,'buy');