N:=5;
多空平衡:ema(ema(ema(h,n),n),n),linethick2;
高位止赢:多空平衡*1.10;
弱势反弹:多空平衡*0.90;
强势回档:多空平衡*0.95;
获利了结:多空平衡*1.05;
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
GJ:=AMOUNT/v/100;
必跌:MA(HIGH,30)*1.15,Color0000FF,linethick2;
必涨:MA(LOW,30)*0.85,linethick2,Color0000FF;
大底:MA(LOW,30)*0.77,linethick2;
B1:='------------量能平台';
DRAWTEXT(vol=HHV(VOL,13),CLOSE,B1);
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);