同花顺变幻线主图指标
源码
Var1:EMA(C,3);
Var2:EMA(C,5);
Var3:EMA(C,10);
Var4:EMA(C,20);
Var5:EMA(C,30);
Var6:=(Var2+Var3+Var4+Var5)/4;
Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;
Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;
Var9:=EMA(Var7,8);
蓝持币:STICKLINE(Var7 1*REF(Var7,1),H,L,0.5,0),colorblue;
STICKLINE(Var7 1*REF(Var7,1),O,C,5,0),colorblue;
红持股:STICKLINE(Var7 1*REF(Var7,1),H,L,0.5,0),colorred;
STICKLINE(Var7 1*REF(Var7,1),O,C,5,0),colorred;
绿洗盘:STICKLINE(Var7 1*REF(Var7,1) AND Var9 1*REF(Var9,1),H,L,0.5,0),colorgreen;
STICKLINE(Var7 1*REF(Var7,1) AND Var9 1*REF(Var9,1),O,C,5,0),colorgreen;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价 REF(买进价,1);
白买进:STICKLINE(买进条件,H,L,0.5,0),colorwhite,linethick2;
STICKLINE(买进条件,O,C,5,0),colorwhite,linethick2;
加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价 REF(加码价,1);
黄加码:STICKLINE(加码条件,H,L,0.5,1),coloryellow,linethick2;
STICKLINE(加码条件,O,C,6,0),coloryellow,linethick2;