同花顺顶底背离集指标公式

2024-08-04 07:00发布

底:-50;顶:50;TR := 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/TR;:= MDM*100/TR;A1:=BARSLAST(REF(OSS(".diff"(12,26,9),"macd.dea"(12,26,9)),1));B1:=REF(C,A1+1)>C AND REF("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) AND CROSS("macd.diff"(12,26,9),"macd.dea"(12,26,9));A2:=BARSLAST(REF(CROSS(".k"(9,3,3),"j.d"(9,3,3)),1));B2:=REF(C,A2+1)>C
 解锁全文需 1  财富值,免费注册即送20财富值!