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;
VAR7:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
VAR8:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
VAR9:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
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) AND VAR9-VAR7<=29,0,空方主力,1.2,0),COLORYELLOW;
STICKLINE(VAR6>0 AND VAR6>REF(VAR6,1) AND REF(VAR6,2)>REF(VAR6,1) AND VAR9-VAR7<=29,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;
STICKLINE(多方主力>0 AND 多方主力>REF(多方主力,1) AND REF(多方主力,2)>REF(多方主力,1) AND VAR9-VAR7<=29,0,空方主力,1.2,0),COLORYELLOW;
STICKLINE(多方主力>0 AND 多方主力>REF(多方主力,1) AND REF(多方主力,2)>REF(多方主力,1) AND VAR9-VAR7<=29,0,-空方主力,1.2,0),COLORYELLOW;
VAR10:=MACD.DIF#WEEK(6,13,5);
VAR11:=MACD.DEA#WEEK(6,13,5);
VAR12:=MACD.DIF#MONTH(6,13,5);
VAR13:=MACD.DEA#MONTH(6,13,5);
STICKLINE(CROSS(VAR10,VAR11),0.1,(-0.1),2,0),COLORWHITE;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=38 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2) AND REF(VAR8,1)+100<11,0,空方主力-0.3,1.2,0),COLORRED;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=38 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2) AND REF(VAR8,1)+100<11,空方主力-0.3,空方主力,1.2,0),COLORYELLOW;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=45 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2),0,空方主力-0.3,1.2,0),COLORRED;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=45 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2),空方主力-0.3,空方主力,1.2,0),COLORYELLOW;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=38 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2) AND REF(VAR8,1)+100<11,0,多方主力+0.3,1.2,0),COLORRED;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=38 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2) AND REF(VAR8,1)+100<11,多方主力+0.3,多方主力,1.2,0),COLORYELLOW;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=45 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2),0,多方主力+0.3,1.2,0),COLORRED;
STICKLINE(REF(VAR9,1)-REF(VAR8,1)>=45 AND VAR8+100>20 AND REF(VAR8,1)<REF(VAR8,2),多方主力+0.3,多方主力,1.2,0),COLORYELLOW;
STICKLINE(VAR7+100<=13 AND VAR8+100<=10 AND VAR9+100<=12,0,多方主力+0.3,1.2,0),COLORRED;
STICKLINE(VAR7+100<=13 AND VAR8+100<=10 AND VAR9+100<=12,多方主力+0.3,多方主力,1.2,0),COLORYELLOW;
STICKLINE(VAR7+100<=13 AND VAR8+100<=10 AND VAR9+100<=12,0,空方主力-0.3,1.2,0),COLORRED;
STICKLINE(VAR7+100<=13 AND VAR8+100<=10 AND VAR9+100<=12,空方主力-0.3,空方主力,1.2,0),COLORYELLOW;