Attachments forums

Re: Something interesting from Chatgpt/AI please post here

Pelle, Fri Jul 17, 2026 1:29 am

Here are some more TradingView translations; hopefully, they prove useful to someone. I haven't managed to test everything—perhaps I should have before publishing.

So, the codes is provided "as is."

Original TradingView scripts here:
https://www.tradingview.com/script/8827 ... age-Based/

https://www.tradingview.com/script/ZHGP ... BigBeluga/


EDIT
AI wrote the following regarding the differences compared to the original Pine Script code:
Ah, good point! It's very helpful to explicitly state that the time is bound to New York time. Here is the updated version of the summary with that clarification included:

***

### 🚀 **What's New in this MQL5 Version? (Differences from the original Pine Script)**

While this is a highly accurate port of the original Order Flow Dashboard, we've taken the opportunity to fix a few logical bugs found in the original code and add some highly requested features specific to this MetaTrader 5 version:

* **New "Low/Zero Aggression" Alerts:** We added a brand new alert capability not found in the original. You can now set a custom threshold (e.g., `0.0%`) to receive alerts whenever Aggressive Buying or Aggressive Selling completely dries up on the tape. Perfect for catching exhaustion and potential reversals.
* **True ARGB Transparency:** The original script attempted to simulate transparency by just making the background color a darker grey. This MQL5 version leverages MT5's native True ARGB engine—meaning your background transparency slider works flawlessly. You can now make the dashboard 100% solid (so chart candles don't bleed through) or genuinely semi-transparent.
* **Cumulative Delta Reset Fix:** We patched a logic flaw from the original Pine Script where the exact reset bar (e.g., 09:30) would accidentally discard its own buying and selling volume. This version correctly captures the opening bar's volume in your daily cumulative delta.
* **Timeframe-Agnostic Session Resets:** The original code checked for an exact minute-match to trigger daily resets. If you used it on an H1 chart (where bars open at 09:00 and 10:00), the reset would silently fail! We rebuilt the reset engine to accurately track New York session day-boundaries. It will now flawlessly reset the Big Contracts and Cumulative Delta across *all* timeframes.


* *(Note: The default `0930` reset time refers strictly to **09:30 AM New York Exchange Time**—the US equity/CME market open—regardless of what local time your broker's server uses).*


* **Immune to Table UI Glitches:** The Pine Script version occasionally suffered from a permanent table-merging UI glitch if no big contracts fired early in the session. Because this MQL5 version dynamically renders exact graphical objects instead of rigid tables, the columns will never collapse or hide your data.

***
All files in topic