飞狐支撑压力主图指标
Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
Var3:=EMA(CLOSE,3);
Var4:=(2*CLOSE+LOW+HIGH)/4;
Var5:=Var2-Var3;
风险线: EMA(Var4,45)*1.15;
出货线: EMA(Var4,55)*1.4;
低吸线: EMA(Var4,40)*0.85;
铁底线: EMA(Var4,88)*0.7, , COLORRED;
满仓线: EMA(Var4,95)*0.6, , ;
成本线: EMA(Var4,55), , ;
持仓: STICKLINE(Var5>=0,Var3,Var2,0.5,0);
减仓: STICKLINE(Var5<0,Var3,Var2,0.5,0), , COLORYELLOW;
价值中枢: (成本线+低吸线)/2, , ;
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;