通达信DMI,MACD.RSI背离指标公式

2024-02-21 10:58发布

N:=14;MM:=6;RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);:=2*(DIFF-DEA), COLORSTICK;LC:=REF(CLOSE,1);1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(A(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;A1:=BARSLAST(REF(OSS(DIFF,DEA),1));B1:=REF(CLOSE,A1+1)>CLOSE AND REF(DIFF,A1+1)0,5);STICKLINE(FILTER(B1>0,5),0,10,1
 解锁全文需 1  财富值,免费注册即送20财富值!