Forum

icustom EA errors

Hi All So I am trying to code an EA using and indicator called "FL11" but I seem to be getting about 7 errors. What I want is for the indicator to show then buy or sell, maybe I'm missing some code as well. Code attached #property copyright "Copyright 2022, MetaQuotes Software Corp." #property link

Buystop and Sellstop EA

Hi guys So I have an EA that I am trying to code and half of it works. Only the buystop opens but not the sellstop, and it seems like a simple fix but i cant wrap my head around it. please help Here is my code: input double Lotsizeforbuy = 0.10; input int Distancebuy = 500; input double

Martingale MA

Hi guys So what I initially wanted was for this EA to open trades on a moving average cross and use the martingale method but it does not seem to be working for the way I wanted it to. I am a beginner at coding mql4 coding so wanted to see if anyone could assist

EA does not take trades based on requirements

Hi guys hopefully someone can help. I have an EA that should take trades at a certain time of the day and based on a bullish or bearish candlestick but it does not execute anything and there are no errors. This is how my code looks: input string TP = "Make sure its not zero and over a certain amount