VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,21)-EMA(VAR1,34);
VAR3:=EMA(VAR2,10);
多方控盘:2*(VAR2-VAR3)*3.81,colorred;
空方控盘:(-2)*(VAR2-VAR3)*3.81,colorgreen;
STICKLINE(多方控盘>0,0,多方控盘,0,0),colorred;
STICKLINE(空方控盘<0,0,空方控盘,0,0),colorgreen;
STICKLINE(多方控盘<0,0,多方控盘,0,0),colorred;
STICKLINE(空方控盘>0,0,空方控盘,0,0),colorgreen;
DRAWTEXT(CROSS(空方控盘,多方控盘),空方控盘,'卖出');
DRAWTEXT(CROSS(多方控盘,空方控盘),多方控盘,'买入');