Var1:=MA(LOW,1);
Var2:=MA(HIGH,2);
Var3:=MA(CLOSE,2);
Var4:=(Var3-LLV(Var1,8))/(HHV(Var2,8)-LLV(Var1,8))*100;
Var5:=SMA(Var4,3,1);
多空分水:SMA(Var5,1,1),colorred,linethick4;
Var6:=(HHV(Var1,10)-Var1)/(HHV(Var1,10)-LLV(Var1,10))*100;
加速拉升:SMA(Var6,5,5),colorff8888,linethick2;
波动:=100*(LLV(LOW,6)-CLOSE)/(LLV(LOW,6)-HHV(HIGH,6));
短期波动:波动,COLORff00ff,LINETHICK2;
PARTLINE(多空分水,多空分水>REF(多空分水,1),RGB(255,0,0),多空分水
短线:EMA(短期波动,2),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(短期波动,加速拉升),短期波动,'加速'),coloryellow;
守仓待涨:STICKLINE(短期波动>多空分水 AND 短期波动-多空分水>=0,0,8,6,1),colorred ;
下跌趋势:STICKLINE(短期波动<多空分水 AND 短期波动-多空分水<0,0,8,6,1),colorffff00 ;
Var7:=CROSS(短期波动,多空分水);
★买: STICKLINE(Var7,0,10,8,0),COLORff00ff;
Var8:=CROSS(多空分水,短期波动);
★卖: STICKLINE(Var8,0,10,8,0),COLORGREEN;
Var7:=CROSS(短期波动,短线);
买前: STICKLINE(Var7,0,6,4,0),colorred;
Var8:=CROSS(短线,短期波动);
卖前: STICKLINE(Var8,0,6,4,0),colorffff00;