【通达信指标】趋势通道指标公式(主图+选股)

第一部分 指标介绍1.通达信趋势通道主图将股价的最高点与最低点的运行趋势进行综合运算画出股价的警戒线与机会线,涨幅超过警戒线要注意风险,跌破机会线要留意机会,同时叠加了抄底搏杀信号,与机会买入信号,减仓信号,有点类似布林线,但是又比布林线好用的多,可以多研究研究;

2.用法上以上线波段幅度较大的个股为主要选择,放弃单边下跌的个股,抄底搏杀可做今买明卖信号使用,且持股不能超3天,机会买入信号为估计低位起涨有起势预期,可建仓,持股周期5天左右,频繁出现信号可选择继续买;3.指标不含未来函数,指标不漂移。

第二部分 公式源码{趋势通道–主图}

M0:=CLOSE;

GHCZS1:=(M0+H+O+L)/4;

GHCZS2:=MA(M0,3);

GHCZS3:=(M0-GHCZS2)/GHCZS2*100;

GHCZS4:=MA(M0,7);

GHCZS5:=(M0-GHCZS4)/GHCZS4*100;

GHCZS6:=MA(M0,5);

GHCZS7:=CROSS(0,GHCZS3) AND GHCZS5<REF(GHCZS5,1) AND GHCZS6>REF(GHCZS6,1);

GHCZS8:=FILTER(GHCZS7,10);

GHCZS9:=(M0-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

GHCZS10:=REF(MA(GHCZS9,3),1)+(GHCZS9-REF(MA(GHCZS9,3),1))/3;

GHCZS11:=REF(MA(GHCZS10,3),1)+(GHCZS10-REF(MA(GHCZS10,3),1))/3;

GHCZS12:=3*GHCZS10-2*GHCZS11;

GHCZS13:=EMA(GHCZS12,5);

GHCZS14:=REF(GHCZS13,1);

GHCZS15:=C<REF(C,1) AND L=HIGH;

GHCZS16:=NOT(GHCZS15);

GHCZS17:=(M0-MA(M0,13))/MA(M0,13)*100/0.7;

GHCZS18:=(M0-MA(M0,6))/MA(M0,6)*100*2;

GHCZS19:=(M0-MA(M0,11))/MA(M0,11)*100/0.3/1.3/1.5;

GHCZS20:=IF(GHCZS18<-9,32,40);

GHCZS21:=IF(GHCZS19<-12,22,30);

GHCZS25:=IF(GHCZS17<-12,12,20);

GHCZS26:=GHCZS20<40 AND GHCZS21<30 AND GHCZS25<20 AND GHCZS16 AND C>L AND C>MA(C,60);

DRAWICON(GHCZS8,HIGH*1.03,2);

DRAWTEXT(GHCZS8,HIGH*1.03,’ 减仓’),COLORGREEN;

警戒线:MA(GHCZS1,20)*(1+80/1000),COLOR00FF00,LINETHICK1;

机会线:MA(GHCZS1,32)*(1-100/1000),COLOR00FFFF,LINETHICK1;

STICKLINE(警戒线>LOW AND 警戒线<HIGH,警戒线,MAX(警戒线,MAX(OPEN,M0)),3,0),COLORFFFF80;

DRAWTEXT_FIX(1,0,0.07,0,’微信公众号:股海操作手’),COLORMAGENTA,LINETHICK4;

STICKLINE(警戒线>MIN(C,O) AND 警戒线<MAX(C,O),警戒线,MAX(OPEN,M0),3,0),COLORFFFF80;

STICKLINE(警戒线>LOW AND 警戒线<HIGH,警戒线,HIGH,0,0),COLORFFFF80;

STICKLINE(警戒线<LOW,OPEN,M0,3,0),COLORFFFF80;

STICKLINE(警戒线<LOW,HIGH,LOW,0,0),COLORFFFF80;

STICKLINE(机会线>LOW AND 机会线<HIGH,机会线,MIN(MIN(OPEN,M0),机会线),3,0),COLOR8080FF;

STICKLINE(机会线>MIN(C,O) AND 机会线<MAX(C,O),机会线,MIN(OPEN,M0),3,0),COLOR8080FF;

STICKLINE(机会线>LOW AND 机会线<HIGH,机会线,LOW,0,0),COLOR8080FF;

STICKLINE(机会线>HIGH,OPEN,M0,3,0),COLOR8080FF;

STICKLINE(机会线>HIGH,HIGH,LOW,0,0),COLOR8080FF;

DRAWTEXT(CROSS(C,机会线) AND GHCZS13>GHCZS14 AND C>REF(O,2),机会线*0.95,’  买入机会’),COLOR0000FF;

DRAWICON(CROSS(C,机会线) AND GHCZS13>GHCZS14 AND C>REF(O,2),机会线*0.98,34);

DRAWTEXT(GHCZS26>0,机会线*0.95,’ ←抄底搏’),COLOR00FFFF;DRAWICON(GHCZS26>0,机会线*0.97,30);

图片[1]-【通达信指标】趋势通道指标公式(主图+选股)-股金吧

第三部分 选股公式{趋势通道–选股}

M0:=CLOSE;

GHCZS1:=(M0+H+O+L)/4;

GHCZS2:=MA(M0,3);

GHCZS3:=(M0-GHCZS2)/GHCZS2*100;

GHCZS4:=MA(M0,7);

GHCZS5:=(M0-GHCZS4)/GHCZS4*100;

GHCZS6:=MA(M0,5);

GHCZS7:=CROSS(0,GHCZS3) AND GHCZS5<REF(GHCZS5,1) AND GHCZS6>REF(GHCZS6,1);

GHCZS8:=FILTER(GHCZS7,10);

GHCZS9:=(M0-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

GHCZS10:=REF(MA(GHCZS9,3),1)+(GHCZS9-REF(MA(GHCZS9,3),1))/3;

GHCZS11:=REF(MA(GHCZS10,3),1)+(GHCZS10-REF(MA(GHCZS10,3),1))/3;

GHCZS12:=3*GHCZS10-2*GHCZS11;

GHCZS13:=EMA(GHCZS12,5);

GHCZS14:=REF(GHCZS13,1);

GHCZS15:=C<REF(C,1) AND L=HIGH;

GHCZS16:=NOT(GHCZS15);

GHCZS17:=(M0-MA(M0,13))/MA(M0,13)*100/0.7;

GHCZS18:=(M0-MA(M0,6))/MA(M0,6)*100*2;

GHCZS19:=(M0-MA(M0,11))/MA(M0,11)*100/0.3/1.3/1.5;

GHCZS20:=IF(GHCZS18<-9,32,40);

GHCZS21:=IF(GHCZS19<-12,22,30);

GHCZS25:=IF(GHCZS17<-12,12,20);

GHCZS26:=GHCZS20<40 AND GHCZS21<30 AND GHCZS25<20 AND GHCZS16 AND C>L AND C>MA(C,60);

机会线:=MA(GHCZS1,32)*(1-100/1000);

买入机会选股:CROSS(C,机会线) AND GHCZS13>GHCZS14 AND C>REF(O,2);

{趋势通道–抄底搏选股}

M0:=CLOSE;

XG_1:=C<REF(C,1) AND L=HIGH;

XG_2:=NOT(XG_1);

XG_3:=(M0-MA(M0,13))/MA(M0,13)*100/0.7;

XG_4:=(M0-MA(M0,6))/MA(M0,6)*100*2;

XG_5:=(M0-MA(M0,11))/MA(M0,11)*100/0.3/1.3/1.5;

XG_6:=IF(XG_4<-9,32,40);

XG_7:=IF(XG_5<-12,22,30);

XG_8:=IF(XG_3<-12,12,20);

XG_9:=XG_6<40 AND XG_7<30 AND XG_8<20 AND XG_2 AND C>L AND C>MA(C,60);抄底搏选股:XG_9>0;

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享
头像

พอกันที ท่ามิชชันนารีสุดเชย ถึงเวลาพลิกจุดให้ปลุกเร้า2年前0

Hello there! This is my first visit to your blog! We are a team of volunteers and starting a new project in a community in the same niche. Your blog provided us beneficial information to work on. You have done a marvellous job!
头像

หลังจากนั้นค่อย ๆ เอาขาลง ทีนี้ก็เริ่มประกอบกิจกรรมอย่างเข้ากันดีได้เลย2年前0

Hi there to every body, it's my first go to see of this weblog; this web site includes awesome and actually excellent data designed for readers.
头像

situs judi online indonesia terpercaya2年前0

bookmarked!!, I really like your blog!