[Stellar Strategies] Linear Regression Candles 1.1
指标
405 下载
版本 1.0, Mar 2025
Windows 版、Mac 版
5.0
评价:2
说明
[Stellar Strategies] 线性回归蜡烛图 cTrader 指标
“[Stellar Strategies] 线性回归蜡烛图”指标为cTrader提供了一种独特的价格分析方法,通过线性回归斜率的视角来可视化蜡烛图数据。该指标不是显示原始价格变动,而是构建反映开盘价、最高价、最低价和收盘价变化率的蜡烛图,提供了市场动量的独特视角。
目的:
该指标旨在帮助交易者更清晰地识别和解读趋势动态。通过关注线性回归斜率,它突出价格变动的加速或减速,这对于发现潜在的趋势反转和动量变化非常关键,而这些在标准蜡烛图中可能被掩盖。移动平均信号线的加入进一步有助于趋势确认和分析。
使用方法:
- 添加指标:
-
- 打开cTrader并加载所需图表。
- 访问“指标”菜单,通常位于顶部工具栏或通过右键点击图表访问。
- 导航至“自定义”指标,选择“[Stellar Strategies] 线性回归蜡烛图”。
- 配置参数:
-
- 信号长度: 设置移动平均信号线的周期。默认值为11。
- 简单移动平均信号: 选择信号线为简单移动平均(SMA)(
true)或加权移动平均(WMA)(false)。 - 线性回归: 启用(
true)或禁用(false)用于蜡烛构建的线性回归斜率计算。 - 线性回归长度: 定义线性回归计算的周期。默认值为11。
- 日内交易:长度9-15
- 波段交易:长度20-30
- 持仓交易:长度50-100
- 可选:优化视觉清晰度:
-
- 为了最佳可视化,建议将标准图表蜡烛颜色设置为“透明”,以突出显示指标的线性回归斜率蜡烛。
- 通过图表右键菜单中的“颜色”选项调整图表颜色。
- 解读输出:
- 强势趋势:连续同色蜡烛且影线极短
- 趋势反转:蜡烛颜色变化伴随影线增大
- 弱势趋势/盘整:颜色交替且影线相对于实体较大
- 信号线交叉:价格穿越信号线时,视为趋势方向确认
-
- 启用“线性回归”时,指标基于线性回归斜率生成蜡烛,强调价格变化率。
- “信号”线提供收盘价的移动平均,提供趋势背景。
- 分析斜率蜡烛和信号线以了解趋势强度、反转和动量信息。
- 重要提示: 这些蜡烛显示的实时价格范围可能因指标设置,尤其是“线性回归长度”而显著变化。调整此参数将改变斜率计算,进而影响蜡烛形成和价格范围。
关键代码特性:
- 线性回归斜率计算: 使用
LinearRegressionSlope指标计算价格数据的变化率。 - 蜡烛构建: 根据计算的斜率值构建蜡烛,突出动量。
-
- 结合简单移动平均和线性回归斜率,计算显示蜡烛的开盘价、最高价、最低价和收盘价。
- 移动平均信号: 提供SMA或WMA选项用于趋势分析。
- 视觉表现: 使用趋势线绘制蜡烛,支持自定义颜色编码。
- 清晰图表: 代码包含移除旧蜡烛绘制的指令,确保图表清晰。
- Bars 使用: 采用当前cBot最佳实践,使用 Bars.OpenPrices、Bars.HighPrices 等。
提示
- 结合成交量分析以获得更好的确认
- 使用较长周期进行更高时间框架分析
- 较短周期更适合剥头皮策略
- 影线大小表示波动性——较大影线表明该价格水平有较强的拒绝
注意:
- 该指标通过关注价格变化动态,提供了价格行为的新视角。
- 请根据您的交易策略和市场分析调整参数设置。
- 建议使用透明图表蜡烛以增强指标输出的可见性。
- 请注意,生成蜡烛的价格范围直接受指标设置影响。
摘要
AI 摘要
[Stellar Strategies] Linear Regression Candles is a cTrader indicator that visualizes candlestick data using linear regression slopes to represent the rate of change in open, high, low, and close prices. This approach offers a distinct view of market momentum by emphasizing acceleration or deceleration in price movements, aiding in the identification of trend strength, reversals, and momentum shifts.
Key features include:
- Construction of candles based on linear regression slope calculations.
- A moving average signal line (configurable as Simple Moving Average or Weighted Moving Average) for trend confirmation.
- Customizable parameters such as signal length and linear regression length, adaptable for intraday, swing, or position trading.
- Visual representation through trend lines with customizable colors.
- Chart clarity maintained by removing old candle drawings.
Users can optimize visual clarity by setting standard chart candlestick colors to transparent, allowing the indicator's candles to stand out. Interpretation guidelines include recognizing strong trends by consistent candle colors with minimal wicks, trend reversals by color changes with increasing wick size, and weak trends by alternating colors with large wicks. The signal line crossing price provides additional trend confirmation.
This indicator focuses on the dynamics of price change and requires parameter tuning to align with individual trading strategies. The displayed candle price range varies with settings, particularly the linear regression length.
Key features include:
- Construction of candles based on linear regression slope calculations.
- A moving average signal line (configurable as Simple Moving Average or Weighted Moving Average) for trend confirmation.
- Customizable parameters such as signal length and linear regression length, adaptable for intraday, swing, or position trading.
- Visual representation through trend lines with customizable colors.
- Chart clarity maintained by removing old candle drawings.
Users can optimize visual clarity by setting standard chart candlestick colors to transparent, allowing the indicator's candles to stand out. Interpretation guidelines include recognizing strong trends by consistent candle colors with minimal wicks, trend reversals by color changes with increasing wick size, and weak trends by alternating colors with large wicks. The signal line crossing price provides additional trend confirmation.
This indicator focuses on the dynamics of price change and requires parameter tuning to align with individual trading strategies. The displayed candle price range varies with settings, particularly the linear regression length.
指标配置
客户评价
5.0
评价:2
5 | 100 % | |
4 | 0 % | |
3 | 0 % | |
2 | 0 % | |
1 | 0 % |
客户评价
August 18, 2025
Smooth trend visualization, customizable, removes noise. Cons: No alerts, no MTF mode, limited integration with other tools.
June 5, 2025
讨论
常见问答
Signal
Scalping
cTrader Store 提供的所有产品,包括交易机器人、指标和插件,均由第三方开发者提供,仅供信息参考和技术访问之用。cTrader Store 并非经纪商,不提供投资建议、个人推荐或任何未来业绩保证。
该作者的其他作品
猜您喜欢
价格
20.46M
交易量
8K
盈利点数
25
销售
4.34K
免费安装