 (1).png)









COT Institutional Trader Pro (Weekly AI + Backtest) 📈
Brief Description This is not a scalping bot. 🚫 It is a cBot for position/swing trading designed to capture large, weekly market movements. 🌊
It uses an external analysis engine (AI-based 🧠) to read the chaotic COT (Commitment of Traders) report and transform institutional positioning ("Smart Money") into clear trading signals. 📊
The bot operates in a "universal" mode:
- Live Trading: Connects to our cloud API (Apify) for fresh data every week. ☁️
- Backtesting: Uses a local historical file (included) to allow for accurate and fast optimization. ⚡️
Includes professional-grade risk management (Trailing Stop, Break Even, Prop Firm Limits) for complete control. 🛡️
The Strategy: Weekly AI-Powered Trading The market isn't moved by retail traders; it's moved by institutions. 🏦 This bot follows them.
- AI Analysis (On Server): Every week, our scraper on Apify (acting as the analysis engine 🤖) downloads the raw CFTC reports. It analyzes thousands of lines of text data 📄 to extract the net positioning of "Speculators" (Asset Managers + Leveraged Money) for 14 assets.
- Momentum Signal: The bot isn't interested in static positioning, but in the flow. 💨 It compares the current report with the previous week's report.
- Execution:
- If "smart money" has massively increased its BUY positions, the bot sees strong bullish momentum and opens a BUY. 📈
- If it has massively increased its SELL positions, the bot sees bearish momentum and opens a SELL. 📉
This is a "slow" and patient strategy. ⏳ The bot will only open positions when it detects a significant shift in institutional consensus, holding them for days or weeks to capture the main trend.
Main Features
- 100% COT Report-based Strategy (Institutional Momentum). 🎯
- Multi-Asset Analysis (14 Symbols): 🌍
- Forex: EUR, GBP, JPY, CAD, CHF, AUD 💱
- Commodities: Gold (XAU), Silver (XAG), Oil (XTI) 🥇🛢️
- Indices: S&P 500 (SPX), Dow Jones (DJIA), Nasdaq (NAS), Russell 2000 (RUS), DAX (DAX) 📊
- Prop Firm Risk Management: Set max daily (%) and total (%) loss limits. 🛑
- Advanced Position Management: Fully configurable Trailing Stop and Break Even. ⚙️
- Highly Configurable: Set Volume (Fixed or % Risk), SL, and TP independently for each of the 14 assets. 🔧
Universal Mode: Offline Optimization, Online Trading This bot uses advanced logic to automatically detect if it is running in a backtest or in live trading, offering the perfect solution for both scenarios. ✨
1. Live Trading Mode (Store-Ready) ✅ The bot is 100% autonomous for the end-user.
- How it works: On startup, the bot automatically connects (via
AccessRights.None
) to our Apify API URL (embedded in the code, requires no token from the user). 🔌☁️ - Updates: Our API server is scheduled to download and analyze new COT reports as soon as they are published by the CFTC (usually every Friday afternoon). 🔄
- Reliability: The bot receives new signals automatically each week. 👍 (Note: Data depends on CFTC publication, which can be delayed by events like US government shutdowns. 🇺🇸)
2. Backtest Mode (For Optimization) 🔬 To test the strategy, the bot needs historical data.
- How it works: When you start a "Backtest," the bot detects it automatically.
- It ignores the API and activates its
OnBar()
logic. ⏭️ - Reads the History: It loads the entire COT history from the
cot_history_for_ctrader.json
file (included with the bot and saved in its data folder). 📂 - Simulation: The bot "time travels" ⏳ over the historical bars and triggers the COT signals as soon as the bar's date surpasses the date of a report in the file, allowing you to test and optimize years of strategy in minutes. ⏱️
Initial Setup and Important Notes
- Symbol Mapping (Crucial): 🗺️ Symbol names change between brokers (e.g., "US100" vs "NAS100"). Go into the parameters and ensure that each
Map...
(e.g.,Map NAS to Symbol
) matches your broker's symbol name exactly. ✍️ - IT IS NOT A SCALPER: 🚫 This is a weekly bot. It is normal for it to be inactive for days. 🧘♂️ Trades are only opened when a new report arrives (usually over the weekend or Monday's open 📬) and only if there is a valid momentum signal.
- Backtesting: Run backtests on the H1 or D1 timeframe to test the weekly strategy. 📈
- Disclaimer: Trading involves significant risk. ⚠️ Past performance (both in backtests and live) is not a guarantee of future results. Manage your risk carefully. 🙏