![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
PYTHON TRADING BOT #3 - MetaTrader 5, data for backtesting trading
BOT DE TRADING PYTHON #3 - Metatrader 5, datos para backtesting de trading
In this video section, the presenter highlights the usefulness of MetaTrader 5's feature that allows users to save tick data from a specified date range for backtesting purposes. He emphasizes the significance of having ample historical data to develop precise trading algorithms and recommends exporting the data as a CSV file to load into Python for creating trading models. He also predicts that this feature may no longer be free due to the increasing use of bots and AI in trading. The presenter encourages viewers to utilize this feature and direct further interest in his website if they have any interest in trading and cryptocurrencies.
PYTHON TRADING BOT #4 - MetaTrader 5 and Python
BOT DE TRADING PYTHON #4 - MetaTrader 5 y Python
This video explains how to use MetaTrader 5 with Python and create a login. The audience needs to install the MetaTrader 5 package for Python first, and the YouTuber demonstrates how to import libraries by providing an example code. He also mentions that there are many resources available on how to create MetaTrader 5 bots using Python. The video concludes with a recommendation to visit the YouTuber's website for inexpensive and useful trading materials.
PYTHON TRADING BOT #5 - Getting tick prices
BOT DE TRADING PYTHON #5 - Obteniendo ticks (precios)
The video tutorial demonstrates two ways to obtain ticks (prices) from the MetaTrader 5 trading application using Python. The first method involves using the function symbolinfo.tick, which returns the current price of a market with the option to choose the bid or ask tick. The second method is slightly more complex, involving the function copyticksrange and datetime library to retrieve tick data from a specified date until the current time. The tutorial includes a graph of tick data collected every 15 minutes and demonstrates how to compare it to a real graph to ensure accuracy. Finally, the video promotes a website that offers affordable and useful trading documents for those interested in cryptocurrency trading.
PYTHON TRADING BOT #6 - Open and modify trades
BOT DE TRADING PYTHON #6 - Abrir y modificar operaciones
This section of the video tutorial on trading bots with Python covers the process of opening and modifying operations using Python. The presenter gives guidance on defining a purchase for opening an operation through a step-by-step guide using a dictionary and order send function. Other factors the dictionary should cover includes the trade's type, stop-loss, and take-profit values. A suggestion is given to check the cost-effectiveness of the trade using a low volume. Additionally, the presenter explains the utilization of the symbol info function to access the market price and point. Similarly, the video demonstrates modifying open trades through the order send function, beginning with ticket number acquisition through a built-in function named "positions get." A dictionary format can be used to modify the stop loss and take profit values with the "position" key containing the value of the ticket number. The presenter finishes by recommending an affordable and useful trading document webpage.
PYTHON TRADING BOT #7 - Trailing stop
In this video, the presenter explains how to program a trading stop in Python, as it cannot be done automatically in MetaTrader 5. He demonstrates how to set the stop loss manually to minimize the loss if the price drops and ensure a profit if the price goes up, using a simple example on a price chart. The presenter gives a step-by-step guide and code on the screen, and suggests visiting his website for helpful trading documents.
PYTHON TRADING BOT #8 - Generating data for the AI
BOT DE TRADING PYTHON #8 - Generando datos para la IA
In this video, the presenter demonstrates how to generate backtesting data to create a successful artificial intelligence algorithm for trading scripts and cryptocurrencies. They suggest using a small file for generating data and patching the file's format before generating various attributes such as the trade type, profit, success rate, slope, and indicators. They also explain how to overcome the challenge of opening and searching the data file repeatedly by opening the mining file in binary mode. Additionally, they emphasize the importance of saving values of indicators when training the AI for effective trading.
PYTHON TRADING BOT #9 - Creating an AI
BOT DE TRADING PYTHON #9 - Creando una IA
In this video, the host demonstrates how to train an AI using data from the previous video by using a Jupyter notebook to visualize output and Skyler library to create a decision tree and neural network. Graphs and histograms are created to classify successful and failed operations visually. Different AI models are used to classify the data, and the host recommends creating a small file with loops to find the best configuration for the model using the highest score. He recommends using an odd number of decision trees when creating a model to achieve better results and shares a 64% accuracy rate of his model. Viewers are encouraged to visit Sky Learn website to learn more about decision trees, forests, and neural networks, like, subscribe, and share the video, and visit the host's website to purchase affordable trading and cryptocurrency-related documents.
TRADING CANDLES IN PYTHON
VELAS DE TRADING EN PYTHON
The author explains how to obtain trading data from MetaTrader 5 and convert it to candles using Python. He begins by showcasing how one can obtain tick data from a specific market on MT5 and export it to a CSV file. He then demonstrates how he uses a simple algorithm to transform the tick data into candles of different time periods―15 minutes, 1 minute, 30 seconds, etc.―which are saved in a Pandas DataFrame. The YouTuber emphasizes the importance of having a DataFrame with a "close" column, as this enables the user to load technical indicators into Python with the help of the TA-Lib library. The video is part of a series where he teaches how to use Pandas and other libraries for trading analytics.
MACD IN PYTHON - TECHNICAL ANALYSIS LIBRARY
MACD EN PYTHON - TECHNICAL ANALYSIS LIBRARY
The video showcases a tutorial on loading MACD values in Python using the technical analysis library, with a focus on generating those values from an existing data file with a close column. The video also demonstrates the installation of the technical analysis library and the computation of the MACD and Signal line values using an object constructor from the library. Finally, the speaker showcases the plotting of the resulting values using the Matplotlib library. In conclusion, the video provides a comprehensive guide on the process of loading MACD values in Python using the technical analysis library.
RSI IN PYTHON - TECHNICAL ANALISYS LIBRARY
RSI EN PYTHON - TECHNICAL ANALISYS LIBRARY
In this video, the speaker explains the process of loading the RS indicator in Python using the TIA library. The steps involved include defining a data frame containing the column on which to load the indicator, importing the TIA library, creating an object with the RS indicator constructor function, and calling the RS indicator method to create a data frame with the RS indicator information. The video shows how to compare the RS indicator data with real market data to ensure the accuracy of the implementation. In summary, the speaker provides a simple approach that can be followed to load the RS indicator in Python.