你的意思是顶背离吗?如是的话,见下面。
N:=9;
M:=3;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:=EMA(RSV,M);
D:=MA(K,M);
A1:=BARSLAST(REF(CROSS(D,K),1));
顶背离:REF(CLOSE,A1+1)
N:=9;
M:=3;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:=EMA(RSV,M);
D:=MA(K,M);
A1:=BARSLAST(REF(CROSS(K,D),1));
底坑:REF(CLOSE,A1+1)>CLOSE AND K
中间要把握一个度,避免过度2121