Dukascopy
 
 
Wiki JStore Search Login

mt4 ScalperPilotAdvisor
 Post subject: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 10:03 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
Hi. I compiled a robot platform MT4. Starts but does not start. After a few minutes showed an error: Can not set expiration time for orders That are not BID or OFFER (ie OP_SELLLIMIT_BIDOFFER or OP_BUYLIMIT_BIDOFFER). Someone help me correct this error? Paste the source code to analyze.


Attachments:
ScalperPilotAdvisor.java [5.63 KiB]
Downloaded 316 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: MT4 Strategy/Indicator Converting in MQL4Connector Post rating: 0   New post Posted: Tue 24 Jul, 2012, 11:00 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See the "Convert a strategy" section in:
viewtopic.php?f=65&t=47063


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 12:51 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
OK. I know. I've read but please help me to solve my problem. Maybe someone can solve it?


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 12:57 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please provide the mq4 file.


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 13:05 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
OK. This is original file. I convert this file on java


Attachments:
ScalperPilotAdvisor~.mq4 [3.99 KiB]
Downloaded 318 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 13:28 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Try:
Attachment:
ScalperPilotAdvisorFix.mq4 [3.98 KiB]
Downloaded 325 times

We removed the expiration time parameter, since it is only applicable fro BID and OFFER type of order not BUY and SELL. With the next converter version, there will be a message instead of error for this case.


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 14:20 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
OK. 5 minutes to check :)


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 14:32 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
What is this?
13:26:31 com.dukascopy.api.JFException: Label inconsistent (Label must not be null, longer than 64 symbols, contain restricted symbols or start with number) @ jforex.converted.ScalperPilotAdvisorFix.start(ScalperPilotAdvisorFix.java:134)
The program has started, however, wrote before he started the error


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 14:47 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
This is what I received from you has loaded directly onto the platform Dukas. I performed the command "Run Local" and all. He looked to the messages and I read this information. She was the first. Two further information confirmed that the program is launched with the specified parameters but does nothing.Of course I made a compilation, which was successful


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 15:03 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The problem was that the strategy generated a negative magic number, try the following:


Attachments:
ScalperPilotAdvisorFix2.mq4 [3.99 KiB]
Downloaded 342 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 15:47 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
My Master !!!!! It works. I will give him more time and, of course, present proposals, how it works. Thank you again for your help.


 
 Post subject: Re: mt4 ScalperPilotAdvisor Post rating: 0   New post Posted: Tue 24 Jul, 2012, 16:59 

User rating: 0
Joined: Fri 02 Mar, 2012, 07:42
Posts: 8
After a few minutes, I say yes - it works like crazy. See how to flex all day tomorrow.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com