Download MetaTrader 5

Does MarketInfo not work in stratergy tester?

To add comments, please log in or register
Unable to find the answer to your question? Use the search!
ben
39
ben 2015.04.01 14:30 

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
14519
whroeder1 2015.04.01 16:27  
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 2015.04.02 04:41  

My apologies for bad forum etiquette.

To add comments, please log in or register