通达信大智慧飞狐通用的顾比均线指标顾比临界点选股公式源码大全[其他软件公式]
顾比均线-判断趋势的不二选择
其核心是短期均线组和长期均线组同时出现了价咯方向的一致变化,则是交易机会来临的重要信号。
这套短、长两组均线系统,主要用来判断趋势。该均线系统的主要特点是它的视觉效果。当短、长两组均线都处于空头排列时,就像两层厚重的乌云压着K线,形态非常难看。看到这种形态的股票,自然会让投资者望而却步,回避投资风险;当股价穿云破雾,短、长两组均线都处于多头排列时,就像两道彩虹蓬勃而出,其形态格外耀眼夺目。这种K线图形自然吸引投资者的介入,当然也会有比较好的回报。
经过实践运用, 该指标设计了5个趋势临界点,其主要形态是长短期均线向上收敛、粘合、金叉:①长期均线开始收敛,短期均线与长期均线金叉,信号点为蓝色钻石图标;②长短期均线处于强势,短期均线在长期均线上方金叉,信号点为粉色钻石图标;③短期均线和长期均线高度收敛,一阳上穿短期和长期全部均线,信号点为绿色钻石图标;④在长期均线逐步收敛时,短期均线向上突破长期多条均线,短期均线与长期均线金叉,信号点为红底形似白色燕子的图标;⑤出水芙蓉形态,信号点为钱袋子图标。这5个关键点基本满足了6种形态的起涨点。也就是说,最佳买入点就在短期穿长期,长期趋向粘合,短长期粘合共振时,或短期突破长期后再回抽长期均线确认时介入。而这5个关键点基本体现了所描述的最佳买入点!
一旦短期均线组和长期均线组同时出现了价咯方向的一致变化,则是交易机会来临的重要信号。当K线远离短期均线时应该回避短期风险,并有计划的减仓。
通达信源码
{顾比均线}
E3:EMA(CLOSE,3),COLOR61DC16;
E5:EMA(CLOSE,5),COLOR61DC16;
E8:EMA(CLOSE,8),COLOR61DC16;
E10:EMA(CLOSE,10),COLOR61DC16;
E12:EMA(CLOSE,12),COLOR61DC16;
E15:EMA(CLOSE,15),COLOR61DC16;
E30:EMA(CLOSE,30),COLORD1875A;
E35:EMA(CLOSE,35),COLORD1875A;
E40:EMA(CLOSE,40),COLORD1875A;
E45:EMA(CLOSE,45),COLORD1875A;
E50:EMA(CLOSE,50),COLORD1875A;
E60:EMA(CLOSE,60),COLORD1875A;
IF(E3>REF(E3,1),E3,DRAWNULL),COLORYELLOW;
IF(E5>REF(E5,1),E5,DRAWNULL),COLORYELLOW;
IF(E8>REF(E8,1),E8,DRAWNULL),COLORYELLOW;
IF(E10>REF(E10,1),E10,DRAWNULL),COLORYELLOW;
IF(E12>REF(E12,1),E12,DRAWNULL),COLORYELLOW;
IF(E15>REF(E15,1),E15,DRAWNULL),COLORYELLOW;
IF(E30>REF(E30,1),E30,DRAWNULL),COLORFF00FF;
IF(E35>REF(E35,1),E35,DRAWNULL),COLORFF00FF;
IF(E40>REF(E40,1),E40,DRAWNULL),COLORFF00FF;
IF(E45>REF(E45,1),E45,DRAWNULL),COLORFF00FF;
IF(E50>REF(E50,1),E50,DRAWNULL),COLORFF00FF;
IF(E60>REF(E60,1),E60,DRAWNULL),COLORFF00FF;
STICKLINE(C>O,C,O,1,0),COLORRED;
STICKLINE(C>O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,1,0),COLORFFFF52;
STICKLINE(C<=O,H,L,0,0),COLORFFFF52;
DRAWICON(EMA(CLOSE,8)>EMA(CLOSE,15) AND EMA(CLOSE,40)>REF(EMA(CLOSE,40),1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,35)),L-0.20,24);
DRAWICON(EMA(CLOSE,15)>EMA(CLOSE,40) AND EMA(CLOSE,35)>REF(EMA(CLOSE,35),1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,5)),L-0.20,25);
DRAWICON(ABS(EMA(CLOSE,15)-EMA(CLOSE,60))/C<0.01 AND EMA(CLOSE,15)>EMA(CLOSE,30) AND O<EMA(CLOSE,3) AND C>EMA(CLOSE,3) AND O<EMA(CLOSE,15) AND C>EMA(CLOSE,15) AND O<EMA(CLOSE,30) AND C>EMA(CLOSE,30) AND O<EMA(CLOSE,60) AND C>EMA(CLOSE,60),L-0.20,27);
DRAWTEXT_FIX(C>O,0.001,0.001,0,'代编写服务QQ:511411198 微信:CXH99CXH99 公众号:A26206'),COLORWHITE;
DRAWICON(ABS(EMA(CLOSE,45)-EMA(CLOSE,30))/C<0.011 AND EMA(CLOSE,3)>EMA(CLOSE,15) AND EMA(CLOSE,15)>EMA(CLOSE,40) AND CROSS(EMA(CLOSE,5),EMA(CLOSE,60)),L-0.20,13);
A1:=O<EMA(CLOSE,20) OR O<EMA(CLOSE,40) OR O<EMA(CLOSE,60);
A2:=C>MAX(EMA(CLOSE,20),MAX(EMA(CLOSE,40),EMA(CLOSE,60)));
A3:=V/MA(VOL,10)>1.2;
A4:=C/REF(CLOSE,1)>1.049;
出水芙蓉:=A1 AND A2 AND A3 AND A4 AND O<EMA(CLOSE,60) AND C>EMA(CLOSE,60);
DRAWICON(出水芙蓉,L-0.20,9);
{程序化交易 www.cxh99.com }
{顾比均线}(其他股软可用,如大智慧等,预警XG指标可通用)
E3:EMA(CLOSE,3),COLORYELLOW;
E5:EMA(CLOSE,5),COLORYELLOW;
E8:EMA(CLOSE,8),COLORYELLOW;
E10:EMA(CLOSE,10),COLORYELLOW;
E12:EMA(CLOSE,12),COLORYELLOW;
E15:EMA(CLOSE,15),COLORYELLOW;
E30:EMA(CLOSE,30),COLORD1875A;
E35:EMA(CLOSE,35),COLORD1875A;
E40:EMA(CLOSE,40),COLORD1875A;
E45:EMA(CLOSE,45),COLORD1875A;
E50:EMA(CLOSE,50),COLORD1875A;
E60:EMA(CLOSE,60),COLORD1875A;
STICKLINE(C>O,C,O,4,0),COLORRED;
STICKLINE(C>O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,4,0),COLORFFFF52;
STICKLINE(C<=O,H,L,0,0),COLORFFFF52;
DRAWICON(EMA(CLOSE,8)>EMA(CLOSE,15) AND EMA(CLOSE,40)>REF(EMA(CLOSE,40),1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,35)),L-0.20,1);
DRAWICON(EMA(CLOSE,15)>EMA(CLOSE,40) AND EMA(CLOSE,35)>REF(EMA(CLOSE,35),1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,5)),L-0.20,1);
DRAWICON(ABS(EMA(CLOSE,15)-EMA(CLOSE,60))/C<0.01 AND EMA(CLOSE,15)>EMA(CLOSE,30) AND O<EMA(CLOSE,3) AND C>EMA(CLOSE,3) AND O<EMA(CLOSE,15) AND C>EMA(CLOSE,15) AND O<EMA(CLOSE,30) AND C>EMA(CLOSE,30) AND O<EMA(CLOSE,60) AND C>EMA(CLOSE,60),L-0.20,1);
DRAWICON(ABS(EMA(CLOSE,45)-EMA(CLOSE,30))/C<0.011 AND EMA(CLOSE,3)>EMA(CLOSE,15) AND EMA(CLOSE,15)>EMA(CLOSE,40) AND CROSS(EMA(CLOSE,5),EMA(CLOSE,60)),L-0.20,1);
A1:=O<EMA(CLOSE,20) OR O<EMA(CLOSE,40) OR O<EMA(CLOSE,60);
A2:=C>MAX(EMA(CLOSE,20),MAX(EMA(CLOSE,40),EMA(CLOSE,60)));
A3:=V/MA(VOL,10)>1.2;
A4:=C/REF(CLOSE,1)>1.049;
出水芙蓉:=A1 AND A2 AND A3 AND A4 AND O<EMA(CLOSE,60) AND C>EMA(CLOSE,60);
DRAWICON(出水芙蓉,L-0.20,1);
预警XG指标--顾比临界点
GB1:=EMA(CLOSE,8)>EMA(CLOSE,15) AND EMA(CLOSE,40)>REF(EMA(CLOSE,40),1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,35));
GB2:=EMA(CLOSE,15)>EMA(CLOSE,40) AND EMA(CLOSE,35)>REF(EMA(CLOSE,35),1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,5));
GB3:=ABS(EMA(CLOSE,15)-EMA(CLOSE,60))/C<0.01 AND EMA(CLOSE,15)>EMA(CLOSE,30) AND O<EMA(CLOSE,3) AND C>EMA(CLOSE,3) AND O<EMA(CLOSE,15) AND C>EMA(CLOSE,15) AND O<EMA(CLOSE,30) AND C>EMA(CLOSE,30) AND O<EMA(CLOSE,60) AND C>EMA(CLOSE,60);
GB4:=ABS(EMA(CLOSE,45)-EMA(CLOSE,30))/C<0.011 AND EMA(CLOSE,3)>EMA(CLOSE,15) AND EMA(CLOSE,15)>EMA(CLOSE,40) AND CROSS(EMA(CLOSE,5),EMA(CLOSE,60));
A1:=O<EMA(CLOSE,20) OR O<EMA(CLOSE,40) OR O<EMA(CLOSE,60);
A2:=C>MAX(EMA(CLOSE,20),MAX(EMA(CLOSE,40),EMA(CLOSE,60)));
A3:=V/MA(VOL,10)>1.2;
A4:=C/REF(CLOSE,1)>1.049;
出水芙蓉:=A1 AND A2 AND A3 AND A4 AND O<EMA(CLOSE,60) AND C>EMA(CLOSE,60);
GB1 OR GB2 OR GB3 OR GB4 OR 出水芙蓉;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容