关于rsi指标死叉内容导航:
1、rsi指标死叉
:param df:
:return:
"""
# 创建rsi指标
rsi = talib.RSI(df['close'].values, timeperiod=14)
# 创建rsi指标的均线
rsi_ma = talib.MA(rsi, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线
rsi_ma_ma = talib.MA(rsi_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线
rsi_ma_ma_ma = talib.MA(rsi_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线
rsi_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线
rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma = talib.MA(rsi_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma_ma, timeperiod=3, matype=0)
# 创建rsi指标的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均线的均
2、rsi指标死叉出现涨停
B
3、rsi指标死叉后金叉
参数n的设置与原指标相同LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
TJ1:=CROSS(RSI1,RSI2);
TJ2:=CROSS(RSI1,RSI3);
TJ3:=RANGE(RSI2,RSI3,RSI1);
TJ4:=CROSS(RSI2,RSI1);
TJ5:=CROSS(RSI3,RSI1);
TJ6:=RANGE(RSI2,RSI1,RSI3);
DRAWICON(TJ1 AND TJ2 AND TJ3,RSI3*0.90,1);
DRAWICON(TJ4 AND TJ5 AND TJ6,RSI3*1.1,2);
这是天数,6天rsi上穿12天rsi表示短线走强,这参数自己根据需要可以调整.