ma均线指标参数设置几日-ma均线参数最佳设置

2023-04-24 技术指标 0次阅读 admin
ma均线指标参数设置几日.jpg

关于ma均线指标参数设置几日的问题,我们总结了以下几点,给你解答:

ma均线指标公式


ma均线指标公式

ma均线就是移动平均线,5日,10日,20日均线等等
ma(v,20)/ma(v,30)>0.9 and ma(v,20)/ma(v,30)<1.1;

ma均线指标参数设置几日


ma均线指标参数设置几日


def set_ma_param(self, ma_short=5, ma_long=10):
self.ma_short = ma_short
self.ma_long = ma_long

# 设置macd指标参数
def set_macd_param(self, fastperiod=12, slowperiod=26, signalperiod=9):
self.fastperiod = fastperiod
self.slowperiod = slowperiod
self.signalperiod = signalperiod

# 设置rsi指标参数
def set_rsi_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置kdj指标参数
def set_kdj_param(self, fastk_period=9, slowk_period=3, slowd_period=3):
self.fastk_period = fastk_period
self.slowk_period = slowk_period
self.slowd_period = slowd_period

# 设置cci指标参数
def set_cci_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置wr指标参数
def set_wr_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置boll指标参数
def set_boll_param(self, timeperiod=20, nbdevup=2, nbdevdn=2):
self.timeperiod = timeperiod
self.nbdevup = nbdevup
self.nbdevdn = nbdevdn

# 设置sar指标参数
def set_sar_param(self, acceleration=0.02, maximum=0.2):
self.acceleration = acceleration
self.maximum = maximum

# 设置atr指标参数
def set_atr_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置dmi指标参数
def set_dmi_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置obv指标参数
def set_obv_param(self):
pass

# 设置roc指标参数
def set_roc_param(self, timeperiod=12):
self.timeperiod = timeperiod

# 设置mtm指标参数
def set_mtm_param(self, timeperiod=12):
self.timeperiod = timeperiod

# 设置ad指标参数
def set_ad_param(self):
pass

# 设置adtm指标参数
def set_adtm_param(self, fastperiod=12, slowperiod=26):
self.fastperiod = fastperiod
self.slowperiod = slowperiod

# 设置dma指标参数
def set_dma_param(self, fastperiod=10, slowperiod=50, signalperiod=10):
self.fastperiod = fastperiod
self.slowperiod = slowperiod
self.signalperiod = signalperiod

# 设置trix指标参数
def set_trix_param(self, timeperiod=30):
self.timeperiod = timeperiod

# 设置vr指标参数
def set_vr_param(self, timeperiod=26):
self.timeperiod = timeperiod

# 设置emv指标参数
def set_emv_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置rsi指标参数
def set_rsi_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置bias指标参数
def set_bias_param(self, timeperiod=30):
self.timeperiod = timeperiod

# 设置cci指标参数
def set_cci_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置cr指标参数
def set_cr_param(self, timeperiod1=26, timeperiod2=10, timeperiod3=20):
self.timeperiod1 = timeperiod1
self.timeperiod2 = timeperiod2
self.timeperiod3 = timeperiod3

# 设置dpo指标参数
def set_dpo_param(self, timeperiod=20):
self.timeperiod = timeperiod

# 设置mtm指标参数
def set_mtm_param(self, timeperiod=12):
self.timeperiod = timeperiod

# 设置psy指标参数
def set_psy_param(self, timeperiod=12):
self.timeperiod = timeperiod

# 设置asr指标参数
def set_asr_param(self, fastperiod=13, slowperiod=26):
self.fastperiod = fastperiod
self.slowperiod = slowperiod

# 设置bbi指标参数
def set_bbi_param(self, timeperiod1=3, timeperiod2=6, timeperiod3=12, timeperiod4=24):
self.timeperiod1 = timeperiod1
self.timeperiod2 = timeperiod2
self.timeperiod3 = timeperiod3
self.timeperiod4 = timeperiod4

# 设置dc指标参数
def set_dc_param(self, fastperiod=12, slowperiod=26):
self.fastperiod = fastperiod
self.slowperiod = slowperiod

# 设置dmi指标参数
def set_dmi_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置pvt指标参数
def set_pvt_param(self):
pass

# 设置pct指标参数
def set_pct_param(self):
pass

# 设置cr指标参数
def set_cr_param(self, timeperiod1=26, timeperiod2=10, timeperiod3=20):
self.timeperiod1 = timeperiod1
self.timeperiod2 = timeperiod2
self.timeperiod3 = timeperiod3

# 设置dma指标参数
def set_dma_param(self, fastperiod=10, slowperiod=50, signalperiod=10):
self.fastperiod = fastperiod
self.slowperiod = slowperiod
self.signalperiod = signalperiod

# 设置trix指标参数
def set_trix_param(self, timeperiod=30):
self.timeperiod = timeperiod

# 设置vr指标参数
def set_vr_param(self, timeperiod=26):
self.timeperiod = timeperiod

# 设置emv指标参数
def set_emv_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置rsi指标参数
def set_rsi_param(self, timeperiod=14):
self.timeperiod = timeperiod

# 设置bias

ma均线参数最佳设置


ma均线参数最佳设置

看你的使用守济两晶认粒述被河孔天习惯了,自己喜欢的就是最好的。一般没有特殊要求的就用系统默认的5、10、20、30、60、120、250;有特殊要求的按各自的设定,要多少调整参数到多少;还有很多人看裸k线的,根本不用均线。


猜你感兴趣: ma均线指标参数设置几日