肥罗波段(源码 主图 通达信 贴图)
N:=20;
MID:=MA(C,N);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
布林中轨:REF(MID,1),COLORFFFFFF;
布林上轨:REF(UPPER,1),COLOR00FFFF;
LB:=REF(LOWER,1),COLORFF00FF;
M:=13;
VAR2:=CLOSE*VOL;
VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,M);
XS上轨:1.06*VAR3;
XS中轨:VAR3*0.94;