
Master python basics and pandas data analysis, explore forex basics, and design a trading bot by building a strategy and implementing algorithmic trading with the MT five library.
Learn to install Python and set up PyCharm community edition, add Python to the path, and create a new project for forex algorithmic trading with Python.
Explore printing in Python using the print function, display variables like name and age, and format strings with the format function and curly braces to produce sentences.
Learn how to declare and name variables in Python, assign values, and work with strings, integers, floats, and booleans, including type conversions and multi-variable assignment.
Master Python operators, covering arithmetic (addition, subtraction, multiplication, division, modulus, exponent), comparison, boolean, and assignment operators such as equal sign, plus equal sign, minus equal sign.
Learn how to define and use Python functions to split problems into tasks, pass arguments, run functions, and return results with practical examples of print, mean, and square computations.
Learn how Python distinguishes global and local variables, use the global keyword to access and modify variables inside and outside functions.
Learn how to create and manipulate lists in Python, including indexing (positive and negative), slicing, adding with append and insert, removing with remove and pop, and extending with extend.
Understand dictionaries as an ordered collection of items stored in key-value pairs. Learn their syntax, how to access keys and values, and how to add or remove entries with the pop function.
Explore how if-else statements control code blocks in Python, executing actions when conditions are true or false. See examples using colon, indentation, and print outputs to verify conditions.
Explore while loops in Python, including syntax, conditions, and indentation, and learn how break ends a loop and continue skips the current iteration with practical examples.
Explore how to use the for loop in Python to iterate over lists, ranges, and dictionaries, and print values through practical examples for building grid bot strategies.
Learn classes and objects in Python, where a class is a blueprint and objects are instances with properties. See constructors, self, and car methods with color, brand, and model.
Learn to use pandas series as a 1d data structure with indexes and values, create a series from a list, and select by index or custom indexes.
Explore pandas data frames, a 2d table of rows and columns with an index. Create them from a dictionary, import pandas, and use df['column'][row] to select a value.
Learn to select specific columns and rows in a dataframe using pandas in Python, using dot notation, single and double square brackets, and index-based slicing.
Filter rows by column values in a data frame using df.loc and square brackets. Select rows where age is older than 20 years and print the corresponding names.
Learn to write and iterate dataframe columns using square bracket notation and dot indexing, read the name and age columns, and print their values to understand column iteration.
Install Metatrader 5 and set up a demo trading account, enable algorithmic trading, and configure a standard no-commission account with a $5,000 initial deposit for practice.
Learn how base and quote currencies form forex pairs, identify major, minor (cross), and exotic pairs, and explore adding custom pairs like GBP/USD.
Clarify how the bid, ask, and spread set forex transaction prices. Learn why buyers pay an ask price above the current price and sellers receive a bid price below it.
Explore essential forex terminology, including pips, lots, margin, and leverage, with examples of price moves and lot sizes from micro to standard.
Compute margins and profit for 0.01 lot euro trades using 100x leverage. Derive the lot value as price times 100,000 and calculate profit or loss from buy and sell orders.
Calculate the margin for a 0.01 lot of usd/jpy at 100 leverage, and compute profit and loss in usd from current and previous values using the current ask price.
Explain market orders and pending orders in Metatrader, detailing market execution, stop and limit orders, and how to place buy and sell orders at specific prices.
Apply a grid trading strategy with buy and sell limit orders around the current price, calculating profits per lot across uptrends, downtrends, and range markets, especially in emerging markets.
The strategy part 2 outlines placing multiple buy and sell limit orders around the current price, aiming for a 2% profit, then closing all orders and looping.
Build a grid trading strategy by placing limit orders above and below the current price through a for loop, increasing the price change by 1% per iteration, using leverage.
Set a 2% profit target and implement a function to calculate the percentage of profit using total profit and total margin. Create functions to close all positions and pending orders.
Build a grid trading strategy by using for loops to place limit orders above and below the current price, then use a while loop to monitor triggers, margins, and profits.
Install the MetaTrader python library, import it into your project, then connect python to MetaTrader by initializing and logging in with your server, account number, and password.
Place buy and sell limit orders in python by passing symbol, volume and price in a dictionary, then create a reusable function to return the request output.
Fetch current position details using the score gait method, including open price, volume, profits, current price, symbol, and order type (buy or sell).
Create and test a Python function to calculate total profit for a symbol, converting values to float, returning profit, and printing results for gbp usd; extend to compute total volume.
Filter orders by type (0 buy, 1 sell) using the lock function on the dataframe, then build functions to calculate profit for buy and sell positions with practical examples.
Calculate the total margin for a grid bot by building a function using type, symbol, volume, and open price, then sum margins from a dataframe to return the total.
Develop functions to calculate percentage profit for buy orders by dividing profit by the margin and multiplying by 100, returning the result (e.g., 5.63% on sale positions and 3.39%).
Learn how to close all forex positions by calling a close all function with the position parameter, as shown, closing €2 USD and 3 GBP USD positions.
Learn to delete limit orders in a Forex grid bot by using the delete pending function with an order ticket, then verify closures of multiple orders.
Assemble a grid bot to place five sell limit orders above and five buy limit orders below the current price. Use a pct change formula, 0.01 lots, and 100 leverage.
Implement a while loop that closes all sell and buy positions and pending orders once a profit target is reached, using margin and percent profit calculations.
Builds and refines a forex grid bot by defining core variables like volume, profit target, and gap between limit orders, then adjusts proportion and daily metrics to complete the setup.
Learn to design a Python class to trade multiple currency pairs at once by defining a class with a constructor, properties, and methods, including an exception-handling run method.
Create and import the forex grid bot class, configure objects for currency pairs like gbp usd and eur usd, and run parallel orders using threading.
Select currency pairs by avoiding high-impact news with the Forex Factory calendar; analyze timeframes to identify trends and apply a grid trading approach on usd and eur pairs, execute orders.
Learn step-by-step instructions to implement a grid bot for forex algorithmic trading using Python, with practical guidance on setup, configuration, and execution.
There are 8 main sections in this course
Basics of Python
Data Analysis with Pandas Library in Python
Basics of Forex
Building the Strategy Plan
Algorithmic Trading with mt5 Library
Building the Trading Bot
Multiprocessing ( Trading Multiple Currency Pairs Simultaneously )
Live 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
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 ( Profit/Loss , Margin , Total Volume ))
Building the Trading Bot
We are putting all the functions together and assembling the bot
Multiprocessing
We are Upgrading our Bot with Classes and Threading. After that He Can Trade Multiple Currency Pairs at the Same Time.
Live Trading
We are waiting for suitable market conditions and correct currency pairs.
Then we do live trading