通达信双布林MACD主图指标公式

2023-05-22 19:00发布

N:=20;M:=50;DP:=(H+L+2*C)/4;MID:= MA(DP,N);20中轨:MID,COLORWHITE,POINTDOT,LINETHICK2;{以下为通达信、同花顺均可用的STICKLINE(MID>REF(MID,1),MID*1.01,REF(MID,1),4,1),COLORRED;STICKLINE(MID<=REF(MID,1),MID,REF(MID,1),4,0),COLOR00FF00;}DRAWBAND(MID,RGB(225,0,0),REF(MID,2),RGB(00,255,00));20上轨:MID +1.96*STD(DP,N),COLORYELLOW;20下轨:MID-1.96*STD(DP,N),COLORFF0000;M2:=MA(DP,M);50中轨:IF(M2>=REF(M2,1),M2,DRAWNULL),COLORFF00FF,CIRCLEDOT;IF(M2
 解锁全文需 1  财富值,免费注册即送20财富值!