修改web端
This commit is contained in:
@@ -5446,10 +5446,10 @@
|
||||
|
||||
// 添加默认EMA配置
|
||||
const defaultEMAs = [
|
||||
{ type: 'EMA', length: 5, color: '#FF0000', name: 'EMA5' }, // 红色
|
||||
{ type: 'EMA', length: 10, color: '#0000FF', name: 'EMA10' }, // 蓝色
|
||||
{ type: 'EMA', length: 26, color: '#008000', name: 'EMA26' }, // 深绿色
|
||||
{ type: 'EMA', length: 52, color: '#800080', name: 'EMA52' } // 紫色
|
||||
{ type: 'EMA', length: 6, color: '#FF0000', name: 'EMA6' }, // 红色
|
||||
{ type: 'EMA', length: 13, color: '#0000FF', name: 'EMA13' }, // 蓝色
|
||||
{ type: 'EMA', length: 24, color: '#008000', name: 'EMA24' }, // 深绿色
|
||||
{ type: 'EMA', length: 52, color: '#800080', name: 'EMA52' } // 紫色
|
||||
];
|
||||
|
||||
defaultEMAs.forEach(ema => {
|
||||
@@ -5463,7 +5463,7 @@
|
||||
lineWidth: 1, // 1px线宽
|
||||
lineStyle: 0, // 实线
|
||||
color: ema.color,
|
||||
visible: true
|
||||
visible: (ema.length === 24 || ema.length === 52)
|
||||
};
|
||||
|
||||
movingAverages.push(config);
|
||||
|
||||
Reference in New Issue
Block a user