同花顺火车轨主图指标公式
2015-1-26 21:13:18点击:
S:=CROSS(CLOSE,EMA(HIGH,30));
X:=CROSS(EMA(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA(HIGH,30),EMA(HIGH,30),EMA(LOW,30),1,1),colorred;
STICKLINE(CLOSE<EMA(LOW,30),EMA(LOW,30),EMA(HIGH,30),1,1),colorgreen;
STICKLINE(CLOSE>EMA(HIGH,150),EMA(HIGH,150),EMA(LOW,150),1,1),colormagenta;
STICKLINE(CLOSE<EMA(LOW,150),EMA(LOW,150),EMA(HIGH,150),1,1),colorblue;
PARTLINE(EMA(HIGH,30),CLOSE>EMA(HIGH,30),colorred);
PARTLINE(EMA(HIGH,30),CLOSE<EMA(HIGH,30),colorgreen);
PARTLINE(EMA(LOW,30),CLOSE>EMA(LOW,30),colorred);
PARTLINE(EMA(LOW,30),CLOSE<EMA(LOW,30),colorgreen);
PARTLINE(EMA(HIGH,150),CLOSE>EMA(HIGH,150),colormagenta);
PARTLINE(EMA(HIGH,150),CLOSE<EMA(HIGH,150),colorblue);
PARTLINE(EMA(LOW,150),CLOSE>EMA(LOW,150),colormagenta);
PARTLINE(EMA(LOW,150),CLOSE<EMA(LOW,150),colorblue);
X:=CROSS(EMA(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA(HIGH,30),EMA(HIGH,30),EMA(LOW,30),1,1),colorred;
STICKLINE(CLOSE<EMA(LOW,30),EMA(LOW,30),EMA(HIGH,30),1,1),colorgreen;
STICKLINE(CLOSE>EMA(HIGH,150),EMA(HIGH,150),EMA(LOW,150),1,1),colormagenta;
STICKLINE(CLOSE<EMA(LOW,150),EMA(LOW,150),EMA(HIGH,150),1,1),colorblue;
PARTLINE(EMA(HIGH,30),CLOSE>EMA(HIGH,30),colorred);
PARTLINE(EMA(HIGH,30),CLOSE<EMA(HIGH,30),colorgreen);
PARTLINE(EMA(LOW,30),CLOSE>EMA(LOW,30),colorred);
PARTLINE(EMA(LOW,30),CLOSE<EMA(LOW,30),colorgreen);
PARTLINE(EMA(HIGH,150),CLOSE>EMA(HIGH,150),colormagenta);
PARTLINE(EMA(HIGH,150),CLOSE<EMA(HIGH,150),colorblue);
PARTLINE(EMA(LOW,150),CLOSE>EMA(LOW,150),colormagenta);
PARTLINE(EMA(LOW,150),CLOSE<EMA(LOW,150),colorblue);
- 上一篇:同花顺筹码峰指标公式 2015/1/26
- 下一篇:同花顺涨停先锋指标公式 2015/1/26