N1:=5;
N2:=10;
N3:=20;
P:=3;
LC:=REF(CLOSE,1);
rsi5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100,COLORFFAAFF;
RSI20:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORAA99AA;
S1:=BArslAST(REF(crOSS(RSI5,RSI20),1));
S1A:=REF(CLOSE,S1+1)>CLOSE AND RSI5>REF(RSI5,S1+1) AND CROSS(RSI5,RSI20);
底背离:S1A;
美化RSI波段之底背离选股指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/98575.html