Discussing the article: "Automating Trading Strategies in MQL5 (Part 36): Supply and Demand Trading with Retest and Impulse Model"
Hi,
i compiled it withou any errors.Unfortunately, you can't see anything in the backtest or on the chart. Neither supply & demand zones are plotted, nor are signals recognized or trades executed. The debug and journal are also empty. Has anyone gotten it to work? Can the auto check if the code is complete and up to date?
i compiled it withou any errors.Unfortunately, you can't see anything in the backtest or on the chart. Neither supply & demand zones are plotted, nor are signals recognized or trades executed. The debug and journal are also empty. Has anyone gotten it to work? Can the auto check if the code is complete and up to date?
Worked on 1m time frame
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
Check out the new article: Automating Trading Strategies in MQL5 (Part 36): Supply and Demand Trading with Retest and Impulse Model.
In this article, we create a supply and demand trading system in MQL5 that identifies supply and demand zones through consolidation ranges, validates them with impulsive moves, and trades retests with trend confirmation and customizable risk parameters. The system visualizes zones with dynamic labels and colors, supporting trailing stops for risk management.
The supply and demand strategy identifies key price zones where significant buying (demand) or selling (supply) has occurred, typically after periods of consolidation. After an impulsive price move confirms a zone's validity, traders aim to trade its retest. They may enter buy trades when price revisits a demand zone in a downtrend, or initiate sell trades at a supply zone in an uptrend, expecting a bounce. By defining risk and reward levels, traders capitalize on high-probability setups. Have a look below at the different setups we could have.
Supply Zone Setup:
Demand Zone Setup:
Author: Allan Munene Mutiiria