Home About Contact
ForexForums.org




Reply
Old 01-31-2007, 12:25 AM   #11 (permalink)
Member
 
Join Date: Nov 2006
Posts: 61
Hi TF,

I am also testing. The code for closing the orders is very straightforward. I have added a flag that keeps trying to close the orders on successive ticks until all are closed. Hope this helps. If we solve this I will start adding the other requested features.

Would you like to have lot sizing based on price ratios and range like HedgeEA or do you feel that the DCA feature makes lot sizing irrelevant?

Rick
rmyers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Old 01-31-2007, 01:14 AM   #12 (permalink)
Member
 
Join Date: Dec 2006
Posts: 47
Post

Quote:
Originally Posted by rmyers View Post
Hi Tom,

Are you using ratios to determine the lots or just going with 1:1? Do you need a ratio formula added?

I can easily give you more pairs.

I'm not entirely clear on the take profit method. Could you please give me a formula using unequal lots?

Rick
Rick,
I am trading 1:1 now but if automatic ratio is possible as an option why not-we could compare both versions and see...

Take profit: with different ratios maybe target profit level per 1 lots (total):
trading 0.4GBPJPY+1.2CHFJPY=1.6 lots total
Profit target $200 so in this case $200x1.6=$320 -take profit.

I am not sure if this makes sense, I have to think about it...
tomstaufer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2007, 02:13 AM   #13 (permalink)
Member
 
Join Date: Oct 2006
Location: Massachusetts, USA
Posts: 62
Quote:
Originally Posted by tomstaufer View Post
Rick,
I am trading 1:1 now but if automatic ratio is possible as an option why not-we could compare both versions and see...

Take profit: with different ratios maybe target profit level per 1 lots (total):
trading 0.4GBPJPY+1.2CHFJPY=1.6 lots total
Profit target $200 so in this case $200x1.6=$320 -take profit.

I am not sure if this makes sense, I have to think about it...
Rick/Tom,

I agree that having auto ratio would be beneficial especially since volatility changes day-to-day. I really like the direction we are going with this concept.

TimeFreedom
__________________
"Believe none of what you hear and half of what you see."
TimeFreedom is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2007, 02:57 AM   #14 (permalink)
Member
 
Join Date: Nov 2006
Posts: 61
Hi Tom and TF,

As I was lying in bed, I realized my new take profit algorithm was incorrect. Here is a new version. I will get to the enhancemants in the morning.

Rick
Attached Files
File Type: mq4 HedgeDCA_V2_2.mq4 (8.6 KB, 74 views)
rmyers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-31-2007, 10:17 PM   #15 (permalink)
Member
 
Join Date: Dec 2006
Posts: 47
Quote:
Originally Posted by TimeFreedom View Post
Rick/Tom,

I agree that having auto ratio would be beneficial especially since volatility changes day-to-day. I really like the direction we are going with this concept.

TimeFreedom
Yes. Auto ratio could help a lot during main order entrys but what if we apply this to daily orders after the main order set is completed. I know it's not possible with 0.01 lot daily entry but maybe instead enter every 5-10 days so we have 5x0.01 or 10x0.01 to use and different ratios can be applied...
tomstaufer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Old 02-01-2007, 11:35 AM   #16 (permalink)
Member
 
Join Date: Nov 2006
Posts: 61
Quote:
Originally Posted by tomstaufer View Post
Yes. Auto ratio could help a lot during main order entrys but what if we apply this to daily orders after the main order set is completed. I know it's not possible with 0.01 lot daily entry but maybe instead enter every 5-10 days so we have 5x0.01 or 10x0.01 to use and different ratios can be applied...
Hi Tom,

I was thinking the same thing. I am working on how to integrate this in with the lot scaling first, then I will worry about the microlots.

Rick
rmyers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 01:10 PM   #17 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 3
Hi guys i started testing v 2.2 and here you can see my forward demo statement with fibo group. Symbol 1 GBP/JPY Startlots 0.1, Lotstep 0.1, Targetlots 0.5. Symbol 2 CHF/JPY Startlots 0.2, Lotstep 0.2, Targetlots 1.
hexadecimal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2007, 10:50 PM   #18 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 5
Enter at different times

I was thinking about this. Would it be too difficult to have the daily orders added at different times? i.e. the gbpjpy enters at 2300 and the chfjpy enters after interest is paid. It doesn't make that much of a difference, but change adds up over time.
icepeak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2007, 12:58 AM   #19 (permalink)
Member
 
Join Date: Nov 2006
Posts: 61
Quote:
Originally Posted by icepeak View Post
I was thinking about this. Would it be too difficult to have the daily orders added at different times? i.e. the gbpjpy enters at 2300 and the chfjpy enters after interest is paid. It doesn't make that much of a difference, but change adds up over time.
Hi Icepeak,

I thought about this early on, but wasn't sure it would make much difference. It is not difficult and I will give it a go this weekend.

Rick
rmyers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2007, 02:31 AM   #20 (permalink)
Member
 
Join Date: Dec 2006
Posts: 47
Question

Hello Guys,
below something what I think we could use to farther improve HedgeDCA.
This reminds me FFS and FR strategy with additional orders. Of course I am thinking about using hedged orders with CHFJPY.

Idea behind this system is to take gain of broker positive swap interest and trade only in that direction.
Infact as you should know , when we carry for long time a position we can see in our account the swap value that could be positive or negative depending on broker rules. For example Fast brokers get a positive interest (paid to us) for GBPJPY if we buy and a negative (paid to them) on sell side.

So our system will place trade accordingly only to positive interest paid by our broker for that pair that in the case of FB will be the buy side for GBPJPY.

Here's the simple rules :

1) Open a Daily chart and choose the pair that get best positive interest paid by your broker (a good one could be GBPJPY)

2) Without know anything about forex , simply open a position on positive side using 1% of your equity. Now we have only to take care about this entry price.

3) If price will go against us for a X fixed amount of pips (where X could be 100 or 200 pips) from the entry price then we enter another position based on 1% of actual equity.

4) Step 3) will be repeated until price will go against us adding a position every time it will go down of X pips from entry price.

5) If price will go in our direction of X pips then we close all positions opened, and cash the gain due to swap interest and pips

6) After all positions are closed , we iterate again step 2)

As you can see using this system our account will grow slowly but steadly because we will gain from both the positive swap and the pips when we close all positions.
Infact if after first trade is placed , the price will go in our direction then we will cash the 100 (or 200) pips plus spread interest depending on how much days order was opened. On other hand if price will go against us we will add a new position so to increase our equity acount due to spread gain and wait for price to go back to entry price.
In both case we will gain



--------------------------------------------
Regarding my post #15:
We could buy every week on wednesday GBPJPY before and CHFJPY after the swap is payed.

Last edited by tomstaufer; 02-02-2007 at 05:09 AM.
tomstaufer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

LinkBacks (?)
LinkBack to this Thread: http://www.forexforums.org/mt4-expert-advisors-factory/19463-hedgedca.html
Posted By For Type Date
ForexForums.org This thread Refback 05-04-2008 01:20 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On


Sedo - Buy and Sell Domain Names and Websites project info: forexforums.org Statistics for project forexforums.org etracker® web controlling instead of log file analysis

All times are GMT. The time now is 10:55 PM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.