请问如何禁止EA回测?

 

请问如何禁止EA回测?

用什么函数?

 
LBJ55699:

请问如何禁止EA回测?

用什么函数?

for mql5:


MQLInfoInteger(MQL_TESTER) - return true if strategy tester is enabled


https://www.mql5.com/en/docs/check/mqlinfointeger

Documentation on MQL5: Checkup / MQLInfoInteger
Documentation on MQL5: Checkup / MQLInfoInteger
  • www.mql5.com
Checkup / MQLInfoInteger - Reference on algorithmic/automated trading language for MetaTrader 5