Discussion of article "Visualizing trading strategy optimization in MetaTrader 5" - page 7

 
Вячеслав Новиков:
It didn't work. Where should I see this image? In the backtest tab or on the chart?

On the chart in the terminal.

 

Good afternoon, please advise:

How to write optimisation results to a file when using Local Network Farm or MQL5 Cloud Network ?

There is a procedure in OnTester(), uses:

string toWrite = "test";
fileHandle=FileOpen(fileName,FILE_CSV|FILE_READ|FILE_WRITE|FILE_ANSI|FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_COMMON,",");
FileWrite(fileHandle,toWrite);
FileClose(fileHandle);

When using Local agents, a file with the results of optimisation is created in a shared folder, when using Local Network Farm or MQL5 Cloud Network there is no file.

Тестирование стратегий - Алгоритмический трейдинг, торговые роботы - MetaTrader 5
Тестирование стратегий - Алгоритмический трейдинг, торговые роботы - MetaTrader 5
  • www.metatrader5.com
Тестер стратегий позволяет тестировать и оптимизировать торговые стратегии (советники) перед началом использования их в реальной торговле. При тестировании советника происходит его однократная прогонка с начальными параметрами на исторических данных. При оптимизации торговая стратегия прогоняется несколько раз с различным набором параметров...
 

See my post at .

Or you need to use FrameAdd()

 
Anatoli Kazharski:

On the chart in the terminal.

It worked, thank you. The chart works.

I just did not switch on optimisation. I'm dumb, I'm only developing robots for the second month...))))))

 
Good job
 
EasyAndFast is the best! Thank you Anatoli.
 
How to do that in real time while optimizating?
 
Thanks
 

This is the error I'm facing: