【通达信源码分享】精品指标公式-五线上第一阳源码+机构能量指
2023-01-14未知 编 辑:掌上指标
主图公式源码:
DRAWBAND(MA(CLOSE,60),RGB(200,80,80),MA(CLOSE,120),RGB(0,0,115));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5),COLORFFFFFF;
MA10:MA(CLOSE,10),COLOR00FFFF;
MA20:MA(C,20),COLORFF00FF;
MA60:MA(CLOSE,60),COLORFF9988;
MA120:MA(CLOSE,120),COLOR0000FF;
JDZ:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
A:=CROSS(C,JDZ);
STICKLINE(A,H,L,0.5,0),COLORFF00FF;
STICKLINE(A,O,C,3.5,0),LINETHICK1,COLORFF00FF;
副图公式源码:
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(VAR1,2,1),COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线: SMA(VAR2,5,1)-8,COLORRED;
LH: 80;
LH1:= 50;