Experts: 5_8 MACross - page 2

 
Shara1:

I did everything as you said. After cleaning, there is one file left, I will attach it to this post.


Let me try to repeat it again: run a single test in visualisation mode. Not optimisation, but a single test.


If it is difficult to do that, then just put the Expert Advisor on the chart in the terminal and copy (in the form of text, you do NOT need to go to the PACKAGE - it is copied simply from the viewer) a few lines about the error.

 
Vladimir Karputov:

Let me try again: run a single test in visualisation mode. Not optimisation, but a single test.


If it is difficult, then just put the Expert Advisor on the chart in the terminal and SCOPE (as text) a few lines about the error.

It is not put on the chart for some reason, neither with your settings, nor with mine. In the Expert Advisor window it says: 2018.02.06 16:25:38.198 5_8_MACross(EURUSD,M1) Hedging only!

And here is the log file from the terminal log. I can't understand anything. How to run a single test?
Files:
20180206.log  27 kb
 
Shara1:

It is not put on the chart for some reason, neither with your settings, nor with mine. In the Expert Advisor window it says: 2018.02.06 16:25:38.198 5_8_MACross (EURUSD,M1) Hedgingonly!

And here is the log file from the terminal log. I can't understand anything. How to run a single test?

Here we go! Finally you see the error!


A single test is NOT a start of OPTIMISATION, but just a single pass of the tester: set the Expert Advisor settings, set the date from which to test and press the "Start" button in the tester. Please note that a single test is NOT an OPTIMISATION:

 
Vladimir Karputov:

There you go! You've finally seen the error!


A single test is NOT an OPTIMISATION, but just a single pass of the tester: you set the Expert Advisor settings, set the date from which to test and press the "Start" button in the tester. Please note that a single test is NOT an OPTIMISATION:

Thanks, I didn't know about this feature yet. How to deal with the error Hedging only! ( Hedging only)?

I can't understand anything.

 
Shara1:

Thanks, I didn't know about that. How to deal with the error Hedging only! ( Hedging only)?

I can't figure it out.

There are two types of accounting: netting system and hedging system. Accordingly, this code can only work if your trading account is a hedge.

 
Vladimir Karputov:

There are two types of accounting: netting system and hedging system. Accordingly, this code can only work if your trading account is a hedge.

Thank you very much now I understand.

 

Vladimir, is it possible to delete or change the lines "accounting type (netting system and hedging system)" in the EA code? Because you have many Expert Advisors with this type of accounting. I would like to test them.

Thank you.

 
Shara1:

Vladimir, is it possible to delete or change the lines "accounting type (netting system and hedging system)" in the EA code? Because you have many Expert Advisors with this type of accounting. I would like to test them.

Thank you.

Practically nowhere you can do this, because almost all EAs imply simultaneous presence of opposite positions, which is impossible (impossible) with netting.

 
Vladimir Karputov:

Practically nowhere can this be done, as almost all EAs imply simultaneous presence of opposite positions, which is impossible (not possible) with netting.

Thank you.

 

Hello Vladimir. Is it possible to make buy, sell separately and doles by trend in your Expert Advisor?

Thank you.