同花顺钝背离化指标公式

2024-08-04 01:58发布

DIF:100*(EMA(CLOSE,12)-EMA(CLOSE,26));DEA:EMA(DIF,9);:(DIF-DEA)*2,COLORSTICK;:=OSS(DEA,DIF);N1:=BARSLAST(死叉);N2:=REF(BARSLAST(死叉),N1+1);N3:=REF(BARSLAST(死叉),N2+N1+2);CL1:=LLV(C,N1+1);DIFL1:=LLV(DIF,N1+1);CL2:=REF(CL1,N1+1);DIFL2:=REF(DIFL1,N1+1);CL3:=REF(CL2,N1+1);DIFL3:=REF(DIFL2,N1+1);PDIFL2:=IF(DIFL2>0,INTPART(LOG(DIFL2))-1,INTPART(LOG(-DIFL2))-1);FL2:=INTPART(DIFL2/POW(10,PDIFL2));PDIFL3:=IF(DIFL3>0,INTPART(LOG(DIFL3))-1,INTPART(LOG(-DIFL3))-1);MDIFL3:=INTPART(DIFL3/POW(10,PDIFL3));MDIFB2:=I
 解锁全文需 1  财富值,免费注册即送20财富值!