Forum

Need Help with MQL5 Robot - Orders Not Triggering Despite Conditions Being Met

Hi everyone, I'm new to programming in MQL5, and I'm trying to create a simple trading robot for the Brazilian market (mini index). My strategy is straightforward, but I’ve been running into issues where the robot doesn't open orders even when the conditions are met. I’d appreciate some guidance

Can't find error in logic

Hello friends, I'm writing an EA but I'm having trouble with the programming logic part. The EA should do the following: At each candle check if the fast moving average of 05 has crossed from low to high the slow ones of 75 and 85, if it has, check if MacD has changed from negative to positive for

Newbie trying to figure out really simple problem

Hello, everyone, I started learning how to program in MQL5 today and I'm trying to make a simple moving average cross expert advisor. It compiles without errors, but when I try to test it in the strategy tester it does not seem to work, it stays still. I'm not sure if the problem is in the code or