您的位置 首页 通达信公式

通达信气壮山河指标公式

{指标介绍:
1、气壮山河结合了macdkdj两大指标。可做中短期行情
2、绿色牛熊线之上中线看涨,之下看空,清晰明了。
3、金黄色k线代表KDJ金叉,深蓝色的代表死叉
4、背景是绿色的河,即是MACD死叉。
5、背景是红色的山,即是MACD金叉。
6、由河到山一刹那,即是MACD金叉的买点,红掌绿跌。
7、黄色星星是今日之升,短期看涨,短线买点!!!
8、黄线是阻力
9、股价横盘或者连续下跌,找支撑,蓝线即是支撑。
10、上红下白是向上拐点,买入
11、上绿下蓝是向下拐点,卖出。两种K线形影不离,短线好帮手。
12、低位连续出现黄星,不买就踏空。
13、均价线是结合指数平均线和股价平均线,异常灵敏,初衷是做股指期货和外盘超短线。
14、涨停板和跌停板的特征是镶黄色金边。} N:=5;M1:=3;M2:=3;QWX1:=HHV(CLOSE,30);QWX2:=LLV(CLOSE,30);QWX3:=CONST((QWX1+QWX2)/2);QWX4:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);QWX5:=CONST((1-7/100)*(DMA(CLOSE,QWX4)));QWX6:=CONST((1+7/100)*(DMA(CLOSE,QWX4)));{kdj}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;KX:=SMA(RSV,3,1);DX:=SMA(KX,3,1);JX:=3*KX-2*DX;{macd}DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*2+QWX3,COLORWHITE;DEA:=EMA(DIF,9),COLORYELLOW;MCD:=(DIF-DEA)*2+QWX3;DRAWBAND(MCD,RGB(120,0,100),QWX3,RGB(60,100,50));DRAWKLINE(HIGH,OPEN,LOW,CLOSE);牛熊线:(EMA(CLOSE,30)+EMA(CLOSE,72))/2,LINETHICK2,COLORGREEN;M5:MA(CLOSE,N),COLORWHITE;M10:MA(CLOSE,M1),COLORYELLOW;M20:MA(CLOSE,M2),COLORFF00FF;VAR1:=IF(CLOSE>OPEN,CLOSE,OPEN);VAR2:=MEMA(CLOSE,5);VAR3:=ATAN((VAR2/REF(VAR2,1)-1)*100);VAR4:=IF(VAR3>0,VAR3,VAR3);VAR5:=(CLOSE/REF(CLOSE,1)-1)*100;VAR6:=VAR5<1.5 AND VAR5>-1.5;今日之升★:LAST(VAR6,4,1) AND VAR5>2 AND vol>REF(VOL,1),NODRAW,COLORYELLOW;DRAWTEXT(今日之升★,L/1.01,'★'),COLORYELLOW;强势:IF(VAR4>=REF(VAR4,1) AND VAR4>=0,M10,DRAWNULL),COLORRED,LINETHICK2;整理:IF(VAR4<REF(VAR4,1) AND VAR4>0,M10,DRAWNULL),COLORGREEN,LINETHICK2;支撑:IF(PERIOD=5,IF(BArslAST(CURRBARSCOUNT=5),QWX5,DRAWNULL),DRAWNULL),COLORCYAN;阻力:IF(PERIOD=5,IF(BARSLAST(CURRBARSCOUNT=5),QWX6,DRAWNULL),DRAWNULL),COLORYELLOW;{柱型显示}STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,-1),COLORGREEN;{蓝}STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;{红}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;{绿}STICKLINE(crOSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,3,0),COLOR009900;STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,2.2,0),COLOR00BB00;STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,1.5,0),COLOR00DD00;STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;{灰}STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB;STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDDDDD;STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;STICKLINE(CROSS(JX,DX),OPEN,CLOSE,0.5,0),COLORYELLOW;STICKLINE(CROSS(DX,JX),OPEN,CLOSE,0.5,0),COLOR000099;

通达信气壮山河指标公式

本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/94530.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: admin@gszb.top

关注微信
微信扫一扫关注我们

微信扫一扫关注公众号

加入QQ群
   
微信扫一扫关注我们

QQ扫一扫加入公式群

返回顶部