Libraries: Virtual - page 5

 
Aliakbar Kavosi #:

Is version MT4 of this program available?

Never take files from a zip archive in the codebase.

 
fxsaber #:

Never take files from a zip archive in the codebase.

I download zip archive in the codebase and compile source. It is work correctly.
 
Aliakbar Kavosi #:
I download zip archive in the codebase and compile source. It is work correctly.

All zip archives contain old versions of the libraries. To get a new one, you need to download each file manually.

 

Order.mqh

  bool Create( const ENUM_ORDER_TYPE inType, const double &dLots, double inPrice, double dSL, double dTP,
               const MAGIC_TYPE &iMagicNumber, const string &sComment, const MqlTick &Tick )
  {
    this.Lots = ::NormalizeDouble(dLots, 2);
    this.Type = inType;

Lots can also be less than 0.01

 
Oleksii Chepurnyi #:

Order.mqh

Lots can also be less than 0.01

In theory, of course, it can be on cryptocurrencies. In practice, where this current limitation in Virtual has made itself felt?

 
fxsaber #:

In theory, of course, it could be on cryptocurrencies. In practice, where has this current limitation in Virtual made itself felt?

Yes, on cryptocurrencies )

I take it the state is not saved on restart?
 
Oleksii Chepurnyi #:
I take it the state is not saved on restart?

Not automatically saved, of course. But VIRTUAL::Save/Load has not been written for manual manipulations yet.

In this video, I think, somehow the virtual environment is saved after terminal restart. If so, I can't remember how I did it.


Write the use cases, which current Virtual limitations do not allow to implement.

It is better in this thread.

Библиотеки: Tester
Библиотеки: Tester
  • 2021.09.12
  • www.mql5.com
Статьи и техническая библиотека по автоматическому трейдингу: Библиотеки: Tester
 

Hi!

Does the library work with multicurrency?

 
Maksim Pavlov #:

Does the library work with multicurrency?

Trading history can be multi-currency. Trading is not multi-currency.

 

SWAP_MODE is ignored when calculating swaps, I understand? I.e. theoretically it can stack bricks with buckets if swaps are not set in the expected values?

P.S. I wrote in a half-empty topic again. As a reminder to myself, I should write here https://www.mql5.com/ru/forum/282062/.

Библиотеки: Virtual
Библиотеки: Virtual
  • 2020.12.02
  • www.mql5.com
Статьи и техническая библиотека по автоматическому трейдингу: Библиотеки: Virtual