Forum

EA close all open position at $

Hi I have trying to close my EA for all open positions as soons as profit reaches to lets say $30. I created input variable and function but it actually not working. Can someone guide what's missing there. input double StopProfit = 30.0 ; void OnTick () { double profit = AccountInfoDouble (

2 errors in EA

Hi, Need help in fixing these error pls; ')' - unexpected end of program newpinbar.mq5 59 36 '{' - unbalanced parentheses newpinbar.mq5 14 1 #property copyright "Copyright 2023, Barie" #property link " https://barbieea.com " #property version "1.00" input int TakeProfit1= 50 ; input int

No variable/parameters showing as input in backtesting

This EA showing no error in compiping, however I'm not able to see any variable/parameters showing as input in backtesting. Not sure what's wrong in it. Attaching code

'INIT_FAILED' - expression not boolean

Pls help a line of code, it giving error ''INIT_FAILED' - expression not boolean' and not able to compile. //+------------------------------------------------------------------+ //| Above Below MA(barabashkakvn's edition).mq5 |

Error: 'NormalizeComponentValue' - unexpected token, probably type is missing?

//+------------------------------------------------------------------+ Indicator::NormalizeComponentValue( const double &componentValue[], const datetime &strategyTime[], double &output[], int ltfShift)

Time Trgger

Hi, I'm exploring if there is any utlility, EA or any system available for MT5 platform wherein we can trigger/schedule a trade at specifc time and day automatically

Need help in EA warnings

Hi, I have an EA which shows 9 warning errorslike 'declaration of 'xxxxxxx' hides global variable' while compiling. Can someone help me: 1. At least fixing one warning error with exact code I need to add or remove 2. This EA works in testing with all graph but not working in real account . Can you