VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
中轴:0;
空方主力:(-2)*(VAR2-VAR3)*3.8,COLORGREEN;
多方主力:2*(VAR2-VAR3)*3.8,COLORRED;
VAR4:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR5:=EMA(VAR4,9);
VAR6:=(VAR4-VAR5)*2;
STICKLINE(VAR6>0 AND VAR6>REF(VAR6,1),0,空方主力,1.5,1),COLORLIRED;
STICKLINE(VAR6>0 AND VAR6<REF(VAR6,1),0,空方主力,1.5,0),COLORLIRED;
STICKLINE(VAR6<0 AND VAR6<REF(VAR6,1),0,空方主力,1.5,1),COLORLIGREEN;
STICKLINE(VAR6<0 AND VAR6>REF(VAR6,1),0,空方主力,1.5,0),COLORLIGREEN;
STICKLINE(VAR6>0 AND VAR6>REF(VAR6,1),0,-空方主力,1.5,1),COLORLIRED;
STICKLINE(VAR6>0 AND VAR6<REF(VAR6,1),0,-空方主力,1.5,0),COLORLIRED;
STICKLINE(VAR6<0 AND VAR6<REF(VAR6,1),0,-空方主力,1.5,1),COLORLIGREEN;
STICKLINE(VAR6<0 AND VAR6>REF(VAR6,1),0,-空方主力,1.5,0),COLORLIGREEN;
STICKLINE(VAR6>0 AND VAR6>REF(VAR6,1) AND REF(VAR6,2)>REF(VAR6,1),0,空方主力,1.2,0),COLORYELLOW;
STICKLINE(VAR6>0 AND VAR6>REF(VAR6,1) AND REF(VAR6,2)>REF(VAR6,1),0,-空方主力,1.2,0),COLORYELLOW;
STICKLINE(VAR6>0 AND VAR6/REF(VAR6,1)>=1.65,0,空方主力,0.7,0),COLORRED;
STICKLINE(VAR6>0 AND VAR6/REF(VAR6,1)>=1.65,0,-空方主力,0.7,0),COLORRED;
VAR7:=MACD.DIF#WEEK(6,13,5);
VAR8:=MACD.DEA#WEEK(6,13,5);
VAR9:=MACD.DIF#MONTH(6,13,5);
VAR10:=MACD.DEA#MONTH(6,13,5);
STICKLINE(CROSS(VAR7,VAR8),0.1,(-0.1),2,0),COLORWHITE;