CMT5 NEWS INDICATOR
-
To anyone who can help, I recently came across a news indicator for mt5 called Forex Calendar MT5. However, I am unable to find the mql5 file and I am having a hard time interpreting the buffers. Only the ex5 file is available. I am trying to incorporate it into my EA so that no trades are taken during high impact news. I have attached screenshots of how the indicator looks on the charts and the ex5 file of the indicator.


-
@6ixpappi Because you have the EX5 file it will be difficult, search google for check what data is in the data window, if what is needed is there use icustom (search google) and put the relevent information into variables, you can then use this in a standard condition block to buy/sell.
-
The problem is not the data types, it is the buffers. That's what I am unable to figure out
-
MT5 has a news filter built in that if you can figure out how to access it, you simply look for a 1 or 0 to see if there's a news event.
*Fairly certain there was a level to it as well, 1/2/3/4 for red, orange yellow, and gray. Something like that..
-
@tipsywisdom Are you referring to the in built calendar
-
@6ixpappi So the problem is the data type, MQ will add the buffers (if in indicator code), EX will need manually added buffers (can only add if in code), open your data window and see if buffers are displaying information, search and use icustom to retrieve.
-
@6ixpappi said in CMT5 NEWS INDICATOR:
@tipsywisdom Are you referring to the in built calendar
https://www.mql5.com/en/docs/constants/structures/mqlcalendar#mqlcalendarvalue