[bug] Wrong Margin in tester at custom symbol

 

Hi all!

I created custom symbol with usual parameters got from real one (futures contract).

See screenshots in attachments.

Loaded history for it. Currency is RUR, Initial margin is 5222.

Next I ran simple Random robot with 100 000 deposit in Strategy Tester. What I see:

  • If buy 1, Margin = 14228, Free margin = 86104 . Margin is unexpected, but at least sum is almost 100k
  • If sell 1, Margin is not showed, while Free margin = 109445, that is more than deposit and seems completely wrong.

Wazzup???

I use MT5 build 2007 (got from my broker), 32 bit

What you think about it? Is it a known bug or I misunderstood something?

Thanks!

Files:
Reason: