📝 产品详情
Step Line Chart MT5
| 作者 | Nopphawin Inthaphong |
| 版本 | v1.0 |
| 更新 | 2026-03-10T07:28:00 |
| 激活数 | 0 |
Step Line Chart
I created this indicator because I couldn't find a built-in step line chart in MT5, and I was tired of switching back and forth to TradingView just to see one. This is my very first indicator, originally made for my own personal use, and I am sharing it for anyone who might have the same need.
What it does:
-
Transforms the standard MT5 Line Chart into a clean Step Line chart based on Close prices.
-
When attached, it automatically switches the chart mode to "Line Chart" and hides the default MT5 line.
-
If you switch back to Candlesticks or Bar charts, the step lines will automatically hide themselves to keep your chart clean.
-
The code is simple, lightweight, and very fast.
? Styling Tip:
-
Due to MT5 system limitations: If you want to use Dashed or Dotted line styles, you must set the line thickness (Width) to 1. If the width is set to 2 or more, the line will always appear as a Solid line.
Parameters:
-
InpMaxBars: Number of historical bars to display (Default: 3000).
-
InpStepColor: Customize your line color.
-
InpStepWidth: Adjust the thickness of the line.
-
InpStepStyle: Choose the line style (Solid, Dashed, Dotted, etc.).
安全须知
本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。
EA 配置
| 交易品种 | XAUUSD |
| 时间框架 | H1 (推荐) |
| 推荐经纪商 | IC Markets, IC Trading |
| 最低存款 | $300 / 0.01手 |
📸 截图预览