Questions from Beginners MQL5 MT5 MetaTrader 5 - page 322

 
Tapochun:
Write to servicedesk. They will have to give you a code, though.

:-)

They won't distribute it? Who faced with this / not?

I'm preparing material for the marketplace, should I show them the code in the source code as well?

 
Tapochun:

Yes, when you hand over to the market, they will put protection in it... as far as I know.

If the source code is mandatory, I'll probably ask them then...

Still, maybe someone has encountered something like this? Can you suggest a possible reason for the exp not testing in the tester...

 
R0MAN:

Tapochun:

The market is already giving away EX5/EX4 without sources.

R0MAN:

They won't distribute it? Who's encountered this / not?

In all the time I've been here, I haven't seen a single precedent...

 
MigVRN:

The market is already giving away EX5/EX4 without sources.

In all the time I've been here, I haven't seen a single precedent...

Sorry, thanks for the clarification.
 
MigVRN:

The market is already giving away EX5/EX4 without sources.

In all the time I've been here, I haven't seen a single precedent...

https://www.mql5.com/ru/articles/385 - yeah, I read it...

Maybe it's possible to solve the problem without service desk...

Как опубликовать свой продукт в сервисе Маркет
Как опубликовать свой продукт в сервисе Маркет
  • 2012.04.17
  • MetaQuotes Software Corp.
  • www.mql5.com
Публикуйте свои интересные разработки в сервисе Маркет, и ваши программы станут доступными сразу всем трейдерам на MetaTrader 5 по всему миру. Маркет - это отличная возможность заработка с моментальным зачислением на счет и удобной статистикой для анализа покупок и скачиваний демо-версий Продуктов. Все MQL5-программы на Маркете при продаже автоматически шифруются под покупателя, допускают до трех активаций и не требуют дополнительной защиты с вашей стороны.
 
R0MAN:

As I understand this line

"2014.11.27 12:32:03.125 2012.10.01 00:00:00 Wait Data for EURUSD"

Means waiting for EURUSD data. How can I upload it?

This is your Expert Advisor. You are the only one who knows the logic of your Expert Advisor.
 
stringo:
This is the line generated by your EA. Only you know how your advisor works.

Checking.

I have no prints and no comments in the code with the exception of:

..
if(CopyBuffer(hCI,0,0,5,CI)<0)  {Print("Не удалось скопировать буфер индикатора"); Recount=true;}   
...
 request.comment="B_F 10.0";//DoubleToString(Money,2)+"$";
      if(!OrderCheck(request,check))
        {
         if(check.margin_level<100) volume-=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP);
         Print("OrderCheck Code: ",check.retcode);
         continue;
        }
      if(!OrderSend(request,result) || result.deal==0)
        {
         Print("OrderSend Code: ",result.retcode);
...
 

This is a terminal or tester message.

This is the tester. At the top is the terminal log:

This is the tester's log:

Transactions started to open...

Still - I wonder what it could be and whether this message will affect the exp...

 
R0MAN:

This is a terminal or tester message.

This is the tester. At the top is the terminal's logbook:

This is the tester's log:

Trades started to be opened...

Still - I wonder what it could be and if this message will affect the test exp...

Look at the screenshot of the tester you provided. Specifically the log.

All messages from the Expert Advisor (or indicator) contain simulated time, including

2014.11.28 19:25:38.078  2012.10.01 00:00:00  Wait Data for GBPUSD

Messages from the tester itself do not contain simulated time

Look for prints also in the indicator

 
stringo:

Look at the screenshot of the tester you provided. Specifically to the logbook.

All messages from the Expert Advisor (or indicator) contain simulated time, including

Messages from the tester itself do not contain simulated time

Look for the printouts also in the indicator

Yes, thank you. Got it figured out.

Here is the indicator line:

for (int i=0; i<6; i++) if (Pair[i].CopyBuf(nBars)<0) { Print("Wait Data for "+Pair[i].m_name); return(0); } // получили данные из МА в буфера // при ошибке выходим
        
Reason: