WR3线的代码
2015-12-14 10:31:22点击:
WR3线的代码
N:=10;
W1:-ma((HHV(HIGH,N)-c)/(HHV(HIGH,N)-LLV(LOW,N)),3),COLORgreen;
W2:-ma((HHV(HIGH,N*2)-c)/(HHV(HIGH,N*2)-LLV(LOW,N*2)),3),COLORFF33CC;
W3:-ma((HHV(HIGH,N*4)-c)/(HHV(HIGH,N*4)-LLV(LOW,N*4)),3),COLORyellow;
中区:-0.5,COLORRED;
跌:-0.75,COLORGRAY;
涨:-0.25,COLORGRAY;
BBI配合布林带变色版,注意勾选指标叠加
MID:MA(C,20),colorwhite;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFF33CC,LINETHICK2;
PARTLINE(BBI<MID,BBI),COLORGREEN,LINETHICK2;
UPPER:MA(C,20) + 2*STD(c,20),COLORCYAN;
LOWER:MA(C,20) - 2*STD(c,20),COLORCYAN;
不知道为什么,复制粘贴过来老是会少了结尾的分号。漏掉的自己加下
小龟进出K线版,和早期版的略有区别,做了点调整。
变色,布林带 选这一个代码就可以
MID:MA(C,20),colorwhite;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFF33CC,LINETHICK2;
PARTLINE(BBI<MID,BBI),COLORGREEN,LINETHICK2;
UPPER:MA(C,20) + 2*STD(c,20),COLORCYAN;
LOWER:MA(C,20) - 2*STD(c,20),COLORCYAN;
VAR1:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
STICKLINE(C>MID AND C>O,H,L,0,0),color5050ff;
STICKLINE(C>MID AND C>O,O,C,5,0),color5050ff;
STICKLINE(C>MID AND C<=O,H,L,0,0),color5050ff;
STICKLINE(C>MID AND C<=O ,O,C,5,0),color5050ff;
STICKLINE(C<=MID AND C>O,H,L,0,0),COLORcyan;
STICKLINE(C<=MID AND C>O,O,C,5,0),COLORcyan;
STICKLINE(C<=MID AND C<=O ,H,L,0,0),COLORcyan;
STICKLINE(C<=MID AND C<=O,O,C,5,0),COLORcyan;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),colorSTICK;
macd1:=ema(macd,15),colorgray;
STICKLINE(CROSS(MACD,MACD1),O,C,5,0),COLORred;
STICKLINE(CROSS(MACD,MACD1),H,L,0,0),COLORred;
STICKLINE(CROSS(MACD1,MACD),O,C,5,0),COLORgreen;
STICKLINE(CROSS(MACD1,MACD),H,L,0,0),COLORgreen;
这是全套完整的,,可以直接勾叠加覆盖主图原K线使用
也可以取消叠加,在副图对比参照看
副图参考使用的话,用这段就可以了
MID:MA(C,20),colorwhite;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFF33CC,LINETHICK2;
PARTLINE(BBI<MID,BBI),COLORGREEN,LINETHICK2;
VAR1:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
STICKLINE(C>MID AND C>O,H,L,0,0),color5050ff;
STICKLINE(C>MID AND C>O,O,C,5,0),color5050ff;
STICKLINE(C>MID AND C<=O,H,L,0,0),color5050ff;
STICKLINE(C>MID AND C<=O ,O,C,5,0),color5050ff;
STICKLINE(C<=MID AND C>O,H,L,0,0),COLORcyan;
STICKLINE(C<=MID AND C>O,O,C,5,0),COLORcyan;
STICKLINE(C<=MID AND C<=O ,H,L,0,0),COLORcyan;
STICKLINE(C<=MID AND C<=O,O,C,5,0),COLORcyan;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),colorSTICK;
macd1:=ema(macd,15),colorgray;
STICKLINE(CROSS(MACD,MACD1),O,C,5,0),COLORred;
STICKLINE(CROSS(MACD,MACD1),H,L,0,0),COLORred;
STICKLINE(CROSS(MACD1,MACD),O,C,5,0),COLORgreen;
STICKLINE(CROSS(MACD1,MACD),H,L,0,0),COLORgreen;
橙色代表上涨,价格站在20均线上
天蓝色代表下跌,价格站在20均线下
红色代表MACD放量突破柱量趋势,
绿色代表MACD下破柱量趋势
横盘状态,红绿的放量效果一般,可以无视,布林带开口后的顶底抓取效果理想。
我比较推荐的我发过的几个指标,简单说明下
MACD改版:K线版或只是简单的提示版,都行。比较简单易懂。主要增加了对量趋势的检测,新手推荐。
吊炸天指标:呕心之作,经风神已卖给弘历。趋势一眼明了,趋势强弱也能像MACD一样做出良好的提示。甚至于震荡盘,也能良好的提示出震荡偏多或空。多空线的破0变紫,也能提示出趋势放大的情况。
WR3线:趋势性好指标。缺点多线混乱,需要结合参考,要一定经验。
主图指标:
BBI+布林带。很简单的,一眼明了的。当极端行情出现时。可能指标都钝化了,这个还能起到顺势的作用。
关于找支撑压力点的方法,前面我提过一次
就是用布林带,看多个时段,重要点大多都在布林带上。
第2个很特殊的方法就是用ZIGZAG指标。为其附加更大的参数。多线重合,拐角点都是支撑和压力
- 上一篇:双色趋势{通达信、主图、源码、贴图} 2015/12/14
- 下一篇:版块F10资料(版块 行业 地域 流通盘 业绩等F10资料) 2015/12/14