Where do it get MarketInfo values during Testing?

 

If you have something like the following in the code, where/how does it derive the value during Testing?


double TickVal=MarketInfo(Symbol(),MODE_TICKVALUE);

 
My understanding, it gets the value from the last known value received from the Dealer.
 
blogzr3 wrote >>

If you have something like the following in the code, where/how does it derive the value during Testing?

double TickVal=MarketInfo(Symbol(),MODE_TICKVALUE);

During live execution, it retrieves the values from the market watch that is based on your broker.

During testing, it uses pre-defined values(not necessarily reflecting your broker's values). If you click of symbol properties of your tester, you will se the values that it will use i.e. spread, digits, swap info, margin info, profit calculation, etc

I don't think you can change these values. But, then again, I could be wrong, in which case I'd love to know how.

-Scott

Reason: