理想成真正负量副图公式源码
多:=IF(C>REF(C,1),V,0)/100;
空:=IF(C<REF(C,1),V,0)/100;
理想做多:EMA(MA(多,3),3);
理想做空:EMA(MA(空,3),3)COLORGREEN,;
STICKLINE(理想做多,理想做多,0,3,0),COLORRED;
STICKLINE(理想做多>0 AND 理想做多>REF(理想做多,1),理想做多*4/5,0,3,0),COLOR10D3FF;
STICKLINE(理想做多>0 AND 理想做多>REF(理想做多,1),理想做多*2/5,0,3,0),COLOR10FFFF;
STICKLINE(理想做多>0 AND 理想做多<REF(理想做多,1),理想做多,0,3,0),COLORBROWN;
STICKLINE(理想做多>0 AND 理想做多<REF(理想做多,1),理想做多*4/5,0,3,0),COLORCA3DB5;
STICKLINE(理想做多>0 AND 理想做多<REF(理想做多,1),理想做多*2/5,0,3,0),COLORFF99CC;
STICKLINE(理想做空,理想做空*(-1),0,3,0),COLOR66FF00;
STICKLINE(理想做空,理想做空*(-0.85),0,3,0),COLOR66DD00;
STICKLINE(理想做空,理想做空*(-0.75),0,3,0),COLOR66BB00;
STICKLINE(理想做空,理想做空*(-0.65),0,3,0),COLOR669900;
STICKLINE(理想做空,理想做空*(-0.55),0,3,0),COLOR667700;
STICKLINE(理想做空,理想做空*(-0.45),0,3,0),COLOR665500;
STICKLINE(理想做空,理想做空*(-0.35),0,3,0),COLOR663300;
624400891.jpg
|