通达信新【股市温度计】副图+选股指标情绪把控能手用法详解
DRAWBAND(0,RGB(0,139,255),0.5,RGB(0,139,255)),COLORFF8B00;
DRAWBAND(0.5,RGB(0,120,0),1,RGB(0,120,0)),COLOR007800;
DRAWBAND(1,RGB(187,0,187),1.5,RGB(187,0,187)),COLORBB00BB;
DRAWBAND(1.5,RGB(255,58,133),2,RGB(255,58,133)),COLOR853AFF;
DRAWBAND(2,RGB(255,152,0),2.5,RGB(255,152,0)),COLOR0098FF;
DRAWTEXT(ISLASTBAR,0.25,'███'),COLORFF8B00;
DRAWTEXT(ISLASTBAR,0.25,'冰冻'),COLORFFFFCC;
DRAWTEXT(ISLASTBAR,0.75,'███'),COLOR007800;
DRAWTEXT(ISLASTBAR,0.75,'冷门'),COLORWHITE;
DRAWTEXT(ISLASTBAR,1.25,'███'),COLORBB00BB;
DRAWTEXT(ISLASTBAR,1.25,'活跃'),COLORFFFFCC;
DRAWTEXT(ISLASTBAR,1.75,'███'),COLOR853AFF;
DRAWTEXT(ISLASTBAR,1.75,'热门'),COLORWHITE;
DRAWTEXT(ISLASTBAR,2.25,'███'),COLOR0098FF;
DRAWTEXT(ISLASTBAR,2.25,'高温'),COLORWHITE;
R:=PERIOD;
S:=FROMOPEN;
VA1:=EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)/CLOSE;
地:IF(VA1>=2.5,2.5,VA1),COLORYELLOW,LINETHICK2;
天:POW(ATAN(EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)),2),COLORB5CA43,LINETHICK2;
趋势:EMA(WINNER(CLOSE)*100,10)/50,LINETHICK2,COLOR0015FF;
买卖:EMA((-3)*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))+2.7,9),COLORWHITE,LINETHICK2;
低①:买卖<0,COLORRED,NODRAW;
STICKLINE(低①,0,-0.1,3,0),COLORRED;
低②:买卖<0.1 AND 买卖>0 AND 买卖>=REF(买卖,1),COLORGREEN,NODRAW;
STICKLINE(低②,0,-0.1,2.5,0),COLORGREEN;
低③:买卖<0.25 AND 买卖>0.1 AND 买卖>=REF(买卖,1),COLORYELLOW,NODRAW;
STICKLINE(低③,0,-0.1,2,0),COLORYELLOW;
低A:买卖<0 AND 买卖>=REF(买卖,1),COLOR0099FF,NODRAW;
STICKLINE(低A,0.1,-0.1,3,0),COLOR0099FF;
低B:买卖=REF(买卖,1) AND 买卖<0.8 AND 趋势>=REF(趋势,1) AND REF(EXIST(买卖<=REF(买卖,1),2),1) AND REF(EXIST(买卖<=0,10),8),COLOR0099FF,NODRAW;
STICKLINE(低B,0.3,0,3,0),COLOR0099FF;
高①:买卖>2.5 AND 买卖>REF(买卖,1),COLORRED,NODRAW;
STICKLINE(高①,2.6,2.4,3,0),COLORRED;
高②:天>=1.9 AND 买卖>=2.2 AND CROSS(REF(HHV(买卖,3),3),天),COLOR007800,NODRAW;
STICKLINE(高②,2.6,2.4,2.5,0),COLOR007800;{股票指标网http://}
高③:天<1.77 AND 买卖>=2.2 AND CROSS(REF(HHV(买卖,7),6),天),COLORFF8B00,NODRAW;
STICKLINE(高③,2.6,2.4,2,0),COLORFF8B00;
高A:买卖>2.45 AND 买卖<2.5 AND 买卖<=REF(买卖,1),COLORRED,NODRAW;
STICKLINE(高A,2.5,2.4,3,0),COLORRED;
高B:买卖>REF(LLV(买卖,5),4) AND 买卖<=REF(买卖,1) AND 买卖>1.5 AND 趋势<=REF(趋势,1) AND REF(EXIST(买卖>=REF(买卖,1),2),1) AND REF(EXIST(买卖>=2.48,10),8),COLOR0099FF,NODRAW;
STICKLINE(高B,2.7,2.4,3,0),COLOR0099FF;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
DRAWBAND(0,RGB(0,139,255),0.5,RGB(0,139,255)),COLORFF8B00
DRAWBAND(0.5,RGB(0,120,0),1,RGB(0,120,0)),COLOR007800
DRAWBAND(1,RGB(187,0,187),1.5,RGB(187,0,187)),COLORBB00BB
DRAWBAND(1.5,RGB(255,58,133),2,RGB(255,58,133)),COLOR853AFF
DRAWBAND(2,RGB(255,152,0),2.5,RGB(255,152,0)),COLOR0098FF
当满足条件ISLASTBAR时,在0.25和'███'位置书写文字
当满足条件ISLASTBAR时,在0.25和'冰冻'位置书写文字
当满足条件ISLASTBAR时,在0.75和'███'位置书写文字
当满足条件ISLASTBAR时,在0.75和'冷门'位置书写文字
当满足条件ISLASTBAR时,在1.25和'███'位置书写文字
当满足条件ISLASTBAR时,在1.25和'活跃'位置书写文字
当满足条件ISLASTBAR时,在1.75和'███'位置书写文字
当满足条件ISLASTBAR时,在1.75和'热门'位置书写文字
当满足条件ISLASTBAR时,在2.25和'███'位置书写文字
当满足条件ISLASTBAR时,在2.25和'高温'位置书写文字
R赋值:PERIOD
S赋值:FROM开盘价
VA1赋值:EMA(当前流通股本/IF(R=0,S的成交量日累和,成交量)/CLOSE,10)/CLOSE
如果VA1>=2.5返回2.5否则返回VA1
输出天:POW(ATAN(EMA(当前流通股本/IF(R=0,S的成交量日累和,成交量)/CLOSE,10)),2),COLORB5CA43, 线宽为2
输出趋势:EMA(CLOSE计算的获利盘比例*100,10)/50, 线宽为2,COLOR0015FF
输出买卖:EMA((-3)*(30日内最高价最高值-CLOSE)/(30日内最高价最高值-30日内最低价最低值)+2.7,9),COLORWHITE, 线宽为2
输出低①:买卖<0,COLORRED,NODRAW
当满足条件低①时,在0和-0.1之间画柱状线
输出低②:买卖<0.1 AND 买卖>0 AND 买卖>=1日前的买卖,COLORGREEN,NODRAW
当满足条件低②时,在0和-0.1之间画柱状线
输出低③:买卖<0.25 AND 买卖>0.1 AND 买卖>=1日前的买卖,COLORYEL最低价,NODRAW
当满足条件低③时,在0和-0.1之间画柱状线
输出低A:买卖<0 AND 买卖>=1日前的买卖,COLOR0099FF,NODRAW
当满足条件低A时,在0.1和-0.1之间画柱状线
输出低B:买卖=1日前的买卖 AND 买卖<0.8 AND 趋势>=1日前的趋势 AND REF(EXIST(买卖<=1日前的买卖,2),1) AND REF(EXIST(买卖<=0,10),8),COLOR0099FF,NODRAW
当满足条件低B时,在0.3和0之间画柱状线
输出高①:买卖>2.5 AND 买卖>1日前的买卖,COLORRED,NODRAW
当满足条件高①时,在2.6和2.4之间画柱状线
输出高②:天>=1.9 AND 买卖>=2.2 AND CROSS(REF(3日内买卖最高值,3),天),COLOR007800,NODRAW
当满足条件高②时,在2.6和2.4之间画柱状线
{股票指标网HTTP://}高③:天<1.77 AND 买卖>=2.2 AND CROSS(REF(7日内买卖最高值,6),天),COLORFF8B00,NODRAW
当满足条件高③时,在2.6和2.4之间画柱状线
输出高A:买卖>2.45 AND 买卖<2.5 AND 买卖<=1日前的买卖,COLORRED,NODRAW
当满足条件高A时,在2.5和2.4之间画柱状线
输出高B:买卖>REF(5日内买卖最低值,4) AND 买卖<=REF(买卖,1) AND 买卖>1.5 AND 趋势<=REF(趋势,1) AND REF(EXIST(买卖>=REF(买卖,1),2),1) AND REF(EXIST(买卖>=2.48,10),8),COLOR0099FF,NODRAW
当满足条件高B时,在2.7和2.4之间画柱状线