准确率极高短线指标源码(股票分时线macd参数怎样设置为佳?)
1. 股票分时线macd参数怎样设置为佳?
股票分时线MACD参数如下设置最佳:
SHORT=11;
LONG=26;
M=5;
具体公式源码如下
//-------------------------------------------------------------------------------------------MACD
DIFF: EMA(NEW, SHORT) - EMA(NEW, LONG);
DEA : EMA(DIFF, M);
MACDFS: 2*(DIFF-DEA);
M1=EMA(CLOSE,11);
M2=EMA(CLOSE,26);
轴:(M1-M1),colorred;
MACD金叉=CROSS(DIFF,DEA);
MACD死叉=CROSS(DEA,DIFF);
DRAWICON(MACD金叉, DEA, 'BUY');
DRAWICON(MACD死叉, DEA, 'SELL');
STICKLINE(MACDFS>=0,0,MACDFS,1,0),colorred;
STICKLINE(MACDFS< 0,MACDFS,0,1,0),colorgreen;
2. 股票分时线macd参数怎样设置为佳?
股票分时线MACD参数如下设置最佳:
SHORT=11;
LONG=26;
M=5;
具体公式源码如下
//-------------------------------------------------------------------------------------------MACD
DIFF: EMA(NEW, SHORT) - EMA(NEW, LONG);
DEA : EMA(DIFF, M);
MACDFS: 2*(DIFF-DEA);
M1=EMA(CLOSE,11);
M2=EMA(CLOSE,26);
轴:(M1-M1),colorred;
MACD金叉=CROSS(DIFF,DEA);
MACD死叉=CROSS(DEA,DIFF);
DRAWICON(MACD金叉, DEA, 'BUY');
DRAWICON(MACD死叉, DEA, 'SELL');
STICKLINE(MACDFS>=0,0,MACDFS,1,0),colorred;
STICKLINE(MACDFS< 0,MACDFS,0,1,0),colorgreen;
3. 股票分时线macd参数怎样设置为佳?
股票分时线MACD参数如下设置最佳:
SHORT=11;
LONG=26;
M=5;
具体公式源码如下
//-------------------------------------------------------------------------------------------MACD
DIFF: EMA(NEW, SHORT) - EMA(NEW, LONG);
DEA : EMA(DIFF, M);
MACDFS: 2*(DIFF-DEA);
M1=EMA(CLOSE,11);
M2=EMA(CLOSE,26);
轴:(M1-M1),colorred;
MACD金叉=CROSS(DIFF,DEA);
MACD死叉=CROSS(DEA,DIFF);
DRAWICON(MACD金叉, DEA, 'BUY');
DRAWICON(MACD死叉, DEA, 'SELL');
STICKLINE(MACDFS>=0,0,MACDFS,1,0),colorred;
STICKLINE(MACDFS< 0,MACDFS,0,1,0),colorgreen;
4. 股票分时线macd参数怎样设置为佳?
股票分时线MACD参数如下设置最佳:
SHORT=11;
LONG=26;
M=5;
具体公式源码如下
//-------------------------------------------------------------------------------------------MACD
DIFF: EMA(NEW, SHORT) - EMA(NEW, LONG);
DEA : EMA(DIFF, M);
MACDFS: 2*(DIFF-DEA);
M1=EMA(CLOSE,11);
M2=EMA(CLOSE,26);
轴:(M1-M1),colorred;
MACD金叉=CROSS(DIFF,DEA);
MACD死叉=CROSS(DEA,DIFF);
DRAWICON(MACD金叉, DEA, 'BUY');
DRAWICON(MACD死叉, DEA, 'SELL');
STICKLINE(MACDFS>=0,0,MACDFS,1,0),colorred;
STICKLINE(MACDFS< 0,MACDFS,0,1,0),colorgreen;