通达信紫金葫芦指标公式
VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:SMA(VAR3,4,1)-10;
VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR5:=SMA(VAR4,3,1);
VAR2:=SMA(VAR5,4,1)-90;
stICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),COLOR0000FF;
0, CIRCLEDOT;
STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLOR00FF00;
STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;
STICKLINE(REF(VAR2,1)<VAR2,VAR2,REF(VAR2,1),5,0),COLOR00FF00;
0,COLOR0000FF;
M:=IF(REF(VAR1,1)<VAR1,10,0),COLORYELLOW;
买:IF(M=10 AND REF(M,1)=0 AND VAR1<10,48,0),,COLORFFFF00,STICK ;
买2:IF(M=10 AND REF(M,1)=0 AND VAR1>10 AND VAR1<55,88,0),,COLORYELLOW,STICK ;
{选股:IF(VAR1>0 AND VAR1-REF(VAR1,1)>=0 AND VAR1<45,8,0),,COLORYELLOW ;}
{www.gUPang.com 指标网_最新股票指标公式}
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
起动:=EMA(J,6),COLORRED;
{五星级注意:IF(起动>90 AND 起动<=REF(起动,1),-28,0),,COLORFFFF00,STICK ;}
VAR11:=REF(CLOSE,2);
会员专用:=SMA(MAX(CLOSE-VAR11,0),7,1)/SMA(Abs(CLOSE-VAR11),7,1)*100,COLORFFAA66;
VAR12:=REF(CLOSE,1);
VAR13:=SMA(MAX(CLOSE-VAR12,0),7,1)/SMA(ABS(CLOSE-VAR12),7,1)*100;
会员专用逃: IF(会员专用< REF(会员专用,1) AND 会员专用>79,-48,0),STICK,LINETHICK3,COLOR00FF00;
DRAWTEXT(会员专用逃 ,70 ,'逃'),COLORYELLOW,LINETHICK1;
VAR111:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR112:=SMA(VAR11,9,1);
A:=SMA(VAR112,5,1),COLOR00FFFF;
B:=SMA(A,3,1),COLORFF00FF;
F:=(3)*(A)-(2)*(B),COLOR00FF00;
观察区:=IF(F>=A AND A>=B,16,0),COLOR00FF00;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
庄撤:=IF(V4<=0,V4,0);
庄进:=IF(V4>=0,V4,0);
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大筹金进:=IF(VB>=0,VB,0);
观察区1:=IF(庄进>0 ,6,0),COLORFFFF00;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:=3*Q3-2*Q4;
趋势线:=EMA(Q3, 3);
观察区2:=IF(长趋势>趋势线 ,-8,0),COLORFFFF00;
{综合观察区:IF(观察区=16 AND 观察区1=6 AND 观察区2=-8,16,0);}
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(VAR1F>0.015,VAR20,0)/45;
拉线:=VAR25,COLORYELLOW ;
拉线观察区:IF(拉线>0, 38,0), COLOR00FF00;
拉线买点:IF(拉线>0 AND REF(拉线,1)=0,28,0), COLORFFFF00,STICK ;
注意:IF(REF(拉线,1)>120 AND 拉线<=REF(拉线,1)*0.85,-17,0), COLORRED;