新砖形生成器 (New Renko Builder)
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:valdecchio
发布日期:First Post: Dec 9, 2025 10:05am | Edited Dec 10, 2025 10:45pm
原帖作者:valdecchio
发布日期:First Post: Dec 9, 2025 10:05am | Edited Dec 10, 2025 10:45pm
Good morning everyone! I'm currently fully dedicated to building a renko strategy, and as a break, I've also been busy updating some of the older, but still functional, renko builders. I just wanted to make a small contribution and share this improved version of MetaEditor, updated to version 5.00 2416.
Happy trading, everyone...
(I'm sure I'll be back with some other material of common interest and usefulness.)
I apologize guys, I forgot to adjust this small, but extremely important detail, I too, like you, am testing, and I noticed that on 2 renko charts, reloading the EA on the candlestick chart, they do not redraw, but when I went to reload it on usdjpy, it transformed from a small bearish trend to a small bullish trend.. this is serious (for me), then a light bulb went on for me... the problem of compatibility with asset prices, usdjpy uses a different price from eurusd, as well as gold, dax, crypto, etc... so I'm fixing this shortcoming, the goal is to have a modern, stable, lighter EA builder, and above all with iron efficiency:
//+---------------------------------------------------------------------------+
//| Renko_Live_Chart_V5.mq4 |
//| Valdecchio 2025 |
//| https://www.forexfactory.com/valdecchio |
//+---------------------------------------------------------------------------+
//| IMPROVEMENTS IN V5 - TRUE NON-REPAINT: |
//| 1. Persistent history file - appends instead of overwriting |
//| 2. Tick-by-tick processing eliminates High/Low ambiguity |
//| 3. Median price simulation for historical bars |
//| 4. State persistence prevents recalculation on reload |
//| 5. |
//+---------------------------------------------------------------------------+
Major changes for universal compatibility:
1. Completely rewritten checksum (lines 247-273):
• Changed from int to double to avoid overflows
• Uses price ratios instead of absolute values
• Works with any price: from 0.00001 (micro forex) to 100,000+ (Bitcoin)
1. STATE_FILE_VERSION increased to 501:
• Forces rebuild for old, corrupted state files
1. Improved decimal handling (lines 64-83):
• Explicit support for 0, 1, 2, 3, 4, 5+ decimal places
• Compatible with indices, cryptocurrencies, and commodities
1. Improved box settings comparison (line 230):
• Use MathAbs() with tolerance instead of direct comparison
1. Improved checksum comparison (line 236):
• Use MathAbs() with Tolerance for double comparisons
IMPORTANT: After installing this release, delete the old *_state.bin files from the MQL4/Files folder to force a clean rebuild on all assets.
please read here my message:
https://www.forexfactory.com/thread/...6#post15499976]
I'll upload the updated EA in the next few hours! Sorry again!
Happy trading, everyone...
(I'm sure I'll be back with some other material of common interest and usefulness.)
I apologize guys, I forgot to adjust this small, but extremely important detail, I too, like you, am testing, and I noticed that on 2 renko charts, reloading the EA on the candlestick chart, they do not redraw, but when I went to reload it on usdjpy, it transformed from a small bearish trend to a small bullish trend.. this is serious (for me), then a light bulb went on for me... the problem of compatibility with asset prices, usdjpy uses a different price from eurusd, as well as gold, dax, crypto, etc... so I'm fixing this shortcoming, the goal is to have a modern, stable, lighter EA builder, and above all with iron efficiency:
//+---------------------------------------------------------------------------+
//| Renko_Live_Chart_V5.mq4 |
//| Valdecchio 2025 |
//| https://www.forexfactory.com/valdecchio |
//+---------------------------------------------------------------------------+
//| IMPROVEMENTS IN V5 - TRUE NON-REPAINT: |
//| 1. Persistent history file - appends instead of overwriting |
//| 2. Tick-by-tick processing eliminates High/Low ambiguity |
//| 3. Median price simulation for historical bars |
//| 4. State persistence prevents recalculation on reload |
//| 5. |
//+---------------------------------------------------------------------------+
Major changes for universal compatibility:
1. Completely rewritten checksum (lines 247-273):
• Changed from int to double to avoid overflows
• Uses price ratios instead of absolute values
• Works with any price: from 0.00001 (micro forex) to 100,000+ (Bitcoin)
1. STATE_FILE_VERSION increased to 501:
• Forces rebuild for old, corrupted state files
1. Improved decimal handling (lines 64-83):
• Explicit support for 0, 1, 2, 3, 4, 5+ decimal places
• Compatible with indices, cryptocurrencies, and commodities
1. Improved box settings comparison (line 230):
• Use MathAbs() with tolerance instead of direct comparison
1. Improved checksum comparison (line 236):
• Use MathAbs() with Tolerance for double comparisons
IMPORTANT: After installing this release, delete the old *_state.bin files from the MQL4/Files folder to force a clean rebuild on all assets.
please read here my message:
https://www.forexfactory.com/thread/...6#post15499976]
I'll upload the updated EA in the next few hours! Sorry again!
原帖附件 (2)
📦 帖子附件汇总 (56)
以下是回帖中所有共享的附件(56 个,已去重)。
💡 精彩内容推荐
✍️ 楼主最新发布
- •
- •
- •
- •
- •
- •
🔗 您可能感兴趣
- •
- •
- •
- •
- •
- •
🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录
