Re: Something interesting from Chatgpt/AI please post here

401
Vector Consensus Divergence for MT4 with Auto-adjusting Histogram bars

I updated the code so that the histogram bars auto-adjust:
These users thanked the author BeatlemaniaSA for the post (total 7):
Asante, Coolcrow, eduarescobar, palex2005, specialkey, LAMA, Tsar
Millionaire Maker - “Amateurs chase. Professionals wait. Legends wait with a plan.”

BEATS V5 - "Enjoy The Quiet Between Trades”
Improve Your Trading Psychology - No fear, no doubt
Ultimate Risk Management - Maximize Your Trades
Supply and Demand Course - Learn Supply and Demand
Believe That You Can - Believe That You Can

Re: Something interesting from Chatgpt/AI please post here

402
Jimmy wrote: Wed Mar 11, 2026 7:39 pm Vector Consensus Divergence for MT4

Outstanding. Thank you for taking the time and effort to create it.

I've also ported the MT5 version over to MT4 and made a few adjustments. A couple of notes on it:
  • Added adjustable coloring in the inputs tab
  • Adjustable histogram width
  • ATR "auto scaling" divergence logic as per MT5 code
  • 500 bars calculation to make it faster
Strange, but this version did not auto-adjust the widths, so I had GROK update the code.
These users thanked the author BeatlemaniaSA for the post (total 3):
Jimmy, Cagliostro, Asante
Millionaire Maker - “Amateurs chase. Professionals wait. Legends wait with a plan.”

BEATS V5 - "Enjoy The Quiet Between Trades”
Improve Your Trading Psychology - No fear, no doubt
Ultimate Risk Management - Maximize Your Trades
Supply and Demand Course - Learn Supply and Demand
Believe That You Can - Believe That You Can

Re: Something interesting from Chatgpt/AI please post here

403
BeatlemaniaSA wrote: Wed Mar 11, 2026 11:52 pm Strange, but this version did not auto-adjust the widths, so I had GROK update the code.
Even better, thanks Beats.
List of our most powerful reversal indicators | Guide to the "All Averages" Filters (ADXvma, Laguerre etc.)
Using Fibonacci "numbers" for indicator settings 💡
How to draw Fibonacci Extensions easily | The best way to draw Support & Resistance

Re: Something interesting from Chatgpt/AI please post here

406
Vector Consensus Divergence (VCD Pro) for MT4 with Auto-adjusting Histogram bars, Auto HTF selection, Divergence, Alerts, and Divergence arrows
Enhance as you see fit. Enjoy.

Beatle 🪲
These users thanked the author BeatlemaniaSA for the post (total 10):
Jimmy, rosy440, thomdel, Abdi, Cagliostro, mate, Tsar, LAMA, Akela, mazibee
Millionaire Maker - “Amateurs chase. Professionals wait. Legends wait with a plan.”

BEATS V5 - "Enjoy The Quiet Between Trades”
Improve Your Trading Psychology - No fear, no doubt
Ultimate Risk Management - Maximize Your Trades
Supply and Demand Course - Learn Supply and Demand
Believe That You Can - Believe That You Can

Re: Something interesting from Chatgpt/AI please post here

408
❗ShowPips_Edit_AI (Version 3.0 – Optimised Build)

This is a lightweight, real-time custom indicator for MetaTrader 4 that displays key information about your open market trades on the current chart symbol. TPSproTrading created it and has been significantly enhanced with an autohide feature and major performance optimisations.

👉🏽 Core Purpose
It gives you an instant, at-a-glance view of:
- How many trades are open
- Total floating pips
- Realised profit/loss (in money and %)
- Current spread
- Time left until the current bar closes

All data updates on every tick and is calculated **only for the symbol the indicator is attached to**.

👉🏽 Display Modes (choose one via `show_type`)
1. Follow the price (default) – Text object that moves with the price (like a dynamic label attached to the chart).
2. As comment – Classic `Comment()` text in the top-left corner of the chart.
3. In selected corner – Fixed label object anchored to any corner of the screen with full alignment control (left/centre/right + top/middle/bottom).

👉🏽 What It Displays (all configurable)
You can turn each item on/off individually:

- ✅ Trades count – “Trades: X”
- ✅ Total Pips – “Pips: X.X” (accurate 5/3-digit handling)
- ✅ Profit – Account currency symbol + profit (e.g. “$123.45”)
- ✅ Profit % – e.g. “+2.3%” or “-1.5%”
- ✅ Spread – Current spread in points
- ✅ Time to bar close – Countdown in MM:SS format

All elements are concatenated intelligently with spaces or “ | ” separators.
Profit and pips are shown in profit colour (blue) or loss colour (red) automatically. When flat, it uses the neutral text colour.

👉🏽 Smart Autohide Feature (the main upgrade)
- When zero trades are open on the current symbol → the indicator completely disappears from the chart.
- No text object left behind
- No Comment() spam
- No visual clutter
- As soon as even one trade opens → the indicator instantly reappears with full data.
This gives you a clean chart when you’re flat and automatic visibility the moment you enter the market.

👉🏽 Major Performance Optimisations (Version 3.0)
- One single loop through `OrdersTotal()` instead of the original 3–4 separate loops.
- All statistics (count + pips + profit) are now calculated together in the new `GetTradeStats()` function.
- Pip multiplier, tick size, and digits are pre-calculated once outside the loop.
- Removed redundant function calls, unused variables (`double n`), and unnecessary error checks on every tick.
- Cleaner object creation/update logic (no repeated `ObjectFind` + `ObjectCreate` overhead).
- Result: Dramatically lower CPU usage — especially noticeable with many open trades or on slower terminals.

👉🏽 Full List of External Parameters
- `show_type`, `corner`, `h_align`, `v_align`
- `show_profit`, `show_perc`, `show_spread`, `show_time`, `show_trades_count`, `show_pips`
- Colours: `colortext`, `ecProfit`, `ecLoss`
- Positioning: `coord_y`, `indent`, `x_offset`, `y_offset`
- Font: `text_size`, `text_font`

👉🏽 Technical Notes
- Works on any symbol (Forex, Indices, Metals, Crypto, etc.).
- Handles 4-digit and 5-digit brokers correctly.
- Pure MQL4 — no DLLs, no external files.
- Zero errors/warnings on compile.
- Deinit cleanly removes all objects and comments.

In short:
ShowPips_Edit_AI is now a clean, ultra-light, intelligent dashboard that stays completely invisible when you have no positions and pops up instantly with rich, colour-coded information the moment you enter the market — all while using minimal CPU resources.

Just attach it to any chart, choose your preferred display mode, and enjoy a clutter-free trading experience!
Beatle 🪲
These users thanked the author BeatlemaniaSA for the post (total 8):
Akela, mazibee, kvak, mate, Cagliostro, alexm, specialkey, JohnL33
Millionaire Maker - “Amateurs chase. Professionals wait. Legends wait with a plan.”

BEATS V5 - "Enjoy The Quiet Between Trades”
Improve Your Trading Psychology - No fear, no doubt
Ultimate Risk Management - Maximize Your Trades
Supply and Demand Course - Learn Supply and Demand
Believe That You Can - Believe That You Can

Re: Something interesting from Chatgpt/AI please post here

409
A few Pinescrit translations for MT5 have not been shared.
here it would be: https://www.tradingview.com/script/Tq7S ... lgoTrader/

and

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

The codes are shared as they are, not perfect, but with the source code you will definitely get better from them.
These users thanked the author Pelle for the post (total 6):
stond, kvak, Tsar, Thangarasu, alexm, SijjiN