当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信顾比均线的应用源码(无源码的请下载附件导入)
通达信顾比均线的应用源码
经过实践运用,该指标设计了5个趋势临界点,其主要形态是长短期均线向上收敛、粘合、金叉:①长期均线开始收敛,短期均线与长期均线金叉,信号点为蓝色钻石图标;②长短期均线处于强势,短期均线在长期均线上方金叉,信号点为粉色钻石图标;③短期均线和长期均线高度收敛,一阳上穿短期和长期全部均线,信号点为绿色钻石图标;④在长期均线逐步收敛时,短期均线向上突破长期多条均线,短期均线与长期均线金叉,信号点为红底形似白色燕子的图标;⑤出水芙蓉形态,信号点为钱袋子图标。这5个关键点基本满足了6种形态的起涨点。也就是说,最佳买入点就在短期穿长期,长期趋向粘合,短长期粘合共振时,或短期突破长期后再回抽长期均线确认时介入。而这5个关键点基本体现了所描述的最佳买入点!
一旦短期均线组和长期均线组同时出现了价格方向的一致变化,则是交易机会来临的重要信号。当K线远离短期均线时应该回避短期风险,并有计划的减仓。
{公式在线提供:www.gszx.com.cn}
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {顾比均线}
- E3:EMA(C,3),COLOR61DC16;
- E5:EMA(C,5),COLOR61DC16;
- E8:EMA(C,8),COLOR61DC16;
- E10:EMA(C,10),COLOR61DC16;
- E12:EMA(C,12),COLOR61DC16;
- E15:EMA(C,15),COLOR61DC16;
- E30:EMA(C,30),COLORD1875A;
- E35:EMA(C,35),COLORD1875A;
- E40:EMA(C,40),COLORD1875A;
- E45:EMA(C,45),COLORD1875A;
- E50:EMA(C,50),COLORD1875A;
- E60:EMA(C,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(C,8)>EMA(C,15) AND EMA(C,40)>REF(EMA(C,40),1) AND CROSS(EMA(C,3),EMA(C,35)),L-0.20,24);
- DRAWICON(EMA(C,15)>EMA(C,40) AND EMA(C,35)>REF(EMA(C,35),1) AND CROSS(EMA(C,3),EMA(C,5)),L-0.20,25);
- DRAWICON(ABS(EMA(C,15)-EMA(C,60))/C<0.01 AND EMA(C,15)>EMA(C,30) AND O<EMA(C,3) AND C>EMA(C,3) AND O<EMA(C,15) AND C>EMA(C,15) AND O<EMA(C,30) AND C>EMA(C,30) AND O<EMA(C,60) AND C>EMA(C,60),L-0.20,27);
- DRAWICON(ABS(EMA(C,45)-EMA(C,30))/C<0.011 AND EMA(C,3)>EMA(C,15) AND EMA(C,15)>EMA(C,40) AND CROSS(EMA(C,5),EMA(C,60)),L-0.20,13);
- A1:=OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60);
- A2:=C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60)));
- A3:=V/MA(V,10)>1.2;
- A4:=C/REF(C,1)>1.049;
- 出水芙蓉:=A1 AND A2 AND A3 AND A4 AND O<EMA(C,60) AND C>EMA(C,60);
- DRAWICON(出水芙蓉,L-0.20,9);
上一篇:通达信妖妖之心副图指标图有码 下一篇:通达信成交量加到主图