您的位置:爱股网 > 查股公式 > 通达信人气强弱模型D副图指标 多角度研判趋势[查股公式]
股票行情消息数据:

通达信人气强弱模型D副图指标 多角度研判趋势[查股公式]

2022/12/14 14:15:04

通达信人气强弱模型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;
{指标用法标注}{天天查股网WWW.ttchagu.com}
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;
 
相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29