Download MetaTrader 5

When can MT5 test expert with VISUAL mode?

To add comments, please log in or register
Publish your application in the Market - 7 million potential clients will see it
HongDi s& t development co.,ltd.
1598
hongbin fei 2010.08.27 12:36 

I think it is so useful for me 

thanks

Brett Luedtke
114
Brett Luedtke 2010.08.27 13:35  

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

Johnny
140
Johnny 2010.08.27 14:43  

Hello,

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

tk

HongDi s& t development co.,ltd.
1598
hongbin fei 2010.08.27 16:28  

will this function be add to the software?

 

Pawel Wojnarowski
685
Pawel Wojnarowski 2010.08.27 17:39  
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 ;)
HongDi s& t development co.,ltd.
1598
hongbin fei 2010.08.28 11:56  
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!

 

HongDi s& t development co.,ltd.
1598
hongbin fei 2010.08.28 17:52  
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 

To add comments, please log in or register