Forum

How to Identify the Correct Field Name for Event Time in MqlCalendarEvent

Hello everyone, I’m working with the MetaTrader 5 economic calendar functions and encountering an issue with the MqlCalendarEvent structure. Specifically, I’m trying to access the event time, but I’m getting the following error: 'time' - undeclared identifier I’ve also tried using time_utc and

issue with alot of trade being taken in single entry condition

hi everyone!! a lot of trades is being taken when condition met but I want only one trade to be taken an manged then once closed look for another trade. can you give me a guess where im having issue?? //+------------------------------------------------------------------+ //|

ema values are constant

Hello? why am i getting the constant value of ema 20 50 and 100 as ema 20 = 10 ema 50 = 11 and ema 100 = 12?? //+------------------------------------------------------------------+ //| EMA Bot | //|

why im not getting profit in this strategy

hi everyone, i hope you are doing well in trading. can you guys please help me why this code is not giving me any profit?? im using 20 50 100 ema cross over strategy. //+------------------------------------------------------------------+ //| EMA