|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Fractals-MACD strategy |
Eric
|
Post subject: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 14:36
|
|
User rating: 0
Joined: Tue 24 Jul, 2012, 12:38 Posts: 41
|
Dear Support,
I wish to have the attached mql4 strategy to be coded in jForex.
There's no complex options, but there's 2 important things:
1/ A fractal is valid only when 2 candles have closed after the peak. This function is well defined in the mql4 version.
2/ In any case, the EA must check before any entry if the last valid fractals has already been traded. This will avoid to trade 2 times the last fractals. The EA should be able to find in the trades history even if the platform was restarted. This function is well defined in the mql4 version.
Feel free to ask if something isn't clear.
Thank you for your support.
Best regards Eric
Attachments: |
EA17_[jforex-version].mq4 [8.75 KiB]
Downloaded 353 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.
|
|
|
|
|
 |
API Support
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 14:48
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
Eric
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 15:06
|
|
User rating: 0
Joined: Tue 24 Jul, 2012, 12:38 Posts: 41
|
API Support wrote: Thank you but i've already tried to use the converter but the .jfx file generated doesn't trade as it should. This is the reason of my request here. Thank you.
|
|
|
|
 |
API Support
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 15:21
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Could you please pinpoint the time point and the feed where the strategy either makes a trade where it should not or does not make a trade where it should?
|
|
|
|
 |
Eric
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 15:38
|
|
User rating: 0
Joined: Tue 24 Jul, 2012, 12:38 Posts: 41
|
API Support wrote: Could you please pinpoint the time point and the feed where the strategy either makes a trade where it should not or does not make a trade where it should? Will try asap to show something.
|
|
|
|
 |
Eric
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 16:07
|
|
User rating: 0
Joined: Tue 24 Jul, 2012, 12:38 Posts: 41
|
Once the mq4 file is opened and compiled under the jForex platform, is there a .java file created or only the .jfx ?
I can't find the source code generated.
|
|
|
|
 |
API Support
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 17:07
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
Eric
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Wed 28 Nov, 2012, 18:07
|
|
User rating: 0
Joined: Tue 24 Jul, 2012, 12:38 Posts: 41
|
API Support wrote: JFX only. If there's no source code, how to find errors in the convertion. I would greatly appreciate to have this strategy converted/coded with a source code. Thank you again for your support.
|
|
|
|
 |
API Support
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Thu 29 Nov, 2012, 08:23
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Eric wrote: If there's no source code, how to find errors in the convertion. The source code is .mq4, which you can tweak and adjust. If there are conversion errors, then please post them here, if the strategy does not execute according to the algorithm then please provide a precise time point and feed and describe: - what the strategy did, that found being wrong,
- what it should have done instead,
and we will take a look at it.
|
|
|
|
 |
Eric
|
Post subject: Re: Fractals-MACD strategy |
Post rating: 0
|
Posted: Thu 29 Nov, 2012, 09:02
|
|
User rating: 0
Joined: Tue 24 Jul, 2012, 12:38 Posts: 41
|
API Support wrote: The source code is .mq4, which you can tweak and adjust. If there are conversion errors, then please post them here Sorry but there's absolutely no need to adjust the original source code as the strategy works perfectly on MT4. Also, there's no error in compiling in jForex. I am wasting your time. Sorry about that. I should have posted the strategy rules to be coded (like many other members do here) instead of posting the mq4 file. Thank you for your support anyway.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|