通达信组合黑马指标公式,通达信副图显示大盘指标公式
admin888
|通达信组合黑马指标公式,通达信副图显示大盘指标公式
通达信组合黑马指标公式
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR21:=SMA(VAR1F,3,1);
趋势:=Sma(VAR21,3,1),COLOR0000FF,LINETHICK2;
人气:=SMA(趋势,3,1),COLORYELLOW,LINETHICK2;
顶天立地:IF(crOSS(趋势,人气) AND (趋势<30),50,0),COLOR0000FF,LINETHICK2;
DRAWTEXT(CROSS(趋势,人气) AND (趋势<30),60,'顶天立地'),COLOR0000FF;
{以下设置"笑傲江湖"指标}difF:=ema(CLOSE,12) - EMA(CLOSE,26); {
选股设JC=10即可}DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA),COLORstICK;
A:=IF(CROSS(0,DEA),1,0);
A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
SS:=IF(A,SUM(A1,0),0);
SSB:=HHV(SS,0);
SSS:=SUM(A1,0);
笑傲江湖:IF(SSS-SSB=2 AND SSS>REF(SSS,1),50,0),COLORWHITE;
{以下设置"黑马起步"指标}VAR11:=EMA(CLOSE,8);
VAR22:=EMA(VAR11,20);
VAR33:=CROSS(VAR11,VAR22);
VAR44:=VAR11< EMA(CLOSE,120);
黑马起步: IF(VAR33 AND VAR44,50,0), , COLORGREEN;
乖离率bias买入:CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100),STICK,LINETHICK2,COLORRED;
心理线PSY买入:CROSS(10,PSY(12,1)),STICK,LINETHICK2,COLORGREEN;
WVR:= SUM((IF(CLOSE>OPEN,vol,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/SUM((IF(CLOSE
VOL变异率VR买入:CROSS(70,WVR),STICK,LINETHICK2,COLORMAGENTA;
Wrsi:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),6,1)*100;
相对强弱RSI买入:CROSS(wrSI,20),STICK,LINETHICK2,COLORYELLOW;
BIAS买入:STICKLINE(CROSS(-6,(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100),0,70,0,0),LINETHICK2,COLORRED;
PSY买入:STICKLINE(CROSS(10,PSY(12,1)),0,70,0,0),LINETHICK2,COLORGREEN;
VR买入:STICKLINE(CROSS(70,WVR),0,70,0,0),LINETHICK2,COLORMAGENTA;
RSI买入:STICKLINE(CROSS(WRSI,20),0,70,0,0),LINETHICK2,COLORYELLOW;
{以下设置"主力进场"指标}VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2,1 ),COLORRED;
通达信副图显示大盘指标公式
指数:INDEXC,COLORYELLOW,NODRAW;
DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
(ma(INDEXC,3)+MA(INDEXC,6)+MA(INDEXC,12)+MA(INDEXC,24))/4;
{DRAWGBK(DATE>900101,stRIP(RGB(0,150,
130),RGB(0,0,0),0));}
买线:=INDEXC;
卖线:=指数;
BU:=crOSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,指数 - 800,'B'),COLORRED,LINETHICK3;
DRAWTEXT(SEL,指数+500,'S'),COLORGREEN,LINETHICK3;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(Abs(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH),指数*1.1,'S'), COLOR00FF00;
LC := REF(CLOSE,1);
rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(指数 * 1.02),'顶'),COLOR1880FF;
MA1:=ema(INDEXC,3),COLORYELLOW;
MA2:=EMA(INDEXC,5),COLORYELLOW;
DRAWICON(CROSS(MA1,MA2),指数-600,1),COLORRED;
DRAWICON(CROSS(MA2,MA1),指数+500,2),COLORGREEN;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。