【趋势先行】[其他软件公式]
相关标签:通达信趋势线指标公式 、 资金趋势指标公式源码 、 神仙大趋势指标公式 、 趋势顶底指标公式 、 趋势买卖主图指标公式 、 先行性指标 、 经济数据先行指标的有 、 经济先行指标有哪些 、 股市先行指标有哪些 、 工业先行指标有哪些 、
【趋势先行】
三个经典指标
(其中二个是大智慧新一代系统自带的。),
分开来看比较单一,合起来发现效果非凡。
轨道线(Envelopes)和分水岭 是大智慧新一代系统自带的。
用法:
1.股价上升穿越轨道线上限时,回档机率大;
2.股价下跌穿越轨道线下限时,反弹机率大;
3.股价波动于轨道线内时,代表常态行情,此时,超买超卖指标可发挥效用;
4.股价波动于轨道线外时,代表脱轨行情,此时,应使用【趋势先行】 趋势型指标。
5:股价在分水岭之上为强势,反之为弱势。
****************************************************************
【趋势先行】大智慧新一代:
原理解析:
源码:
分水岭: DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL),LINETHICK2;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1: (EMA(VAR1,1)+EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,4))/4,COLORCYAN,LINETHICK1;
W1:=(EMA(VAR1,1)+EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,4))/4;
A2: EMA(A1,2),COLORCYAN,LINETHICK1;
W2:=EMA(A1,2);
A3: EMA(A2,2),COLORCYAN,LINETHICK1;
W3:=EMA(A2,2);
A4: EMA(A3,2),COLORCYAN,LINETHICK1;
W4:=EMA(A3,2);
A5: EMA(A4,2),COLORCYAN,LINETHICK1;
W5:=EMA(A4,2);
A6: EMA(A5,2),COLORCYAN,LINETHICK1;
W6:= EMA(A5,2);
A7: EMA(A6,2),COLORCYAN,LINETHICK1;
W7:= EMA(A6,2);
partline(A1,W1>REF(W1,1)),COLORRED,LINETHICK1;
partline(A2,W2>REF(W2,1)),COLORRED,LINETHICK1;
partline(A3,W2>REF(W3,1)),COLORRED,LINETHICK1;
partline(A4,W2>REF(W4,1)),COLORRED,LINETHICK1;
partline(A5,W2>REF(W5,1)),COLORRED,LINETHICK1;
partline(A6,W2>REF(W6,1)),COLORRED,LINETHICK1;
partline(A7,W2>REF(W7,1)),COLORRED,LINETHICK1;
CC:C,COLOR00FF00;
UPPER : MA(CLOSE,14)*1.06,POINTDOT,COLORFF99FF,LINETHICK4;
LOWER : MA(CLOSE,14)*0.94,POINTDOT,COLORFF00FF,LINETHICK4;
MID:(UPPER+LOWER)/2;
DRAWTEXT(CROSS(CC,LOWER ) AND CROSS(CC,A3 ),LOWER,'买'),COLORYELLOW;
DRAWTEXT(CROSS(UPPER,CC),UPPER,'跑'),COLORYELLOW;
DRAWTEXT(CROSS(CC,UPPER),UPPER,'A'),COLORYELLOW;
******************************************************************
【趋势先行】飞狐:
分水岭: DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL),COLORFF00FF,LINETHICK2;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1: (EMA(VAR1,1)+EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,4))/4,COLORCYAN,LINETHICK1;
W1:=(EMA(VAR1,1)+EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,4))/4;
A2: EMA(A1,2),COLORCYAN,LINETHICK1;
W2:=EMA(A1,2);
A3: EMA(A2,2),COLORCYAN,LINETHICK1;
W3:=EMA(A2,2);
A4: EMA(A3,2),COLORCYAN,LINETHICK1;
W4:=EMA(A3,2);
A5: EMA(A4,2),COLORCYAN,LINETHICK1;
W5:=EMA(A4,2);
A6: EMA(A5,2),COLORCYAN,LINETHICK1;
W6:= EMA(A5,2);
A7: EMA(A6,2),COLORCYAN,LINETHICK1;
W7:= EMA(A6,2);
partline(W1>REF(W1,1),A1),COLORRED,LINETHICK1;
partline(W2>REF(W2,1),A2),COLORRED,LINETHICK1;
partline(W2>REF(W3,1),A3),COLORRED,LINETHICK1;
partline(W2>REF(W4,1),A4),COLORRED,LINETHICK1;
partline(W2>REF(W5,1),A5),COLORRED,LINETHICK1;
partline(W2>REF(W6,1),A6),COLORRED,LINETHICK1;
partline(W2>REF(W7,1),A7),COLORRED,LINETHICK1;
CC:C,COLOR00FF00;
UPPER : MA(CLOSE,14)*1.06,POINTDOT,COLORFF99FF,LINETHICK4;
LOWER : MA(CLOSE,14)*0.94,POINTDOT,COLORFF00FF,LINETHICK4;
MID:(UPPER+LOWER)/2;
DRAWTEXT(CROSS(CC,LOWER ) AND CROSS(CC,A3 ),LOWER,'买'),COLORYELLOW;
DRAWTEXT(CROSS(UPPER,CC),UPPER,'跑'),COLORYELLOW;
DRAWTEXT(CROSS(CC,UPPER),UPPER,'A'),COLORYELLOW;<!--++ plugin_code qcomic begin-->
【趋势先行】通达信:
分水岭: DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL),LINETHICK2;
CC:C,COLOR00FF00;
UPPER : MA(CLOSE,14)*1.06,POINTDOT,COLORFF99FF,LINETHICK4;
LOWER : MA(CLOSE,14)*0.94,POINTDOT,COLORFF00FF,LINETHICK4;
MID:(UPPER+LOWER)/2,NODRAW,COLOR00FFFF,LINETHICK1;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1: (EMA(VAR1,1)+EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,4))/4,COLORCYAN,LINETHICK1;
W1:=(EMA(VAR1,1)+EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,4))/4;
A2: EMA(A1,2),COLORCYAN,LINETHICK1;
W2:=EMA(A1,2);
A3: EMA(A2,2),COLORCYAN,LINETHICK1;
W3:=EMA(A2,2);
A4: EMA(A3,2),COLORCYAN,LINETHICK1;
W4:=EMA(A3,2);
A5: EMA(A4,2),COLORCYAN,LINETHICK1;
W5:=EMA(A4,2);
A6: EMA(A5,2),COLORCYAN,LINETHICK1;
W6:= EMA(A5,2);
A7: EMA(A6,2),COLORCYAN,LINETHICK1;
W7:= EMA(A6,2);
IF(W1>REF(W1,1),A1,DRAWNULL),COLORRED,LINETHICK1;
IF(W2>REF(W2,1),A2,DRAWNULL),COLORRED,LINETHICK1;
IF(W2>REF(W3,1),A3,DRAWNULL),COLORRED,LINETHICK1;
IF(W2>REF(W4,1),A4,DRAWNULL),COLORRED,LINETHICK1;
IF(W2>REF(W5,1),A5,DRAWNULL),COLORRED,LINETHICK1;
IF(W2>REF(W6,1),A6,DRAWNULL),COLORRED,LINETHICK1;
IF(W2>REF(W7,1),A7,DRAWNULL),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(CC,LOWER ) AND CROSS(CC,A3 ),LOWER,'买'),COLORYELLOW;
DRAWTEXT(CROSS(UPPER,CC),UPPER,'跑'),COLORYELLOW;
DRAWTEXT(CROSS(CC,UPPER),UPPER,'A'),COLORYELLOW;<!--++ plugin_code qcomic begin--><!--++ plugin_code qcomic end--><!--++ plugin_code qcomic end-->
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容