以下是同花顺智能分析副图源码
Var1:=1;
Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
Var3:=EMA(CLOSE,3);
Var4:=(2*CLOSE+LOW+HIGH)/4*Var1;
Var5:=Var2-Var3;
风险线:EMA(Var4,45)*1.15;
必卖线:EMA(Var4,55)*1.3;
底线:EMA(Var4,40)*0.85;
铁底线:EMA(Var4,88)*0.7,colorred;
成本线:EMA(Var4,55),colorgreen;
价值中枢: (成本线+底线)/2,colorffff00;
清仓:1.66*MA(FORCAST(CLOSE,2),40),colorgreen,linethick4;
出货:1.36*MA(FORCAST(CLOSE,2),40),COLOR085555;
高抛:1.16*MA(FORCAST(CLOSE,2),40),COLORff82ff;
低吸:0.82*MA(FORCAST(CLOSE,2),40),COLORf7e300;
满仓:0.72*MA(FORCAST(CLOSE,2),40),COLOR0000ff,linethick4;