波段顶底,波段性很好的一个指标
VAR1 :=1;
N1 := 10;
N2 := 5;
N3 := 4;
QW1 := (((HIGH + LOW) + (CLOSE * 2)) / 4) * VAR1;
QW3 := EMA(QW1,N1);
QW4 := STD(QW1,N1);
QW5 := ((QW1 - QW3) * 100) / QW4;
QW6 := EMA(QW5,N2);
RK7 := EMA(QW6,N1);
UP : (EMA(QW6,10) + (100 / 2)) - 5,COLORRED;
DOWN : EMA(UP,N3);
BUY1 : EMA(DOWN,N3),COLORWHITE;
BUY2 : EMA(BUY1,N3),COLORGREEN;
BUY3 := EMA(BUY2,N3);
BUY4 := EMA(BUY3,N3);
-10 * VAR1,POINTDOT,COLOR888888,LINETHICK2;
80 * VAR1,POINTDOT,COLOR888888,LINETHICK2;
0 * VAR1,COLORMAGENTA;
100 * VAR1,COLOR0099FF;
STICKLINE(UP < REF(UP,1),UP,MA(UP,3),2,0),COLOR00EE00;
STICKLINE(UP < REF(UP,1),UP,MA(UP,3),1,0),COLORGREEN;
STICKLINE(UP > REF(UP,1),UP,EMA(UP,3),2,0),COLOR0099FF;
STICKLINE(UP > REF(UP,1),UP,EMA(UP,3),1,0),COLOR00AAFF;
2022519549792761.png
20225195491476449.png
|