股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺最准确启动点指标公式 短趋势线


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-29 17:47:40
同花顺最准确启动点指标公式 短趋势线介绍

同花顺最准确启动点指标公式 短趋势线

说明:本指示由MACD,顶底雷达,主力线与散户线,+三日操盘线,通达信最准确启动点台成。请各位先熟悉一下本指标的线条名称及数字表达的意思,它们用不同的颜色显示,在指标的上方显示。
在指标里有一组红白线组成的组台这是主力线与散户线,红色是主力线,白色是散户线。MACD指标提供的数值代表该股强弱力度,大于。为强势,小于。为弱势+三日操盘线是短趋势线,红色区域表示多头趋势,绿色区域表示空头趋势,它的作用就是给出一个短线趋势信号。黄色柱子和小手图标为抄底信号。青色和绿色的柱子为风险提示。见顶信号用绿色三角形表示并有文字提示,其提示在底部区域显示。在顶部区域“趋势”线下穿“趋势1”线是减仓或清仓的提示。增加了强弱分界线(50线)便于看盘。
特别提示:在下降趋势中,多数买入信号是无效信号,因为趋势决定走势{同样的道理,在上涨趋势中,多数“见顶”信号也是无效信号,还是那句话,趋势决定走势{只有趋势发生转折,才可确认是否见顶。
另外,强调一点,时机的把握还得看大盘的眼色,这个很重要。使用本指标时请配台均线,成交里和其它指标,这样效果更佳。
本指标无未来函数。
 

DIF:EMA(CLOSE,9)-EMA(CLOSE,150),NODRAW;
DEA:EMA(DIF,12),NODRAW;
MACD:2*(DIF-DEA),COLORSTICK;
DIK:4*DIF-3*DEA,coloryellow;
DED:=EMA(DIK,1),colorgreen;
IF(C>DED,DED,DRAWNULL),colorred,LINETHICK3;
IF(DED<=REF(DED,1),DED,DRAWNULL),colorgreen,LINETHICK3;
启动点:=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)<REF(MACD ,2)
AND REF(MACD ,2)<REF(MACD ,3)
AND REF(MACD ,3)<REF(MACD ,4);
STICKLINE(启动点,8,MACD,2,0),colormagenta;
分界线:50,colorliyellow;
DRAWICON(启动点,20,11);
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR40FF00;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR40FF00;
趋势:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
,3,1),2,1),COLOR7F52AF;
趋势1:EMA(MA(趋势,5),3),COLORA6B8C1;
STICKLINE(趋势>=趋势1,趋势,趋势1,2,0),COLOR7F52AF;
STICKLINE(趋势<趋势1,趋势,趋势1,2,0),COLORA6B8C1;
STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,2,0),colorblue ;
STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,2,0),colorwhite;
STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,2,0),COLORF00FF0 ;
STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,2,0),COLORF0F000;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,20);
V3:=COUNT(MA(C,1)>REF(C,1),3)=3;
风险:IF(V1 AND V2 AND V3,30,0),STICK,COLOR00FF00;
V11:=MA(C,5)=HHV(MA(C,5),120);
V21:=MA(C,5)>MA(C,120);
V31:=COUNT(MA(C,1)>REF(C,1),3)=3;
风险1:IF(V11 AND V21 AND V31,60,0),STICK,COLORF0F000;
底部:5;
抄底:IF(CROSS(趋势,底部),60,0),STICK,coloryellow,LINETHICK4;
DRAWTEXT(抄底,50,'抄底'),colorred;
天线:108,COLORFF9D00;
逃顶:IF(CROSS(天线,趋势),1,0),STICK,COLORFF9D00;
STICKLINE(CROSS(天线,趋势),90,108,6,0),COLORFF9D00;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
顶部雷达:CROSS(80,RSI)*30,LINETHICK2 ,colorgreen;
DRAWTEXT(CROSS(80,RSI),30,'见顶 '),colorgreen;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
底部雷达:(VARB< 20 AND VARC< 25 AND VARD> 50)*30,LINETHICK2, COLORFF9933;
DRAWTEXT(CROSS(100,底部雷达) ,20,'底 '),LINETHICK1,COLORF00FF0;
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),LINETHICK1 ,colorred;
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7),LINETHICK1 ,colorwhite;
DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-20,'升'),COLOR00CCFF;
DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1)OR CROSS(主力,散户) AND 散户<-35 ,-15,1);
DRAWTEXT(CROSS(18,RSI)AND 散户<-20 AND 底部雷达 ,25,'底 '),LINETHICK1, COLORF00FF0;
N:=5;
趋势线:MA(CLOSE,13),colorblack;
PARTLINE(MA(CLOSE,13),MA(CLOSE,13)<REF(MA(CLOSE,13),1),colorgreen,
MA(CLOSE,13)>=REF(MA(CLOSE,13),1),colorred),LINETHICK3;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,26)*15+C,45);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWBMP(BU,L*0.999,'B');
DRAWBMP(SEL,H*1.02,'S');
STICKLINE(买线>=卖线,LOW,HIGH,1,1),colorlired;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorlired;
JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;
参考价:=SMA(JC,5,1),colorcyan;
价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF;
STICKLINE(买线<卖线,LOW,HIGH,1,1),colorcyan;
STICKLINE(买线<卖线,CLOSE,OPEN,8,1),colorcyan;
PARTLINE(MA(CLOSE,13),MA(CLOSE,13)<REF(MA(CLOSE,13),1),colorgreen,
MA(CLOSE,13)>=REF(MA(CLOSE,13),1),colorred),LINETHICK2;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,26)*15+C,45);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWBMP(BU,L*0.999,'B');
DRAWBMP(SEL,H*1.02,'S');
STICKLINE(买线>=卖线,LOW,HIGH,1,1),colorlired;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorlired;
JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;
参考价:=SMA(JC,5,1),colorcyan;
价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF;
STICKLINE(买线<卖线,LOW,HIGH,1,1),colorcyan;
STICKLINE(买线<卖线,CLOSE,OPEN,8,1),colorcyan;
短趋势线:MA(CLOSE,13),colorred,LINETHICK3;
涨:IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),colorred,LINETHICK3;
平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK3;
跌:IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),colorgreen,LINETHICK3;






gd46000

回复

举报

QQ|

GMT+8, 2024-11-17 23:37

快速回复 返回顶部 返回列表