DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
macd : 2*(DIFF-DEA), COLORSTICK;
DRAWTEXTAbs(5,5,' '),linethick1,COLOR00EEff;
四公:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,vol/(SUM(AMOUNT, 1)/(AMOUNT/VOL/100)/100));
WJ:=(HIGH+LOW+CLOSE)/3;
V1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
V2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
V3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
V4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
V5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买卖差:=(V9+V8)-(V6+V7);
买卖总差:=SUM(买卖差,1);
A4:=SUM(买卖总差,3)/SUM(VOL,2)/10;
A5:=SUM(买卖总差,6)/SUM(VOL,5)/10;
A3:=SUM(买卖总差,9)/SUM(VOL,8)/10;
V1:=c-(a4+ma(c,3))/2;
V2:=c-(a5+ma(c,13))/2;
V3:=c-(a3+ma(c,26))/2;
Va1:=(C+v3-v1+macd);
Va4:=(C+v2-v1+macd);
A11:=(2*CLOSE+HIGH+LOW)/(4);
dd:=Va1+macd - A11+macd;
动力一:0.38*hhv(dd,1),COLOR55ddee;
动力三线:0.38*hhv(dd,3),COLORMAGENTA;{2}
动力六:0.38*hhv(dd,6),COLORRED;{2}
零:0,color99CC99,pointdot,LINETHICK1;