Training program4 weeks·Python-centred
Build your own algorithmic trading systems in 4 weeks.
From a written strategy to a tested, automated system running on paper. TradingView, MetaTrader 5, Python, broker APIs and AI coding agents, taught by someone who builds these systems for a living.
Download the brochure (PDF, 3.2 MB)
The transformation
Where you start, and where you finish
Before
- Trading by feel, rules in your head
- Copying indicators you can't change
- Trusting a backtest screenshot
- Watching charts all day
- No idea what happens if the code breaks
After 4 weeks
- Every strategy written as an exact spec
- Coding it yourself in Pine Script, MQL5 and Python
- Validating with walk-forward and Monte Carlo
- A system that trades on paper and alerts you
- A risk engine and kill switch you built
Skills
What you'll be able to do
- SPWrite exact strategy specsRules a computer, and a client, can't misread.
- PSBuild in Pine ScriptIndicators, strategies and webhook alerts.
- EABuild MT5 Expert AdvisorsFull order management, tested properly.
- PYResearch in Pythonpandas, VectorBT, Backtrader, Lean.
- WFValidate like a professionalWalk-forward, heatmaps, Monte Carlo.
- APIConnect broker APIsData, orders and paper trading.
- REBuild a risk engineLimits, duplicate checks, kill switch.
- AIBuild with AI agentsFaster code you can still verify.
This is for you if
- You trade and want your strategy to run without you
- You're new to algo trading and want one structured path
- You code and want to apply it to markets
- You use TradingView and want to go further than Pine Script
- You want to use AI to build, without being fooled by it
This is not for you if
- You want buy and sell signals or tips
- You expect guaranteed profits
- You want a ready-made bot without understanding it
- You're not willing to test before you trade
Curriculum4 weeks · 22 modules
Week by week
Platforms first, so you see the whole automation ecosystem. Then Python research and validation, the core of the program. Then APIs, AI and a deployed system. Every module ends with a hands-on lab.
Week 1
Strategy Design, TradingView and Pine Script
Turn a trading idea into exact rules, then into a working TradingView strategy.
- Write any strategy as an exact, testable specification
- Build Pine Script v5 indicators and strategies from scratch
- Read a strategy report and spot the numbers that lie
- Fire webhook alerts that can drive automation
DeliverableA signed-off strategy spec and a Pine Script strategy with alerts.
M01Anatomy of an algorithmic trading system
- Discretionary vs systematic trading
- The 8 building blocks: data, signal, filter, entry, exit, sizing, risk, execution
- Strategy logic vs execution logic
- Time frames, sessions and market data types
- Lifecycle: idea → spec → code → test → deploy → monitor
M02Writing a strategy specification
- Exact entry, exit and invalidation rules
- Position sizing and stop rules
- Edge cases: gaps, partial fills, holidays, overlapping signals
- Worked numeric examples
- The automation-readiness checklist
M03Pine Script v5 from zero
- Script structure, series and the bar-by-bar execution model
- Built-in ta.* functions
- Custom indicators and plotting
- strategy() entries, exits, stops and targets
- Avoiding repainting and look-ahead
M04Strategy metrics that matter
- Expectancy, profit factor, win rate vs payoff
- Max drawdown, recovery factor, Sharpe and MAR
- Trade count and statistical significance
- Commission and slippage settings
- Why a beautiful equity curve proves nothing
M05Alerts and webhooks
- alert() and alertcondition()
- JSON alert payloads
- Webhook delivery to a server or bot
- Alert failure modes and duplicates
Week 2
MetaTrader 5 and MQL5 Expert Advisors
Build an Expert Advisor that trades by itself, then test it like a professional.
- Write MQL5 Expert Advisors with full order management
- Use Strategy Tester modelling modes correctly
- Run optimisation and forward tests without fooling yourself
- Handle spread, slippage and execution failures in code
DeliverableA working Expert Advisor with an optimisation and forward-test report.
M06MT5 architecture and the Strategy Tester
- Terminal, MetaEditor and the tester
- Every-tick vs real-tick vs OHLC modelling
- Historical data quality
- MT4 vs MT5 differences
- Netting vs hedging accounts
M07MQL5 programming
- Types, functions and program structure
- OnInit, OnTick, OnTimer and OnDeinit
- Indicator handles and CopyBuffer
- Inputs and parameter design
- Error handling and logging
M08Building a complete Expert Advisor
- CTrade and order types
- Position management and magic numbers
- Stop loss, take profit and trailing stops
- Session and spread filters
- One-trade-per-signal protection
M09Optimisation and forward testing
- Genetic vs complete optimisation
- Custom optimisation criteria
- Forward period in the tester
- Reading the optimisation graph for stability
- Over-optimisation warning signs
M10Execution realities
- Spread, commission and slippage
- Requotes and rejected orders
- Duplicate-order prevention
- VPS hosting and uptime
- Demo vs live behaviour
Week 3
Python Quant Research and Robustness Testing
The core of the program: research strategies in Python the way professionals validate them.
- Load, clean and validate market data with pandas
- Backtest vectorised and event-driven strategies
- Run walk-forward optimisation and Monte Carlo analysis
- Size positions with a tested risk model and combine strategies into a portfolio
DeliverableA Python research notebook with backtest, walk-forward, Monte Carlo and a robustness verdict.
M11Python and pandas for market data
- Python essentials for traders
- DataFrames, time indexes and resampling
- Cleaning gaps, duplicates and bad ticks
- Corporate actions and adjusted prices
- Indicators with NumPy and pandas
M12Vectorised backtesting with VectorBT
- Signals as boolean arrays
- Fees, slippage and position sizing
- Portfolio stats and trade lists
- Parameter sweeps at scale
- Look-ahead bias in vectorised code
M13Event-driven backtesting
- Backtrader architecture: feeds, strategies, analyzers
- Order types and broker simulation
- Multi-timeframe and multi-asset tests
- An introduction to QuantConnect Lean
- When to use vectorised vs event-driven
M14Walk-forward validation
- In-sample vs out-of-sample
- Anchored vs rolling walk-forward
- Walk-forward efficiency
- Data leakage and survivorship bias
- Fixing splits before you look at results
M15Robustness: heatmaps, Monte Carlo and permutation tests
- Parameter stability heatmaps: plateaus vs spikes
- Monte Carlo trade resampling and drawdown distribution
- Permutation tests against random entries
- Noise and stress tests
- Reading a robustness report
M16Position sizing and portfolios
- Fixed fractional and fixed risk
- Volatility targeting
- Kelly fraction and why to cap it
- Correlation and strategy combinations
- Portfolio-level drawdown
Week 4
Broker APIs, AI Integration and Deployment
Connect everything: broker APIs, a risk engine, AI tools and a system that runs and reports on its own.
- Connect Python to Indian broker APIs for data and orders
- Build a risk engine with limits and a kill switch
- Use AI coding agents to build faster, and verify what they write
- Deploy a system with logging, scheduling and Telegram alerts
DeliverableYour final project: a complete, documented trading system running on paper.
M17Broker APIs
- REST vs WebSocket
- Authentication and token refresh
- Historical and live data
- Order lifecycle and status polling
- Paper trading and sandboxes
- Rate limits and retries
M18Risk engine and kill switch
- Why risk lives outside strategy code
- Position, exposure and daily-loss limits
- Duplicate-order and stale-data checks
- Kill switch design
- Audit logs
M19AI coding agents for trading development
- Prompting for strategy code
- Agent workflows for build, test and refactor
- Generating tests automatically
- Reviewing AI code for look-ahead and logic errors
- Protecting keys and strategy IP
M20AI APIs and news sentiment
- Calling LLM APIs from Python
- Structured JSON outputs
- Entity, topic and sentiment extraction
- Timestamp alignment
- Testing whether a feature has real value
M21Deployment and monitoring
- Running on a VPS or cloud machine
- Scheduling around market hours
- Structured logging
- Telegram alerts for trades and errors
- Health checks and restart policy
M22Indian market compliance awareness
- SEBI's framework for retail algorithmic trading
- What it means for algos run through brokers
- Registered vs personal-use strategies
- Record keeping and responsible automation
Final project
You finish with a complete trading system
Not a certificate. A working, documented system you built yourself, running on paper, with every piece a professional would expect.
- A signed-off strategy specification
- Clean, validated market data
- Python implementation with tests
- Backtest with realistic costs and slippage
- Walk-forward and Monte Carlo robustness report
- Position sizing model
- Broker adapter running on paper
- Risk engine with kill switch
- Telegram alerts and logging
- README with reproducible setup
//@version=5 strategy("EMA Cross + RSI", overlay=true) fast = ta.ema(close, 20) slow = ta.ema(close, 50) rsi = ta.rsi(close, 14) if ta.crossover(fast, slow) and rsi < 70 strategy.entry("Long", strategy.long) if ta.crossunder(fast, slow) strategy.close("Long")
#include <Trade/Trade.mqh> CTrade trade; int hFast, hSlow, hRsi; int OnInit() { hFast = iMA(_Symbol, _Period, 20, 0, MODE_EMA, PRICE_CLOSE); hSlow = iMA(_Symbol, _Period, 50, 0, MODE_EMA, PRICE_CLOSE); hRsi = iRSI(_Symbol, _Period, 14, PRICE_CLOSE); return INIT_SUCCEEDED; } void OnTick() { double f[2], s[2], r[1]; CopyBuffer(hFast, 0, 1, 2, f); CopyBuffer(hSlow, 0, 1, 2, s); CopyBuffer(hRsi, 0, 1, 1, r); bool up = f[0] <= s[0] && f[1] > s[1]; bool down = f[0] >= s[0] && f[1] < s[1]; if (up && r[0] < 70 && !PositionSelect(_Symbol)) trade.Buy(0.10); if (down && PositionSelect(_Symbol)) trade.PositionClose(_Symbol); }
import pandas as pd df["fast"] = df.close.ewm(span=20, adjust=False).mean() df["slow"] = df.close.ewm(span=50, adjust=False).mean() delta = df.close.diff() gain = delta.clip(lower=0).ewm(alpha=1/14, adjust=False).mean() loss = (-delta.clip(upper=0)).ewm(alpha=1/14, adjust=False).mean() df["rsi"] = 100 - 100 / (1 + gain / loss) up = (df.fast > df.slow) & (df.fast.shift() <= df.slow.shift()) down = (df.fast < df.slow) & (df.fast.shift() >= df.slow.shift()) df["signal"] = 0 df.loc[up & (df.rsi < 70), "signal"] = 1 df.loc[down, "signal"] = -1 df["signal"] = df["signal"].shift() # act on the next bar: no look-ahead
- Order filledBUY 1 lot NIFTY FUT · paper
- Walk-forward completeEMA-RSI v3 · 6 of 6 windows passed
- Order blockedDuplicate order detected · RELIANCE
- Monte Carlo report readyDrawdown range updated
- Session resumedToken refreshed · state restored
- Hermes drafted a strategy8 tests generated · 8 passed
Methods
Professional methods, not indicator hacks
These are the tools that separate a tested system from a lucky backtest. You'll run every one of them on your own strategy.

Your instructor
Arwaz Az
Trading since 2017, building algorithmic systems since 2020. I build trading software for clients in Pine Script, MQL5 and Python, and I created Strategic Engine, the research platform this program's methods come from. You learn the workflow I use on real builds.
FAQ
Straight answers
Do I need coding experience?
No. Every language is taught from its first line: Pine Script in week 1, MQL5 in week 2, Python in week 3. You'll also learn to use AI coding agents so you build faster without skipping the understanding.
Will this make me a profitable trader?
No honest program can promise that, and this one doesn't. You'll learn to build, test and automate strategies the way professionals do, which includes learning to reject the ones that don't hold up. That skill is what protects your capital.
Do I have to trade real money?
No. Everything uses historical data, demo accounts, broker sandboxes or a mock broker. Going live is your decision, after the program.
Which brokers and markets?
Platform work uses TradingView and MetaTrader 5. Broker API work covers Zerodha Kite Connect, Dhan and Interactive Brokers, depending on your access. Examples cover Indian equities, F&O and forex.
Is this signals, tips or advice?
No. The program teaches software and research methods. It never tells you what to buy or sell.
What do I walk away with?
A complete, documented trading system running on paper, all your code, and the same specification template and readiness checklist I use with clients.
How is this different from YouTube tutorials?
Tutorials teach you to code an indicator. This teaches the whole system: exact specs, three platforms, professional validation, broker APIs, a risk engine, AI tooling and deployment, in one connected progression.
What does it cost and when does it start?
Fees, dates and format are shared after you apply, so I can first check the program fits your goals.
Apply
Ready to build your own systems?
Tell me where you're starting from and what you want to build. I read every application personally.
- ApplyTwo minutes. No payment, no commitment.
- I review itI check the program fits your goals and experience.
- You get the detailsFormat, dates and fee, so you can decide.