
Learn python basics, data analysis with pandas, and essential forex terminology to build algorithmic trading strategies, create a trading bot, and explore bollinger bands and dca trading.
Install Python and set up PyCharm IDE, including adding to the path, customizing the installation, selecting the community version, creating a new project, and preparing for Python basics.
Learn to use the print function and f-strings to print variables, combine text with values, and format messages with curly braces for clear output.
Learn how to name and store values in Python variables, assign strings, numbers, and booleans, convert between data types, and assign multiple values in one statement.
Explore Python operators across arithmetic, comparison, boolean, and assignment categories, with examples of addition, subtraction, multiplication, division, modulus, exponentiation, and integer division.
Explore how local variables inside functions differ from global variables outside, using the global keyword to access and modify Python variables across scopes.
Learn to create and manipulate lists: use square brackets with positive and negative indexing, slice ranges, and methods like append, insert, remove, pop, and extend to combine lists.
Learn dictionaries as ordered key-value collections, using curly braces and colon syntax; practice accessing keys and values, adding pairs, and removing entries with pop through practical examples.
Learn how if else statements in Python execute blocks when conditions are true or false, using indentation and colon, with prints like 'Condition is true' and 'Condition is false'.
Learn how to use while loops in Python and control loop execution with break and continue, including condition checks, indentation, and counter updates.
Master for loops in Python by learning the syntax, iterating over lists, ranges, and dictionaries, and printing values and keys for the ultimate forex algorithmic trading course.
Learn how to define Python classes and create objects with properties and methods, using constructors and self, then instantiate cars and call methods to display details.
Learn to use the pandas library for data analysis by creating and indexing a pandas series from a list, installing pandas, and assigning custom indexes.
Explore pandas data frames as a 2D table with rows and columns, import pandas, create a data frame from a dictionary, print it, and access a value with df['column'][row].
Master selecting specific columns and rows in pandas dataframes using dot notation, single or double brackets, and the loc method. See practical PyCharm examples illustrating series vs dataframe outputs.
Learn how to select rows in a data frame by conditions using df.loc and square bracket syntax, filter by marks and age, and print the corresponding names.
Learn how to work with dataframe columns by name, access columns with df['column'] or dot notation, and iterate over columns to print values like name and age.
Install MetaTrader 5 and set up a demo trading account, enable algorithmic trading, and learn to choose a zero-commission standard account with a $5,000 initial deposit for practice.
Explore the types of currency pairs in forex—the major pairs with the base currency and code currency, cross currency pairs, and exotic pairs—plus how to add custom currency pairs.
Learn how bid, ask, and the spread affect forex trading by buying above the market price, selling below it, and calculating the spread as the price gap.
Master forex terminology, including pips (fourth decimal for most pairs and ten pips for yen), lots, margin, and leverage, with practical examples.
Explore essential calculations for forex trading by analyzing margins, lot values, and profits and losses in buy and sell scenarios, using leverage and 100,000 euros.
Calculate the margin, profit, and loss for a 0.01 lot of USD/JPY using 100x leverage to open and manage a forex order.
Calculate euro dollar profit by comparing current and previous values after a one-pip move for a one-lot trade, using 100,000 as the lot value, deriving profits like 10 USD, 0.1, and 0.01.
Explore forex order types in MetaTrader, including market orders executed instantly at the current price and pending orders, including stop and limit orders placed for future price levels.
Install the MetaTrader Python library, import it, and connect Python to MetaTrader 5 by initializing and logging in with the server, account number, and password.
Place buy and sell limit orders with Python by passing symbol, volume, and price in a dictionary, test with examples, and observe output from executed limit orders.
Learn to place market orders by specifying symbol and volume, and execute buy and sell 0.05 lots on GBP USD using the provided functions.
Get current position details with the score gate method from the empty file library, filter by symbol, and view open price, volume, profit, current price in a pandas data frame.
Builds a function to calculate total profit from a dataframe by symbol, converts to float, and tests with GBP USD showing 1.47 profit and 0.3 loss, plus volume 0.04.
Separate buy and sell orders via the type column, with 0 for buy and 1 for sell; filter using lock and create functions to calculate buy and sell profits.
Calculate margin by building a function that accepts type, symbol, volume, and open price to compute the total margin across positions, then return the sum.
Learn to compute percentage profit by dividing total profit by total margin, multiplying by 100, and returning the result, using buy and sale margins to determine total margin.
Learn to close all forex positions using a close all function, passing each position as a parameter, and verify closure of two USD positions and three GBP USD positions.
Learn how to delete limit orders using a delete pending function by passing the order ticket, view orders in a data frame, iterate tickets, and verify closures of selected orders.
Explain candle structure with open, high, low, and close and use a 14-period moving average to signal buys when price closes above moving average and sells when it closes below.
Assemble the first trading bot by creating a Python project, installing pandas and Metatrader libraries, importing them, and copying the initialize and close function templates from the resources.
Assemble the first bot part 2 by extracting ten candles, building a pandas dataframe of open, high, low, and close, and computing direction from the last close against the mean.
Assemble the world's first forex algorithmic bot by wiring a continuous loop with a direction variable, closing positions on signals, and placing market or buyback orders.
Explore testing a forex algorithmic trading bot by tweaking parameters such as period 14, time frame 1, and volume 0.05 lots, while reviewing trade history and addressing errors.
The lecture explains the improved poster strategy using two moving averages—the long-period and the short-period—to trigger crossovers and to place and cycle sell and buy orders continuously.
Build the sma crossover trading bot by renaming periods, setting semi period one and two, and updating the direction logic using candles df1 to create a second trading board.
Apply Bollinger bands to strategy with a 20 period simple moving average, bands at ±2 standard deviations. Sell above upper band, buy near lower band in emerging energy markets.
Build a Bollinger band trading bot by calculating a 20-period moving average and standard deviation to form the upper and lower bands, signaling buy, sell, or neutral.
Place buy limit orders above and below the current price to form a grid, track profit per lot and pips, and close orders when the market trends in one direction.
Place buy and sell limit orders above and below the current price, target a 2% profit relative to the margin (0.01 lot), then close all orders and loop.
learn to place limit orders above and below the current price using a follow-up loop that runs five iterations and increases price change from 1% to 5% with leverage.
Set a 2% profit target and learn to compute the percentage of profit from total profit and total margin. Close all positions and pending orders using dedicated functions.
Build a strategy with limit orders above and below the current price, use a while loop to monitor triggers and positions, and close all positions when profit exceeds 2%.
Install essential libraries in a new Python project, including pandas and MetaTrader five. Copy and paste the guide functions from the resources text file to configure a grid bot.
Build a trading bot that places five sell limit orders above the current price and five buy limit orders below the current price using for loops and a pct change.
Close all orders and positions when the profit target is reached, using a while true loop, compute margins and percentage profit (PCT), then break to restart.
Assembling the trading bot part 3 explains adding and adjusting variables such as symbol, volume, and profit target, and increasing the gap between limit orders to complete the bot.
We are going to build 5 Trading Bots in this Course. This is the course content.
Basics of Python
Data Analysis with Pandas Library in Python
Basics of Forex
Building the Strategy Plan
Forex Algorithmic Trading with mt5 Library
Bot 01: Building a Simple Forex Trading Bot to Understand Fundamentals
Bot 02: Building a SMA Crossover Trading Bot
Bot 03: Building a Bollinger Bands Trading Bot
Bot 04: Building a Grid Trading Bot
Bot 05: Building a DCA Trading Bot
Multiprocessing ( Trading Multiple Currency Pairs Simultaneously )
Live Forex Trading
Basics of Python -
This section is for absolute beginners in python. We are discussing about following topics.
Installing Python and Setting up IDE
Print Function and F Strings
Variables and Basic Data Types in Python
Operators in Python
Python Functions
Global and Local Variables in Python
Working with Lists
Working with Dictionaries
If Else Statements in Python
While Loops, Break and Continue Statements
For Loops
Classes and Objects in Python
Data Analysis with Pandas Library in Python
Pandas is a Python library created for data analysis. We are using this library to do essential forex calculations.
We are discussing about,
Pandas Series
Pandas Data Frames
Selecting Specific Rows and Columns in a Dataframe
Selecting Rows in a Data Frame by Conditions
Iterating Colums in a Dataframe
Basics of Forex
We will discuss terminology in forex and do essential calculations.
Installing MetaTrader and Setting Up a Correct Broker Account
Types of Currency Pairs in Forex
Bid, Ask and Spread
Lots, Pips , Leverage and Margin
Essential Calculations
Types of Orders in Forex
Building the Strategy Plan
In this section, we will be designing blue print of our trading bot
Forex Algorithmic Trading with mt5 Library
We are creating functions of our trading bot(Functions for Opening and Closing Different Types of Orders with Python
Getting Current Position Details,
Basic Calculations in Forex ( Profit/Loss , Margin , Total Volume ))
Building Trading Bots
We are putting all the functions together and assembling the 5 forex trading bots.
Multiprocessing
We are putting all the functions together and assembling the forex bot
Live Trading
We are waiting for suitable market conditions and correct forex pairs.
Then we do live trading