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. Universal compatibility: Forex, Crypto, Indices, Commodities |
//+---------------------------------------------------------------------------+
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.
Updated 10/12/2025 ( more light for RAM and CPU, and compatibility with any asset )
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. Universal compatibility: Forex, Crypto, Indices, Commodities |
//+---------------------------------------------------------------------------+
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.
Updated 10/12/2025 ( more light for RAM and CPU, and compatibility with any asset )
Attached File(s)
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!