Issue with Candle Hedging EA Built in fxDreema: No Trades Opening in Tester
-
Hi everyone,
I’ve created an Expert Advisor (EA) named Candle Hedging using fxDreema following a YouTube tutorial. After completing the project and running it on the MT5 Strategy Tester, I noticed that no trades are being opened during the backtest, despite my logic appearing correct.
I’ve already checked the following:
Strategy Tester Settings:
The correct symbol and time frame are selected.
Historical data is available for the tested period.
"Allow Trading" is enabled in the tester.
fxDreema Logic:I’ve used the "Buy Now" and "Sell Now" blocks connected to the correct conditions.
Lot size, stop loss, and take profit are properly defined.
All blocks are logically connected without any errors or gaps.
Trading Permissions:Automated trading is enabled in Tools → Options → Expert Advisors.
The broker account allows hedging and matches the EA's parameters.
Logs:The Journal tab in the Strategy Tester shows no critical errors or warnings.
There are no errors like "Not enough money" or "Invalid volume."
Trade Logic:The conditions for triggering trades seem correct based on the tutorial, but no trades are triggered during the backtest.
I would appreciate it if someone could help me identify why the EA is not opening trades or suggest steps to debug the issue. If needed, I can share screenshots of my fxDreema blocks or export the project for review.
Thank you in advance for your assistance!
-
Kindly share the project link for further assistance
-
@FX-Gnosis Hi, thanks for the reply, could you please give me a hint on how to share the project link, thanks
-
@hossam_ebid
Step 1: https://fxdreema.com/builder
Step 2: Click on project & load the project you like to share
Step 3: Click on project again & click on create a shared copy
Step 4: Click on Get link from the pop up by the right side
Step 5: Click the link and copy it from ur browser address bar -
Thanks, here is the link https://fxdreema.com/shared/tpTFxIkDb
-
The problem is in blocks 12 and 21. You selected the Absolute distance option when it should not. Additionally, you are comparing candle ID 1 with other candles according to the 'Signal candle at' constant. I'm sure not all values will be valid there.
-
Aiutami blocco 12 e 21
-
@l-andorrà Thanks for the check and spotting the missing part, have fixed now to "NO", could you please explain why you are sure not all values will be valid there? i.e. the youtube post showing actions on trades and info for buy and sell prices is working fine!
cheers,
-
@hossam_ebid By selecting 'absolute distance' yes. the block doesn't care with value is supposed to be the upper one and the lower one for the distance to measure. That means it will measure it wheter it is a bullish candle or a bearish one. Obviously you do not want that. You need bullish candles to be considered only on the left and and bearish ones on the right only.