以下是同花顺持股持币副图公式
同花顺持股持币副图公式
源码
VarA:=BARSCOUNT(CLOSE)*3.142/180;
A2: SIN(VarA*8)*100,linethick2;
A3: COS(VarA*8)*100,linethick2;
X1: 0;
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,20);
Var4:=MA(CLOSE,30);
Var5:=(Var1+Var2+Var3+Var4)/4;
Var6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
Var7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
Var8:=EMA(Var6,8);
底部注意: STICKLINE(Var6>REF(Var6,1) AND Var6<0 AND Var6Var8,Var8,0,5,0),colorgreen;
低位转强: STICKLINE(Var8>REF(Var8,1) AND Var6Var8,Var8,0,5,0),coloryellow;
买点: STICKLINE(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,Var6,Var8,10,0);
DRAWICON(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-140,4);
DRAWTEXT(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-40,\’买点\’),COLORffffff;
坚定持股:STICKLINE(Var8>REF(Var8,1) AND Var8>0,Var6,0,5,0),colorred;
DRAWTEXT(FILTER(Var8>REF(Var8,1) AND Var8>0,25),-20,\’持股\’),colorred;
谨慎观望:STICKLINE(Var6REF(Var8,1)AND Var6>0,Var6,Var8,10,0);
果断持币:STICKLINE(Var6<REF(Var6,1) AND Var6<Var8,Var6,Var8,5,1),colorffff00;
DRAWTEXT(FILTER(Var6<REF(Var6,1) AND Var6<Var8,20),100,\’持币\’),colorffff00;