In Strategy Tester Or In Real MT4?

To add comments, please log in or register
Ma Yuliang
294
Ma Yuliang  

I am tring  to find the function that return the running environment of my EA.

How to find it's running in a tester or in a real MT4.

I can't find it in the Manu.

I hope this function do exist.

Please Please Please

Tell me please.

Marco vd Heijden
Moderator
8426
Marco vd Heijden  
Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Running MQL5 Program Properties
Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Running MQL5 Program Properties
  • www.mql5.com
A purchased licensed version allows at least 5 activations. The number of activations is specified by seller. Seller may increase the allowed number of activations
whroeder1
17927
whroeder1  
Ma Yuliang: How to find it's running in a tester or in a real MT4.
  1. Why did you post your MT4 question in the Root / MT5 General section instead of the MQL4 section, (bottom of the Root page?)
              General rules and best pratices of the Forum. - General - MQL5 programming forum

  2. The tester is for testing your code. It shouldn't do anything different, live, demo, or tester.
Ma Yuliang
294
Ma Yuliang  
Thanks this is what I want. Code is no difference in this funtion between MT4 and MT5.
To add comments, please log in or register