Forum

Bug in CExpertMoney::CheckOpenShort?

In the below code, if no price is specified the code will use the market ask price . Surely this should be the bid if we're going short? double CExpertMoney::CheckOpenShort( double price, double sl) { if (m_symbol == NULL ) { return ( 0.0 ); } //--- double lot; if

Downloading minute bars

I am trying to download historical data in order to back-test some strategies. For some reason the MT5 Strategy Tester was not able to get the minute bars which I was requesting, so I started looking into how to force MetaTrader to download the historical data. I found an MT5 script online here