通达信人气强弱模型D指标公式

通达信小妖回踩选股指标公式

通达信人气强弱模型D指标公式:

{人气趋势信号}

M1:=(CLOSE,10);

VAR1:=IF(DATE<1340830 AND DATE>900101,1,0);

VAR2:=IF(MONTH<12,1,100000);

VAR3:=(2*CLOSE+HIGH+LOW)/4;

VAR4:=LLV(LOW,34);

VAR5:=HHV(HIGH,34);

趋势: EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK2,COLORRED;

人气: EMA(0.667*REF(趋势,1)+0.333*趋势,2),LINETHICK2,COLORYELLOW;

分界: 50*VAR1,LINETHICK2,COLORBLUE;

DRAWTEXT(crOSS(趋势,30) AND 人气<趋势,30,'↖介入'),COLORYELLOW;

DRAWTEXT(CROSS(趋势,60) AND 人气<趋势,48,'↖加持'),COLORYELLOW;

DRAWTEXT(CROSS(趋势,80) AND 人气<趋势,98,'减仓'),COLORMAGENTA;

DRAWTEXT(CROSS(人气,趋势) AND 人气>80,80,'出手'),COLORGREEN;

低吸:IF(CROSS(趋势,人气) AND 趋势<15,20,0),COLORWHITE,LINETHICK2;

高抛:IF(CROSS(人气,趋势) AND 人气>85,80,100),COLORCYAN,LINETHICK3;

{活跃资金信号}

ZZ:=(HHV(H,3)+LLV(L,3))/2;

A:=IF(C>ZZ,vol,0);

B:=IF(C<ZZ,VOL,0);

总0:=(A-B);

bbd:EMA(总0,3)/SUM(VOL,5)*100,LINETHICK;

stICKLINE(BBD>=0,50,BBD+50,3,0),COLOR000088;

STICKLINE(BBD>=0,50,BBD+50,1.5,0),COLOR0000AA;

STICKLINE(BBD>=0,50,BBD+50,0.7,0),COLOR0000CC;

STICKLINE(BBD>=0,50,BBD+50,0.1,0),COLOR0000FF;

STICKLINE(BBD<0,50,BBD+50,3,0),COLOR888800;

STICKLINE(BBD<0,50,BBD+50,1.5,0),COLORAAAA00;

STICKLINE(BBD<0,50,BBD+50,0.7,0),COLORCCCC00;

STICKLINE(BBD<0,50,BBD+50,0.1,0),COLORFFFF00;

{多空情绪信号}

能量:=SQRT(VOL)*(((C-(H+L)/2))/((H+L)/2));

平滑能量:=EMA(能量,10);

人气A:EMA(平滑能量*5,10),COLORGREEN,LINETHICK2;

STICKLINE(人气A>=0,0.2,-5,5,0),COLOR00CCFF;

STICKLINE(人气A<0,0.2,-5,5,0),COLORFF3300;

{指标用法标注}

DRAWTEXT_FIX(ISLASTBAR,0.005,0.005,0,'白三角信号 代表底部或接近底部,酌情小仓位抄底'),COLOR99CC32;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.040,0,'介入信号 代表走势企稳,酌情建仓'),COLOR99CC32;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.075,0,'加持信号 代表走势进入强势区,逢低加仓买入'),COLOR99CC32;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.110,0,'减仓信号 代表风险提示,降低仓位'),COLOR99CC32;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.145,0,'出手信号 代表高位见顶,逢高卖出'),COLOR99CC32;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.845,0,'人气判断标准 人气强弱是决定个股走势的内在因素,

此模型中重点从人气趋势、活跃资金、多空情绪等3个维度,进行综合判断'),COLORMAGENTA;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.880,0,'3个维度 1.人气趋势:由“趋势+人气”红黄2线组成,

以50线为分界线;在50上方代表人气汇聚,处于旺盛状态,

通达信缠论同级别维持中枢主图指标公式

股价容易上涨;在50下方代表人气涣散,

处于衰弱状态,股价容易下跌'),COLORMAGENTA;

DRAWTEXT_FIX(ISLASTBAR,0.061,0.915,0,'2.活跃资金:人气若要汇聚,提升活跃度,活跃资金不可或缺;此模型中,

红柱代表活跃资金介入,青柱代表活跃资金流出'),COLORMAGENTA;

DRAWTEXT_FIX(ISLASTBAR,0.061,0.950,0,'3.多空情绪:情绪一致或分歧,是影响股价上涨或下跌的重要因素;

此模型中,金黄柱代表情绪一致,看多为主;深蓝柱代表情绪分歧,看空为主'),COLORMAGENTA;

通达信早盘擒涨停排序指标公式