Attachments forums

Re: Something interesting from Chatgpt/AI please post here

Pelle, Thu Jul 30, 2026 4:13 am

Someone over at a-new-trading-game-chaos-game-played-fo ... -2320.html was asking about "A New Trading Game" (chaos game).
I fed the AI ​​one of the PDFs from the thread.

The .mq5 code below uses the following indicators—the AI ​​dug them up from somewhere.

Even though it is an EA, it doesn't actually trade.

AI:"# Orbit Chaos EA - Forum Post Draft

You can use the draft below to share your EA on the Forex-Station forums. It explains the mechanics of the EA while staying true to Darkdoji's philosophical terminology (Chaos Theory, KSO Synchrony, and Risk-Free Space). Feel free to copy, paste, and modify it!

***

**Thread Title:** Orbit Chaos EA (MT5) - Automated KSO Synchrony & Fractal Breakout Scanner

**Post Content:**

Hey everyone,

I’ve been heavily following Darkdoji’s concepts regarding "Orbit the Tool", Chaos Theory, and trading strictly within the "Risk-Free Space". To make applying these mathematical concepts easier, I recently worked with an AI to build a fully automated **Orbit Chaos Expert Advisor for MT5**.

I wanted to share the source code with the community here for anyone who wants to test it, discuss the math, or trade with it.

### **What the EA Does:**
Rather than being a simple trend-follower, this EA is a strict **Trend-Filtered Chaos Breakout Strategy**. It is designed to automatically filter out market noise and only trigger when the math aligns perfectly.

**1. The KSO Filter (Macro Synchrony)**
The EA features an on-chart dashboard with a built-in Kinematic Similitude Oscillator (KSO). It simultaneously scans 4 timeframes (customizable, defaults to M5, M15, H1, H4) checking price relative to the 50 EMA. It waits for perfect "Synchrony" (all 4 timeframes perfectly green or perfectly red).

**2. The Trigger (Fractal Breakout)**
Once the 4-timeframe KSO filter gives the green light, the EA focuses purely on your current chart timeframe. It analyzes:
* **Command 1 (Macro Trend):** Uses Bollinger Bands (20, 2.0) to confirm direction.
* **Command 0 (Folding Space):** Uses ATR (14) to confirm momentum isn't collapsing into a pullback.
* **Command 2 (The Trigger):** It patiently hunts for a Bill Williams Fractal peak to form, and the exact second price breaks that fractal, it stamps an Arrow on your chart.

### **Key Features Included:**
* **Strict KSO Requirement:** A toggleable setting that blocks all trades/arrows unless all 4 KSO timeframes are perfectly synced.
* **Historical Arrow Scanner:** The EA permanently stamps arrows, but when you change settings or timeframes, it instantly wipes the chart clean and redraws the historical arrows flawlessly for your new timeframe. This makes visual backtesting incredibly clean.
* **Fully Customizable Dashboard:** You can move the dashboard to any corner, hide it completely, and customize the arrow sizes, colors, and how far they float away from the candlesticks.
* **Alerts & Auto-Trading:** Includes toggles for MT5 pop-up alerts and basic automated execution if you want to let it run hands-free.

***

"

Oops, I forgot something...
All files in topic