变色三带介绍
对于喜欢做趋势的朋友来说,最讨厌的就是频繁的进出或是买入后遇到止损止盈的问题。这个指标可以部分解决这个问题。这个指标主要的构成就是EMA均线,同时设置了短 中 长 三个周期,这三个周期(修正过)是我经过较长的试验,还是比较符合A股市场的。
公式用法:K线在粉绿蓝之下代表空头
K线站上深红色均线之上代表大多头,在上升初期即使有短暂跌破无须止损。
上涨之后,可以按三个周期进行滚动操作,这样,在K线跌破深红色均线时也不必太担忧
止盈也一样,根据K线跌破均线的短 中 长周期来判断后期空头属于哪种空头。
变色三带
黄金线:EMA(C,18),COLORMAGENTA;
A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;
B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14))/4;
IF(A1>=REF(A1,1),A1,DRAWNULL),COLORLIRED;
IF(A1<=REF(A1,1),A1,DRAWNULL),COLORGREEN,LINETHICK1;
A2:=EMA(A1,3);
IF(A2>=REF(A2,1),A2,DRAWNULL),COLORLIRED,LINETHICK2;
IF(A2<=REF(A2,1),A2,DRAWNULL),COLORGREEN,LINETHICK2;
A3:=EMA(A2,4);
IF(A3>=REF(A3,1),A3,DRAWNULL),COLORLIRED;
IF(A3<=REF(A3,1),A3,DRAWNULL),COLORGREEN;
MA1:=EMA(CLOSE,4);
IF(MA1>=REF(MA1,1),MA1,DRAWNULL ),COLORC0C0C0,LINETHICK1;
IF(MA1<=REF(MA1,1),MA1,DRAWNULL ),COLORBLUE,LINETHICK1;
MA2:=EMA(CLOSE,5);
IF(MA2>=REF(MA2,1),MA2,DRAWNULL ),COLORC0C0C0,LINETHICK3;
IF(MA2<=REF(MA2,1),MA2,DRAWNULL ),COLORBLUE,LINETHICK3;
MA3:=EMA(CLOSE,6);
IF(MA3>=REF(MA3,1),MA3,DRAWNULL ),COLORC0C0C0,LINETHICK1;
IF(MA2<=REF(MA3,1),MA3,DRAWNULL ),COLORBLUE,LINETHICK1;
A55:=EMA(A1,18);
IF(A55>=REF(A55,1),A55,DRAWNULL),COLORRED,LINETHICK1;
IF(A55<=REF(A55,1),A55,DRAWNULL),COLORFF00FF,LINETHICK1;
A56:=EMA(A55,3);
IF(A56>=REF(A56,1),A56,DRAWNULL),COLORRED,LINETHICK3;
IF(A56<=REF(A56,1),A56,DRAWNULL),COLORFF00FF,LINETHICK3;
A57:EMA(A55,5);
IF(A57>=REF(A57,1),A57,DRAWNULL),COLORRED,LINETHICK1;
IF(A57<=REF(A57,1),A57,DRAWNULL),COLORFF00FF,LINETHICK1;
DRAWKLINE(H,O,L,C);