通达信macd+kdj+rsi+大盘顶底背离指标公式

2024-07-29 19:00发布

:CAPITAL/1000000,NODRAW;:DYNAINFO(17),NODRAW;{:DYBLOCK,NODRAW;}{地域:GNBLOCK,NODRAW;}率:FINANCE(43),NODRAW;DRAWTEXT_FIX(1,0,0,0,'DYBLOCK'+'GNBLOCK');X1:2*".RSI1"(6,12,24),COLORWHITE;X2:=2*"RSI.RSI2"(6,12,24);150,COLORRED;底:-50;顶:50;TRR := SUM(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;PDM:= SUM(IF(HD>0 AND HD>LD,HD,0),14);MDM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:= PDM*100/TRR;:= MDM*100/TRR;A1:=BARSLAST(REF(OSS(".DIF"(12,26,9),"MAC
 解锁全文需 1  财富值,免费注册即送20财富值!