Forum

Check each trade if it is far enought from the market?

Hello guy, could anybody help me? I am trying to write a function that checks every trade opened by the EA if the distance from each trade is more than "GridDistance". GridDistance usually about 20 pips. Right now I am counting if all the trades match the criteria and that I compare it to

Metatrader news feed

Hello guys, I have a question about Metatrader News, that are feed at the bottom of the Metatrader. Is there a way to export them csv file or any other file automatically with a script or ea or anything? Ideally when any new news appear. Thank you! Josif

EA not refreshing

Hello, I am wondering, if anyone could help me? I have an EA, that sends messages to my phone. Problem is, that the data are not refreshed so I do not get any signals, or much less than I should. When I get to the somputer and restart metatrader, or open MetaEditor and compile the script, it is