以下是波段指标主图源码
Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
Var3:=EMA(CLOSE,3);
Var4:=(2*CLOSE+LOW+HIGH)/4;
平仓:(EMA(Var4,55)+MA(FORCAST(CLOSE,2),40))/2*1.66,CulorFFFF80,LINETHICK2;
风险:(EMA(Var4,45)+MA(FORCAST(CLOSE,2),40))/2*1.36,Culor00FF11,LINETHICK2;
回挡:(EMA(Var4,55)+MA(FORCAST(CLOSE,2),40))/2*1.16,CulorAAFFFF;
反弹:(EMA(Var4,40)+MA(FORCAST(CLOSE,2),40))/2*0.83,CulorFF6FFF;
超跌:(EMA(Var4,88)+MA(FORCAST(CLOSE,2),40))/2*0.72,Culor0000FF,LINETHICK2;
满仓: EMA(Var4,95)*0.6,CulorFF2B00,LINETHICK2;
平衡:(回挡+反弹)/2,CulorD5D5D5;
value:=(2*C+H+L+O)/5;
MA3:MA(value,3),colorwhite;