Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Manual trading systems


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (53) Thread Tools Display Modes
  #491 (permalink)  
Old 01-25-2008, 10:06 AM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 217
DerkWehler is on a distinguished road
Quote:
Originally Posted by t182bryan View Post
I have been monitoring the progress of this work of art here and on the charts. I do not have consistent results to show you today, but am working on something which I can bring to the thread when ready. I am in search of a "step down feature" to add to my EA which will reduce the trade size with each loosing trade. So if you start with 5% in each trade, set max losses of 3 trades, after the first loss you are trading 4%, then 3%, etc. until you get to 0% or have reached you maximun preset consecutive losses in a row. This would allow me to run the EA for several days without worrying if it kept getting in consecutive loosing trades while I am away. Please help if you can, I think I am ready after this is added. Thanks!
B

Hey Bryan:

Is this for another Synergy EA that you have been developing? Or something unrelated? It doesn't sound too hard, but unfortunately, I have a bit much on my plate now to take on new things.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #492 (permalink)  
Old 01-25-2008, 11:27 AM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 217
DerkWehler is on a distinguished road
New Version

Greets all:

Welcome to Build 11 of Derk's Synergy EA.

I have added an input called

OppCandlesForReEntry = 3

This addresses my previous issue with keeping the EA from re-entering a trade in the same direction on the same run.

Additionally, I did a lot of forward testing, watching it on various settings, and it seems to do as expected. I wish I could say I had tracked and found specific issues/bugs that will fix the various problems everyone has had, but I found little wrong with the code.

I have updated the debug logging that it does to the experts tab, which will hopefully help anyone interested in finding problems to diagnose what is going on. Certainly any of the capable programmers out there are welcome to analyze it to perhaps find any errors in the code; sometimes it just takes another set of eyes. If anyone finds anything suspicious, please post it back here.

There have also been a number of changes/updates to the OrderReliable library. I was finding a lot of errors had to do with modification order errors, so I concentrated on improvements to that library. Since this one seems to be working pretty well for me, I am hopeful others will find the same.

Also the instructions document has also been brought back to current.


As always, updated files are in post #65. You should be able to download the attached .zip file and unzip it to your platform's top folder, and everything should just fall in place. Please see the instruction manual for more installation info. And, if you haven't read the whole manual, I encourage you to do so if you really want to get any results from this EA. There are a lot of settings; fortunately, most folks will want to only enable a few at a time, but it's important you know what they all mean.


Best to you all,
-Derk

Last edited by DerkWehler; 01-25-2008 at 01:09 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #493 (permalink)  
Old 01-25-2008, 11:44 AM
Senior Member
 
Join Date: Nov 2006
Posts: 282
autumnleaves is on a distinguished road
Exits

Good point Derk,

However, I think that PSAR should be used as one of at least 2 exit strategies, including one based on the oscillators (e.g. Stochastic and RSI fast reversing direction, but not yet crossing slow).

autumn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #494 (permalink)  
Old 01-25-2008, 03:11 PM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 217
DerkWehler is on a distinguished road
Quote:
Originally Posted by autumnleaves View Post
Good point Derk,

However, I think that PSAR should be used as one of at least 2 exit strategies, including one based on the oscillators (e.g. Stochastic and RSI fast reversing direction, but not yet crossing slow).

autumn

I could certainly add a PSAR trailing stop option. I have thought about adding it as a standard trail option for some time....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #495 (permalink)  
Old 01-25-2008, 09:30 PM
Junior Member
 
Join Date: Oct 2007
Posts: 4
t182bryan is on a distinguished road
Quote:
Originally Posted by DerkWehler View Post
Hey Bryan:

Is this for another Synergy EA that you have been developing? Or something unrelated? It doesn't sound too hard, but unfortunately, I have a bit much on my plate now to take on new things.
It would be for both. I am working on an EA and would like to try it on your Synergy EA as well. I undersand you are busy and wouldn't ask you to write it for me. I had hoped you already had such language written and stored in the archives, or could point me in the direction of someone who could help. Thanks for your time!
B
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #496 (permalink)  
Old 01-25-2008, 11:01 PM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 217
DerkWehler is on a distinguished road
Eureka!

Regarding all the problems people have had with the EA: Closing orders too soon, failing to close, failing to move trailing stop, etc:

With the kind help of a programming associate, a couple of things have been discovered. First off, MT4 has bugs and cannot be trusted to do double comparisons with equality. Here is an example:

double d1, d2;

if (d1 < d2) // Works reliably

if (d1 > d2) // Works reliably

if (d1 <= d2) // FAILS (at times -when they are equal)


To get it working correctly, one has to convert to integers. In my example d1 & d2 contained prices, so we tried:

if ((d1 / Point) <= (d2 / Point))

This also failed when d1 and d2 were equal. In order to get it to work, we had to do:

if (NormalizeDouble((d1 / Point), 0) <= NormalizeDouble((d2 / Point), 0))

I have seen a bug like this more than a year ago, but hadn't realized the extent of it, or thought it Metaquotes had fixed it. So I will have to change a lot of code around to work around it. I think right now we are mostly seeing its effects in the trailing stop code.


Another matter we both saw at the same time on the same broker, was that the function IsConnected(), which checks if you are connected with your broker, failed. It was reporting false on FXDD, when in fact it was surely connected. The OrderReliable library uses this function to figure out how to approach getting the order sent.

REQUEST: Anyone who experiences problems with the EA; if it fails to open or close or modify orders, can you keep an eye on your experts tab and let me know if you see "not connected" errors being reported from the OrderReliable library? Do not bother if you use FXDD, we already know that has problems. I want to know if there are problem with other brokers or if it was somehow just FXDD.

Thank you and I'll let you know when there is a fix available.

-Derk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #497 (permalink)  
Old 01-27-2008, 07:49 PM
Member
 
Join Date: Oct 2007
Posts: 38
fowope is on a distinguished road
am back guys

hello everybody,

Am back to this our project. i've missed everybody....derk! missed you
__________________
Those who know their God shall be strong, they shall do exploits.......... Do have a blissful and pipful days ahead
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #498 (permalink)  
Old 01-28-2008, 06:03 AM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 217
DerkWehler is on a distinguished road
Mike:

Welcome back; good to hear your around.


Everyone:

It is looking increasingly like most if not all problems with Synergy are related to MT4 bugs. I am devising workarounds now. I'll test them for a couple days, and if they seem to be working, I will make a new release.

-Derk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #499 (permalink)  
Old 01-28-2008, 06:58 AM
Junior Member
 
Join Date: Apr 2006
Posts: 26
awsl is on a distinguished road
Advance Synergy

CompassFX | SYNERGY Method

anyone have info & indicators on the advance methods?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #500 (permalink)  
Old 01-28-2008, 10:13 PM
nondisclosure007's Avatar
Senior Member
 
Join Date: Apr 2007
Posts: 100
nondisclosure007 is on a distinguished road
Quote:
Originally Posted by DerkWehler View Post
Regarding all the problems people have had with the EA: Closing orders too soon, failing to close, failing to move trailing stop, etc:

With the kind help of a programming associate, a couple of things have been discovered. First off, MT4 has bugs and cannot be trusted to do double comparisons with equality. Here is an example:

double d1, d2;

if (d1 < d2) // Works reliably

if (d1 > d2) // Works reliably

if (d1 <= d2) // FAILS (at times -when they are equal)


To get it working correctly, one has to convert to integers. In my example d1 & d2 contained prices, so we tried:

if ((d1 / Point) <= (d2 / Point))

This also failed when d1 and d2 were equal. In order to get it to work, we had to do:

if (NormalizeDouble((d1 / Point), 0) <= NormalizeDouble((d2 / Point), 0))

I have seen a bug like this more than a year ago, but hadn't realized the extent of it, or thought it Metaquotes had fixed it. So I will have to change a lot of code around to work around it. I think right now we are mostly seeing its effects in the trailing stop code.


Another matter we both saw at the same time on the same broker, was that the function IsConnected(), which checks if you are connected with your broker, failed. It was reporting false on FXDD, when in fact it was surely connected. The OrderReliable library uses this function to figure out how to approach getting the order sent.

REQUEST: Anyone who experiences problems with the EA; if it fails to open or close or modify orders, can you keep an eye on your experts tab and let me know if you see "not connected" errors being reported from the OrderReliable library? Do not bother if you use FXDD, we already know that has problems. I want to know if there are problem with other brokers or if it was somehow just FXDD.

Thank you and I'll let you know when there is a fix available.

-Derk
THANK GOD SOMEONE ELSE HAS SEEN THIS!!!!

<rant> I've been kicked off of the MQL forums, under a different nik, for screaming about this for months. Metaquotes said I was full of it.

Now maybe if more coders out there can speak up on this, MAYBE, they'll listen.

Personally, if they would improve the DDE functionality to at least eaqual what Visual Trading Systems (Visual Trading Systems - Home of the VT Trader Forex Trading Platform - Visual Trading Systems, LLC) has, I'd write the damn thing in C# in Excel.

</rant> Thanks for listening everyone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
synergy trading method, SynergyEA, synergy, synergy trading, Traders Dynamic Index, rainbow, forex trading methods, forex trading method, synergy ea, synergy forex, Advanced Synergy indicators, synergyind, synergy expert advisor

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/manual-trading-systems/9360-synergy-trading-method.html
Posted By For Type Date
Система This thread Refback 09-15-2008 09:48 AM
Система This thread Refback 09-04-2008 08:20 AM
???FX??????????????????????: ???? This thread Refback 08-21-2008 05:37 PM
???FX??????????????????????: ???? This thread Refback 08-19-2008 07:53 AM
為替・FX大好き主婦の楽ちんシステムトレード(^▽^): 検索結果 This thread Refback 08-05-2008 09:32 AM
Система This thread Refback 07-30-2008 07:16 AM
Система This thread Refback 07-27-2008 07:45 PM
ЃЎѓeѓNѓjѓJѓ‹‚Й‚В‚ў‚ДЊк‚낤ЃЎPart5 This thread Refback 07-27-2008 05:52 AM
為替・FX大好き主婦の楽ちんシステムトレード(^▽^): テクニカル指標アーカイブ This thread Refback 07-27-2008 03:16 AM
為替・FX大好き主婦の楽ちんシステムトレード(^▽^): 検索結果 This thread Refback 07-20-2008 07:56 AM
ProfiForex Traders Forum - Показать сообщение отдельно - Система E.A.S.Y.( SYNERGY) This thread Refback 07-16-2008 04:58 AM
為替・FX大好き主婦の楽ちんシステムトレード(^▽^): トレーディングルールアーカイブ This thread Refback 07-13-2008 05:22 PM
Meeting Agenda http://www.forex-tsd.com/manual-trading-systems/9360-synergy-trading-method.html - The Portland / Beaverton Oregon Forex Trading Meetup Group (Beaverton, OR) - Meetup.com This thread Refback 07-13-2008 04:18 PM
Synergy Signals [v2] - MQL4 д»Јз Ѓеџєењ° Post #57 Refback 07-12-2008 07:11 AM
為替・FX大好き主婦の楽ちんシステムトレード(^▽^): MT4アーカイブ This thread Refback 07-11-2008 04:57 AM
為替・FX大好き主婦の楽ちんシステムトレード(^▽^): 検索結果 This thread Refback 07-06-2008 08:59 AM
平均足(コマ足)トレード手法 - 為替・FX大好き主婦の楽ちんシステムトレード(^▽^) This thread Refback 07-01-2008 03:45 AM
為替・FX大好き主婦の楽ちんシステムトレード(^▽^) This thread Refback 07-01-2008 03:15 AM
ProfiForex Traders Forum - Система E.A.S.Y.( SYNERGY) This thread Refback 06-24-2008 09:55 AM
Библиотека установки/модификации/закрытия ордеров - MQL4 форум This thread Refback 06-14-2008 07:14 PM
livemarket2 / ЃЎѓeѓNѓjѓJѓ‹‚Й‚В‚ў‚ДЊк‚낤ЃЎPart5 This thread Refback 06-07-2008 09:18 PM
Последние ответы: BIVISdotNET This thread Refback 05-07-2008 10:00 AM
Traders Dynamic Index - MQL4 д»Јз Ѓеџєењ° Post #55 Refback 05-06-2008 02:33 PM
Traders Dynamic Index - MQL4 Code Base Post #55 Refback 05-03-2008 09:39 AM
Traders Dynamic Index - MQL4 Code Base Post #55 Refback 05-03-2008 09:19 AM
Система E.A.S.Y.( SYNERGY) - ProfiForex Traders Forum This thread Refback 04-10-2008 11:10 AM
Система This thread Refback 03-26-2008 02:55 PM
Система E.A.S.Y.( SYNERGY) - ProfiForex Traders Forum This thread Refback 03-22-2008 10:59 AM
ProfiForex Traders Forum - Система E.A.S.Y. This thread Refback 03-17-2008 04:35 PM
Synergy Signals [v2] - MQL4 Code Base Post #57 Refback 03-16-2008 07:28 PM
Synergy Signals [v2] - MQL4 Code Base Post #57 Refback 03-16-2008 07:29 AM
Система E.A.S.Y. - ProfiForex Traders Forum This thread Refback 03-14-2008 06:31 AM
Система This thread Refback 03-11-2008 01:48 PM
Traders Dynamic Index - MQL4 Code Base Post #55 Refback 03-11-2008 06:40 AM
Synergy Signals [v2] - MQL4 Code Base Post #57 Refback 03-11-2