
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Build Your Own MetaTrader 5 Python Trading Bot: EMA Indicator
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Trading Bot: EMA Indicator
This section of the video demonstrates how to create a function for calculating exponential moving average (EMA) indicator in Python. The video provides step-by-step instructions for creating the function, which calculates the average value of previous trades with a multiplier applied to the most recent trade, and how to add a column for the EMA to each row of the data frame. The video also emphasizes the importance of commenting functions and using a pseudo-library to make the code reusable and conform to the "don't repeat yourself" principle. The video concludes by demonstrating how to calculate different types of EMAs that will be used in the upcoming EMA crossover strategy.
Build Your Own MetaTrader 5 Python Trading Bot: EMA Cross Strategy
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Trading Bot: EMA Cross Strategy
In this video tutorial, the presenter explains and implements the EMA cross strategy to build a trading bot to place trades automatically. The strategy involves using two EMAs, EMA 50 and EMA 200, and generates buy or sell signals when EMA 50 crosses over or below EMA 200, respectively. He also discusses stop loss, entry price, and take profit for each trade and how to create a separate function to design a library. The presenter updates the EMA cross strategy function to integrate with the get_data function created in a previous episode, and the indicators function returns all the necessary information to the calling function. The code is simplified by extracting the timeframe, making it easier to manage and maintain for algorithmic traders.
Build Your Own MetaTrader 5 Python Trading Bot: EMA Cross Detector
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Trading Bot: EMA Cross Detector
The video tutorial teaches how to create an EMA cross detector using Python, discussing the process of creating two different EMAs and identifying potential trends in the market, and walking through how to construct the EMA crossover detector function. The function creates two new columns, position and pre-position, and checks whether a cross event has occurred to create a column that sets True if a crossover has occurred; it also demonstrates how to use the EMA cross detector in main.py by extracting only the rows that have a true crossover event. The tutorial also hints at the next episode where it will demonstrate how to calculate a personal EMA cross strategy.
Build Your Own MetaTrader 5 Python Bot: BUY and SELL Signals
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Bot: BUY and SELL Signals
This video tutorial focuses on creating buy and sell signals for a Python bot in MetaTrader 5 (MT5), using the EMA cross strategy with 50 and 200 EMAs. The tutorial explains the rules for generating signals for both buy and sell, along with stop loss, entry price, and take profit. A function is created to generate trade signals for the bot, recording the parameters for each trade along with the corresponding highest EMA. Additional columns are created to record values for trade signals, and the function also includes a check to ensure that the EMA values are not equal at the start of the function. The tutorial shows how to skip rows that are less than the minimum value of EMA and calculate stop loss, stock price, and take profit for both green and red candles. The generated signals are added back into the previously created columns, generating a list of trade signals for the bot.
Build Your Own MetaTrader 5 Python Trading Bot: Lot Size Calculator
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Trading Bot: Lot Size Calculator
This video discusses how to build a lot size calculator function for a trading bot on Metatrader5 using Python. The function requires knowledge of the balance being risked, risk amount, stop-loss price, entry price, and the symbol being traded, and differs for Forex trading. The speaker emphasizes the importance of rounding values to prevent Metatrader5 from rejecting the calculation and shows how to add a different currency to the function. They also discuss adding in the exchange rate, making the code more robust by adding a catch-all else statement, and providing a standard calculation for pip size and pip value. The next part of the series will focus on safely and efficiently placing orders on Metatrader5.
Build Your Own MetaTrader Python Trading Bot: Order Creator Part 1
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader Python Trading Bot: Order Creator Pt 1
The YouTube video titled "Build Your Own MetaTrader 5 Python Trading Bot: Order Creator Pt 1" covers the process of creating orders on MetaTrader5 using Python. The video is part one of two, with this section focusing on the second step of the order creation process, which involves checking the orders before placing them. The video covers the creation of a dictionary object called 'request' that passes the necessary trade information to the order creator function. The speaker also explains how to set the request type for a sell or buy stop order, how to use the Metatrader5 order check request to prevent common errors, and the importance of formatting numbers correctly before passing them into MetaTrader 5. The next episode will cover the actual placement of orders on MetaTrader5.
Build Your Own MetaTrader 5 Python Trading Bot: Order Creator Part 2
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Trading Bot: Order Creator Pt 2
The video is a continuation of the tutorial on building a MetaTrader5 Python trading bot and discusses the process of code implementation for sending an order, handling different outcomes, and understanding error codes that can be returned by MetaTrader5. The presenter highlights the significance of customizing the code based on personal preferences and understanding the errors that may occur while using the bot. The presenter also provides an example function notifying the user of errors and stopping the execution if necessary.
Build Your Own MetaTrader 5 Python Trading Bot: Order Creator Part 3
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Trading Bot: Order Creator pt 3
This video tutorial focuses on building a MetaTrader 5 Python trading bot and covers several steps in placing orders on the platform, including calculating the lot size, checking orders for issues, placing orders, and wrapping everything together to ensure efficiency and safety. The tutorial discusses the variables needed for the bot, such as balance, comment, risk amount, symbol, and trade values like stop loss and take profit. The video demonstrates the use of calc lot size helper function and the importance of error checking while also stressing the need for research and attention to detail. The tutorial concludes with an explanation on using data frames to extract required values and explores ways to make the bot trade continuously in the next episode.
Build Your Own MetaTrader Python Trading Bot: Never Miss A Candlestick
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader Python Trading Bot: Never Miss A Candlestick
This video tutorial demonstrates how to build a Python trading bot in MetaTrader 5 that will never miss a Candlestick. The code initiates MetaTrader 5, captures current and previous times, and utilizes a while loop to retrieve a single candle and compare to the previous candle to identify new candlesticks. The video emphasizes the importance of correcting spacing in the code, implementing a sleep function to prevent crashing, and utilizing a separate function to simplify the main function. The instructor also provides guidance on how to handle errors in the code and use print statements for clear testing.
Build Your Own MetaTrader 5 Python Trading Bot: Auto Manage Every Trade
Get the code at GitHub: https://github.com/jimtin/algorithmic_trading_bot
Build Your Own MetaTrader 5 Python Trading Bot: Auto Manage Every Trade
This video is part of a series on building a MetaTrader 5 Python trading bot, and focuses on managing orders. The speaker explains how to cancel an order and retrieve all open orders, while also emphasizing the importance of effective risk management in trading. The strategy of cancelling all open orders is a simple but valid way of managing the risk associated with open positions. The speaker also announces that the next episode will demonstrate how to manage multiple strategies on the same MetaTrader 5 account.