MQL5 Algo Trading
390K subscribers
2.58K photos
2.58K links
The best publications of the largest community of algotraders.

Subscribe to stay up-to-date with modern technologies and trading programs development.
Download Telegram
Andrews Pitchfork, featured in modern chart analysis software, offers a simplistic yet creative analysis methodology. However, potential users often question the necessity of a variety of pitchforks and how they aid trading. Consultation of Alan Andrew's original course reveals that supply and demand will maintain dynamic equilibrium, causing resources prices to fluctuate around a specific average line. This article attempts to decode the ideas behind the Andrews Pitchfork in an accessible manner.

The methodology begins by attempting to predict market behaviour. Notably in the years prior to computer and neural networks, market predictions were made, leading to the hypothesis that current analytical methods can also achieve forecast accuracy. The baseline belief centres were drawn on physics, more specifically, Newton's third law, which was theorized to be applicable to financial flo...

Read more...
⚑4πŸ‘Œ2πŸ‘1
Staying abreast of the latest technology trends is crucial in this fast-paced world. By mastering new technologies, developers enhance their knowledge, capacity, and competitiveness. Grand technology breakthroughs have dramatically transformed the world, opening new opportunities for businesses and individuals alike. Adopting the emerging technologies grants an edge in today's age.

Artificial Intelligence (AI) demonstrates its capabilities with self-driving cars and personal assistants. This powerful technology is revolutionizing many industries including healthcare, transport, and even space exploration. By its nature, AI has a significant impact on developers, who must keep themselves updated and proficient.

Besides AI, Blockchain technology is another innovation worth noting. Initially developed for the cryptocurrency, Bitcoin, the blockchain has found applications in various oth...

Read more...
πŸ‘4πŸ‘2
‼️Use MetaTrader VPS to ensure stable and predictable performance of your strategies. Starting from 10 USD per month.

Why our hosting is better:

⚑️ Ultra-low latency to trading servers
🌐 Reliable access points worldwide
πŸ’ͺ High-performance servers without overselling
☁️ Special lightweight versions of the trading platform
πŸ“Ά Data transmission security
πŸ’― % compatibility with MetaTrader

Your trades will be executed around the clock, without interruptions or delays, ensuring you don't miss out on a single pip of profit!πŸ’₯

Learn more...
Please open Telegram to view this post
VIEW IN TELEGRAM
❀5πŸ”₯5πŸ‘2πŸ‘Œ2πŸ‘1
Focused on the application of quantitative analysis in financial markets, this post delves into the historical usage, benefits and pitfalls of this popular analytical tool. Initially used as a rudimentary version of machine learning and statistical learning, it entered the scene when computers were fledgling devices occupying entire rooms and operating on punched cards. The aim was to utilize them for processing large datasets and statistics. The methods used were straightforward, chiefly linear computations to establish correlations within the data.

Quantitative analysis initially found its application in pairs trading or basket trading. Edward O. Thorp was a pioneering figure in this field. He was instrumental in analyzing the spread between a stock and its warrant to evaluate its overpricing or underpricing relative to its warrant. He set a precedent by employing computer-based q...

Read more...
πŸ‘4πŸ‘1
Unveiling an exclusive file that incorporates a range of moving averages. It comes with two distinct moving average groups - a sextet in PERIOD_W1 and another consisting of six in PERIOD_CURRENT. Notably, a moving average grouping signifies several period MA lines clustered in a double-dimensional array.

A standout feature is the MA_Direction function, adept at indicating the concurrent direction of the entire MA group within adjustable bars - an impressive performer indeed. Through object-oriented programming, integration of diverse strategies is simplified, with the allotment of a dedicated object to each strategy.

Comprehensive order management remains a fundamental entity, with order-specific comments easing the integration of varying strategies. A keen watch on inherent signals should not be compromised. The product thrives on its strategic aggregations and effective function...

Read more...
πŸ‘7πŸ‘1
Analyzing the Simulated Annealing (SA) algorithm, that finds the global optimum in complex problems, based on the techniques in metallurgy involving heating and slow cooling of materials. It helps avoid local optima by the usage of a 'cooling' function, reducing the probability of routing towards a worse decision.

The SA optimization algorithm applies randomness in changing the state of the solution and selecting the next state, enabling exploration of different regions of the search space. It allows room for accepting worse decisions with certain probabilities and gradually reduces this likelihood over time.

Metahueristics use the SA optimization algorithm as one of their methods for solving complex optimization problems. The algorithm belongs to a group of algorithms known as "stochastic optimization methods". Offshoots of the SA include Adaptive Simulated Annealing (ASA) and Quan...

Read more...
❀5πŸ‘5
The counter attack candlestick pattern, prominent in technical analysis, represents an important element to comprehend for those involved in market trading. Characterized by long bodies with opposing colors, this pattern signals a potential market reversal, indicating the conclusion of a trend.

Primarily observed in downward or upward trends, the counter attack candlestick reveals earlier passionate trading sentiments impeded by new, equally strong opposing perspectives. Making this pattern significantly valuable in identifying potential opportunities for traders to make an entry or an exit.

Awareness of such patterns equips market traders with an understanding of ongoing market sentiments which, when used effectively, could hold powerful implications on a trader's strategies. Understanding and leveraging such insights could prove crucial in navigating the ever-volatile market space...

Read more...
❀8πŸ‘3
Understanding the concept of Dominant Candle in the trading domain is integral for technicians and traders alike. Presented as a two-candlestick set, the unique characteristic lies in the intersection of their wicks within the body area. The relative positions of the candles can manifest in a 'gapped up', 'gapped down' or 'equal' state. It's part of a toolkit to optimize trading strategies and make nuanced decisions based on market trends and investor sentiment. Clearly, the complexity of the Dominant Candle lies not just in its illustration, but also in its interpretation and application. Through continuous research and practice, proficient reading of such nuanced signals is achievable.

Read more...
πŸ‘6πŸ”₯2😁2❀1
πŸ“ˆSubscribe to signals from successful traders and copy their deals on your accounts. Thousands of different options are already available to you.

‼️Before subscribing, read the step-by-step guide 'Tips for Selecting a Trading Signal to Subscribe', which will help you find a signal that fits your criteria of profitability, risk, trading activity, compatibility with different account types and financial instruments.🧐

Read...
πŸ‘3❀2πŸ‘2
The "CloseBasketPairs.mq4" script authored by " persinaru@gmail.com " and copyrighted by MetaQuotes Software Corp. in 2024 has been released in the version 1.01. Originally designed for application in foreign exchange markets, this script demonstrates an elegant method for managing investments across a variety of currency pairs.

The functional backbone of "CloseBasketPairs.mq4" lies in its risk management system. This script ensures investors' funds are protected by closing positions for a basket of currency pairs when pre-set profit or loss thresholds are reached. Each currency pair and its respective order type are meticulously defined in the script, which then conducts a systematic loop through all open positions. If a position correlates to a defined basket pair and meets the established criteria - either profit exceeding the defined threshold or loss falling below it - the scrip...

Read more...
πŸ‘5❀1πŸ‘1
The "Reverse_Trades_For_all_Trades_and_Symbols_V1.mq4" script offers a strategic approach to revamp open trades across all symbols on a trading interface. Upon execution, this script scrutinizes all live trades, closes each, then procures an antagonistic trade for the same symbol. The result? A brisk about-face in the direction of each trade, potentially profitable amidst fluctuating market scenarios. Prudent testing on a demo account is advised pre-live trading. Here's a brief on its significant elements:

OnStart(): Triggered at script commencement, it propels the ReverseTrades() function.

ReverseTrades(): Employs a loop to inspect all live trades. Essential metrics like order type, open price, lot size, and symbol are gathered for every trade, followed by the closure of the existing order via OrderClose() and an initiation of a contrasting order using OrderSend().

OrderClose() a...

Read more...
πŸ‘5πŸ‘2πŸŽ‰1
In the realm of IT, one would appreciate the implementation of a script that has a function to track the stop loss of every open purchase and sell order. Manipulating the TrailStart and TrailStop parameters can customize these to align with one's desired levels. Undeniably, this acts as a fundamental instance and opens the door for further enhancement and customization, catering to a range of specific requirements. This proposed automation is instrumental in optimizing strategies, thereby fostering increased efficiency in trading activities.

Read more...
πŸ‘3πŸ‘1
MetaTrader 4 users may find interest in the new script developed for automated buying and selling actions. It functions based on a simple continuous trend-following strategy. The script has several components:

Initialization and Deinitialization: These two stages ensure the smooth running of the script. The success of initialization and deinitialization is verified through printed messages.

OnTick Function: This function responds to every new price change in the market. It performs various subfunctions including tracking variables' reset, open orders' check, position opening, and closed orders' check.

Open Buy and Sell Positions: If predefined conditions are met, the script initiates buy or sell positions corresponding to the market bid or ask price respectively. Stop loss and take profit are also defined in this stage.

Input Parameters: The script includes parameters for lot size...

Read more...
πŸ‘6πŸ‘2
Simulated Annealing (SA) algorithm's conventional version was discussed in the first part. This discussion revolved around three main concepts - randomness, acceptance of worse decisions, and reduction of the probabilities of accepting worse decisions. Think of a de-heated metal gradually cooling, causing shifts in its structure. Similarly, the Simulated Annealing algorithm starts from a high temperature and lessens the temperature incrementally aiming for the optimal solution. The algorithm's significant parameters, such as the initial temperature and the cooling ratio, can greatly influence its efficiency.

Some shortcomings of the system were examined as well. It was observed that this algorithm tended to get stuck at local extrema, which can be overcome by using an appropriate distribution of the random variable. Likewise, improving the convergence speed and efficiency of the algo...

Read more...
✍3πŸ‘3❀2πŸ‘1
A newly designed script offers its functionality to technocrats dealing with financial data, particularly those focusing on candle analysis. This script serves to perform several tasks with high accuracy and ease, hence simplifying decision-making in trading.

The script's primary function is data retrieval - it gathers vital information about the open, close, high, and low prices of candles pertaining to the attached financial instrument. Post retrieval, the script moves to categorize each candle as bullish, bearish, or neutral, founded on the direct comparison between its respective closing and opening prices.

A unique feature of this program is its ability to calculate the amplitude (the high-low difference) of every candle. Further, it comprehensively computes the average amplitude for both bearish and bullish candles, a crucial utility for making strategic, informed decisions.

...

Read more...
πŸ‘4❀2⚑1πŸ‘1
Experienced software developers and traders may find interest in the "Virtual_SL_TP_Pending_with_SL_Trailing.mq4" script. This adaptable trading tool is constructed to handle trades by adjusting virtual stop loss and take profit levels, in addition to a virtual pending order, all encompassing an optional trailing stop loss function.

Copyright and Link: These data points outline proprietary details and provide a direct path to the developer's portal. The Version element highlights the current software revision. Description: This section offers a detailed outline of the script, including ways of contact for the maker, pertinent IP minutiae, and a cautionary note about utilizing the software at personal risk.

Input Parameters: These external variables give users an avenue to modulate the EA's response, inclusive of options such as StopLossPoints, TakeProfitPoints, SpreadThreshold, Trai...

Read more...
πŸ‘4πŸ‘1
Unraveling the complexities of probability theory and interfacing it with optimization algorithms, this study offers an in-depth analysis of various aspects such as probability, distribution, expectation, dispersion, skewness, and kurtosis. No stone is unturned in analyzing random phenomena and determining the probability of outcomes.

Delving into the practical aspects, the post details the construction of random numbers according to required distribution laws. Implementations under scanner include uniform distribution, normal distribution, and power law distribution. It also verifies the approach with a specially designed test bench.

The implementation delves into deeper aspects of optimization, using probability distributions to model uncertainty and approximate complex functions. This study culminates in the introduction of a revolutionary optimization algorithm, the β€˜Smart Ceph...

Read more...
❀2πŸ‘2πŸ‘2πŸ”₯1
In an attempt to increase efficiency in detecting new bars within a code, focus is shifted away from using time, and instead utilising the count of bars. This method is not only lighter, but also operates at a faster pace than its time counterpart.

Variables are declared using integer data type to contain the bar counts. Upon initialization, the bars count is assigned to the "BarsTotal_OnInt". The function iBars() is utilised to allocate the bars count for the "BarsTotal_OnTick" variable during live chart operations. It is important to note that this variable undergoes updates on every tick.

The accuracy of the code can be validated via the use of comments and alerts. Always strive to maintain a clean and concise programming culture, fostering a comprehensive understanding of operations. Leveraging the use of bar counts positively impacts output speed and greatly enhances overall c...

Read more...
πŸ‘7πŸ‘3🀨1
πŸ’‘Do you have an interesting idea you're eager to share with the community❓

Write an article on MQL5.com, where thousands of readers can learn from your experience. You can discuss your findings and seek assistance from seasoned algo-traders.

What's more, you can monetize your knowledge😎

Add new article...
πŸ‘12❀3πŸ”₯2πŸ‘1πŸ†1
In the data-driven era, the Principal Component Analysis (PCA) stands as an indispensable tool for dimensionality reduction in large data sets. This process discards 'non-principal' components, essentially refining the data to its most significant vectors.

The key to a well-performed PCA lies in identifying those principal components, which can potentially be achieved through methods like the Eigen vectors & values, Singular Value Decomposition (SVD), and the Power Iteration. Like finding a diamond in the rough, PCA pinpoints the matrix vector that embodies the entire matrix's principal components.

PCA's ability to reduce the computation cost enhances efficiency when comparing data points in forecasting and diminishes computation time during model training. In a world where IT resources are precious, PCA can also help mitigate the 'curse of dimensionality,' minimizing storage spac...

Read more...
πŸ‘2πŸ‘1πŸ€”1