通达信红入绿出主图指标公式,通达信信号主图指标公式
admin888
|通达信红入绿出主图指标公式,通达信信号主图指标公式
通达信红入绿出主图指标公式
ma5:MA(C,5),COLORYELLOW;
MA10:MA(C,10),COLORFF00FF;
MA15:MA(C,15),COLOR00FF00;
MA30:MA(C,30),COLORFFCCCC;
B1:=REF(C,1);B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(CREF(C,2) AND REF(C,2)>REF(C,1),2,IF(C
SM:=IF(REF(SS,1)!=0,REF(SS,1),IF(REF(SS,2)!=0,REF(SS,2),IF(REF(SS,3)!=0,REF(SS,3),IF(REF(SS,5)!=0,REF(SS,5),IF(REF(SS,6)!=0,REF(SS,6),IF(REF(SS,7)!=0,REF(SS,7),0))))));
stICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,3,0),COLORRED;
STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,3,0),COLORFFCC66;
STICKLINE(SS=2,B2,C,3,0),COLORRED;
STICKLINE(SS=-2,B2,C,3,0),COLORFFCC66;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,3,0),COLORRED;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,3,0),COLORFFCC66;
AA:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)=REF(CLOSE,5)),IF(REF(CLOSE,5)
DRAWICON(AA AND CLOSE>REF(OPEN,2),0.99*LOW,1);
DRAWTEXT(AA AND CLOSE>REF(OPEN,2),LOW*0.98,'红入'),COLORYELLOW;
通达信信号主图指标公式
N:=10;N1:=5;
LC:=REF(CLOSE,1);
rsi:=SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
低吸:=crOSS(RSI,11);
{DRAWTEXT(低吸,L,'★'),COLORWHITE;}
DRAWTEXT(低吸,L-0.12,'低吸'),COLORWHITE;
VAR7:=ema(AMOUNT/vol100,3);
VAR8:=EMA(VAR7,88);
VAR9:=EMA(VAR7,88)*0.85;
VARA:=VAR9*0.87;
VARB:=LOW
DRAWTEXT(FILTER(VARB,6),L-0.14,'坚决买进'),COLORFF00FF;
{DRAWTEXT(FILTER(VARB,6),L,'★'),COLORFF00FF;}
VARF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
{DRAWTEXT(IF(COUNT(CLOSE0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) ANDCLOSE>OPEN,1,0),L,'★'),COLORYELLOW;}
DRAWTEXT(IF(COUNT(CLOSE0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),L-0.14,'出击'),COLORYELLOW;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
DRAWTEXT(CROSS(D1,K1),L-0.14,'波段买入'),COLOR0099FF;
{DRAWTEXT(CROSS(D1,K1),L,'★'),COLOR0099FF;}
多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
,3,1),2,1);
天线:=78.89;
stICKLINE(CROSS(天线,多方趋势),H*1.02,H*1.00,6,0),COLOR00FF00;
DRAWTEXT(CROSS(天线,多方趋势),H*1.04,'逃'),COLOR00FF00;
A1:=REF(H,N)=HHV(H,2*N+1);
B:=FILTER(A1,N);
D:=BacKSET(B,N+1);
HD:=FILTER(D,N);
A2:=REF(L,N)=LLV(L,2*N+1);
B2:=FILTER(A2,N);
DD2:=BACKSET(B2,N+1);
LD:=FILTER(DD2,N);
STICKLINE(REF(HD,1),REF(H,1),REF(H,1),18,0),COLOR00FF00,LINETHICK3;
STICKLINE(REF(LD,1),REF(L,1),REF(L,1),18,0),COLOR0000FF,LINETHICK3;
DRAWTEXT(REF(LD,1),REF(L,1)-0.01,'●进'),COLOR0000FF;
DRAWTEXT(REF(HD,1),REF(H,1)+0.05,'▲跑'),COLOR00FF00;
短期:= MA(AMOUNT/VOL/100,22.5);
中期:= MA(AMOUNT/VOL/100,44);
长期:= MA(AMOUNT/VOL/100,118);
VAR2:=EMA(EMA(AMOUNT/VOL/100,N1)*1.062,N1)*1.062;
VAR3:=EMA(EMA(AMOUNT/VOL/100,N1)*0.938,N1)*0.938;
{DRAWTEXT(CLOSE>VAR2,CLOSE,'●短卖'),COLOR00FF00;}
{DRAWTEXT(CLOSE
STICKLINE(CLOSE>短期,短期,短期,2,0),COLOR00FF00;
STICKLINE(短期>CLOSE,短期,短期,2,0),COLORFFCCCC;
STICKLINE(短期>CLOSE AND 中期>CLOSE,短期,短期,2,0),COLOR0099FF;
VAR4:=CLOSE>短期 AND ABS(短期-长期<=1) AND CROSS(短期,中期);
DRAWTEXT(VAR4,LOW,'●变盘'),COLORYELLOW;
BRSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
BK:=SMA(BRSV,3,1);
BD:=SMA(BK,3,1);
BJ:=3*BK-2*BD;
X1:=REF(H,1)-REF(H,2)>=REF(H,1)*1.03;
X2:=CLOSE/OPEN>1.05 AND C-REF(C,1)>=X1;
X3:=X2+REF(C,1);
DRAWTEXT(X2 AND X3 AND BJ>80,H+0.15,'顶'),COLOR00FF00;
{DRAWTEXT(X2 AND X3 AND BJ>80,H+0.09,'●'),COLORGREEN;};
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。