When can MT5 test expert with VISUAL mode?

 

I was thinking to output a log format for this during backtest.

Logic being:

In Your expert:

  • When important expert event occurs:
  • Get current chart location & action taken
  • Set values to file 

Create a script:

  • Implement action methods into script
  • Open expert log file
  • For each log entry starting at timestamp of first entry:
    1. Read location
    2. Perform expert's taken action
    3. Increment chart bar by bar until action = false

For example, put the logic in your expert OnTrade() and if the trade is being closed, you write the history of the order (Start time, price, modify times & values). If designed right it can be any other special things about your EA. Use the script then to jump order to order, incrementing bar to bar until the trade is finished.

Cheers - happy coding

 

Hello,

Can you atleast let us know, will the visual mode be available before ATC 2010 start..

tk

 

will this function be add to the software?

 
codeidea:

will this function be add to the software?

 

I have asked MetaQuotes via service desk if this feature is going to be added. The answer is: "Yes, there will be visual testing in MT5 and should be available soon". I guess we have to wait patiently - there's nothing else we can do anyway ;)
 
Enigma71fx:
I have asked MetaQuotes via service desk if this feature is going to be added. The answer is: "Yes, there will be visual testing in MT5 and should be available soon". I guess we have to wait patiently - there's nothing else we can do anyway ;)

thank you, Enigma71fx!

 

 
Lugner:

I was thinking to output a log format for this during backtest.

Logic being:

In Your expert:

  • When important expert event occurs:
  • Get current chart location & action taken
  • Set values to file 

Create a script:

  • Implement action methods into script
  • Open expert log file
  • For each log entry starting at timestamp of first entry:
    1. Read location
    2. Perform expert's taken action
    3. Increment chart bar by bar until action = false

For example, put the logic in your expert OnTrade() and if the trade is being closed, you write the history of the order (Start time, price, modify times & values). If designed right it can be any other special things about your EA. Use the script then to jump order to order, incrementing bar to bar until the trade is finished.

Cheers - happy coding

I think it is a not prefessional way to test a robot 

Reason: