同花顺六指金叉指标公式
2015-1-26 20:26:28点击:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,1,1.8,3,0),colorred;
STICKLINE(DIFF<DEA,1,1.8,3,0),colorgreen;
MCDA金叉:DIFF>DEA,NODRAW;
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(K>D,2,2.8,3,0),colorred;
STICKLINE(K<D,2,2.8,3,0),colorgreen;
KDJ金叉:K>D,NODRAW;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100;
STICKLINE(RSI1>RSI2,3,3.8,3,0),colorred;
STICKLINE(RSI1<RSI2,3,3.8,3,0),colorgreen;
RSI金叉:RSI1>RSI2,NODRAW;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
STICKLINE(LWR1>LWR2,4,4.8,3,0),colorred;
STICKLINE(LWR1<LWR2,4,4.8,3,0),colorgreen;
LWR金叉:LWR1>LWR2,NODRAW;
BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
STICKLINE(CLOSE>BBI,5,5.8,3,0),colorred;
STICKLINE(CLOSE<BBI,5,5.8,3,0),colorgreen;
BBI金叉:CLOSE>BBI,NODRAW;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),3);
MMM:=100*EMA(EMA(MTM,26),12)/EMA(EMA(ABS(MTM),26),12);
STICKLINE(MMS>MMM,6,6.8,3,0),colorred;
STICKLINE(MMS<MMM,6,6.8,3,0),colorgreen;
MMS金叉:MMS>MMM,NODRAW;
STICKLINE(MCDA金叉 AND KDJ金叉 AND RSI金叉 AND LWR金叉 AND BBI金叉 AND MMS金叉,0,0.8,3,0),coloryellow;
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,1,1.8,3,0),colorred;
STICKLINE(DIFF<DEA,1,1.8,3,0),colorgreen;
MCDA金叉:DIFF>DEA,NODRAW;
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(K>D,2,2.8,3,0),colorred;
STICKLINE(K<D,2,2.8,3,0),colorgreen;
KDJ金叉:K>D,NODRAW;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100;
STICKLINE(RSI1>RSI2,3,3.8,3,0),colorred;
STICKLINE(RSI1<RSI2,3,3.8,3,0),colorgreen;
RSI金叉:RSI1>RSI2,NODRAW;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
STICKLINE(LWR1>LWR2,4,4.8,3,0),colorred;
STICKLINE(LWR1<LWR2,4,4.8,3,0),colorgreen;
LWR金叉:LWR1>LWR2,NODRAW;
BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
STICKLINE(CLOSE>BBI,5,5.8,3,0),colorred;
STICKLINE(CLOSE<BBI,5,5.8,3,0),colorgreen;
BBI金叉:CLOSE>BBI,NODRAW;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),3);
MMM:=100*EMA(EMA(MTM,26),12)/EMA(EMA(ABS(MTM),26),12);
STICKLINE(MMS>MMM,6,6.8,3,0),colorred;
STICKLINE(MMS<MMM,6,6.8,3,0),colorgreen;
MMS金叉:MMS>MMM,NODRAW;
STICKLINE(MCDA金叉 AND KDJ金叉 AND RSI金叉 AND LWR金叉 AND BBI金叉 AND MMS金叉,0,0.8,3,0),coloryellow;
- 上一篇:同花顺主升选股指标公式 2015/1/26
- 下一篇:同花顺筹码集中度指标公式 2015/1/26