Forum

Margin level history/graph/report

For me, the margin level is the most important indicator when I am testing a strategy on a live or demo account. It allows me to see how far I am from a stop out, and if the depoist was enough. I wish I could see a graph of the margin level on the live account report. I searched in the market and

See positions by EA/magic number

I have two symbols running three EAs each. Each EA with a different magical number. I want to know which EA is the best, I want to see the final profit of each one since it started running. On the history tab, I can select each symbol individually, but it lumps all of the EAs together. I can add the

Calculate SL from currency loss

Hello. I am sure this has been asked before, but I couldn't find it in the forums. I am trading 0.5 volumes of an instrument quoted at 1840.922 USD. Tick size is 0.001 and tick value is also 0.001. I am willing to lose 5 USD. How do I calculate stop-loss to use in the New Order window? Thanks

Add code to close all orders at a specific hour of the day

Hello. I need to modify an EA that makes simple (orders one at a time) to be able to close all orders made by it at a pre-defined time (23h50). Any idea how to it? Maybe something like this? https://www.mql5.com/en/forum/139654 ps: I only started with mql5 two days ago, tried to implement it, but