Download MetaTrader 5

Does MarketInfo not work in stratergy tester?

To add comments, please log in or register
ben
39
ben  

Hi All,

I am using strategy tester. I want to test on "USoil" and other CFDs or Futures or whatever they are.

The problem is that "USoil" is priced in USD (ie its actually USoil/USD). My account is in GBP.

So to calculate lot size etc, I need to know the GBPUSD rate. However, MarketInfo("GBPUSD",MODE_BID) returns 0 when I run it in strategy tester.

This post is about the same thing. https://www.mql5.com/en/forum/145602

How do I strategy test on "USoil"?


Mad kudos if you can help me out.

whroeder1
15019
whroeder1  
Forex_cellence: This post is about the same thing. https://www.mql5.com/en/forum/145602
  1. Don't double post
  2. Asked and previously answered.
ben
39
ben  

My apologies for bad forum etiquette.

To add comments, please log in or register