Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Martingale/Average Cost and Hedging


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 (90) Thread Tools Display Modes
  #911 (permalink)  
Old 12-15-2006, 02:43 AM
Member
 
Join Date: Oct 2005
Posts: 84
forex4syg is on a distinguished road
Quote:
Originally Posted by mtaboneweb
Page 89, post 890, Jugulator.zip

I am running all default settings. Don't forget to change precision to 2 if you're going to start at 0.01 and it should be left at 1 if you're going to start at 0.10. Also, I am running an H4 TF but if you wanted to run another TF then you will need to change the following code appropriately.

UpTrendVal = iCustom(Symbol(), PERIOD_H4, "Turbo_JVEL",7,-100,0,0);
DnTrendVal = iCustom(Symbol(), PERIOD_H4, "Turbo_JVEL",7,-100,1,0);

I did not have good results with H1 TF so I think for now I am going to stick with H4. It seems to provide more of a stable direction. I would still like to look at other indicators since on my results there was one point when it had to go to 7 orders to achieve profit.
There seems a bug in Jugulator for calculation of ActualOrders.
In my test, only one position opened for GBPJPYm at some point. It was closed because of ConfirmedOrders=1 and ActualOrders=2.

Not sure where this problem comes. In the code, ActualOrders seems will always increase by 1 when an order is sent. If the SendOrder fails (due to various reason), ActualOrders would still increase 1. Perhaps, it is better to check the error from SendOrder. If no error, then ActualOrders increase by 1.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #912 (permalink)  
Old 12-15-2006, 03:48 AM
Member
 
Join Date: Apr 2006
Posts: 51
Terry French is on a distinguished road
tf

Quote:
Originally Posted by mtaboneweb
Page 89, post 890, Jugulator.zip

I did not have good results with H1 TF so I think for now I am going to stick with H4. It seems to provide more of a stable direction. I would still like to look at other indicators since on my results there was one point when it had to go to 7 orders to achieve profit.
MATT
FYI there is a thread on non lagging indicators that may be useful. especially the info on the stepma7.1 and the absolute strength v1.1. These 2 guys are also very good programmers and maybe you could get some feedback from them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #913 (permalink)  
Old 12-15-2006, 08:36 AM
BrunoFX's Avatar
Senior Member
 
Join Date: Sep 2005
Posts: 819
BrunoFX will become famous soon enough
Hello yeoeleven,

Thank you for your answer and your councils.
I will follow them
__________________
All long voyages always start from the first small steps ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #914 (permalink)  
Old 12-15-2006, 12:21 PM
Senior Member
 
Join Date: Sep 2006
Posts: 105
mtaboneweb is on a distinguished road
Quote:
Originally Posted by forex4syg
There seems a bug in Jugulator for calculation of ActualOrders.
In my test, only one position opened for GBPJPYm at some point. It was closed because of ConfirmedOrders=1 and ActualOrders=2.

Not sure where this problem comes. In the code, ActualOrders seems will always increase by 1 when an order is sent. If the SendOrder fails (due to various reason), ActualOrders would still increase 1. Perhaps, it is better to check the error from SendOrder. If no error, then ActualOrders increase by 1.

Thanks!
That should be fixed here (Page 89, post 890, Jugulator.zip). There is a new variable in the EA that gets set to the order number. If the order fails there shouldn't be an order number and the code checks that before it increments the ActualOrders variable.

void OrderNeedsOpening() {

//Preserve value before changing them
double TempActualLotSize = ActualLotSize;

//Increase Lot Size
ActualLotSize = NormalizeDouble(ActualLotSize * LotsIncreaseBy, LotPrecision);

//Are we trying to go long?
if (OrderDirection == 1) {
//Set Take Profit and open a Long order
ActualTP = Ask + (TakeProfit * Point);
LastTicket = OrderSend(Symbol(), OP_BUY, ActualLotSize, Ask, OrderSlippage, ActualSL, ActualTP, "Order" + (ActualOrders + 1), Magic, 0, Blue);
}
//Are we trying to go short?
else if (OrderDirection == 2) {
//Set Take Profit and open a Short order
ActualTP = Bid - (TakeProfit * Point);
LastTicket = OrderSend(Symbol(), OP_SELL, ActualLotSize, Bid, OrderSlippage, ActualSL, ActualTP, "Order" + (ActualOrders + 1), Magic, 0, Red);
}

//If the order went thru it will be greater than 0
if (LastTicket > 0) {
ActualOrders++;
}
//Order failed so we need to set the value back
else {
ActualLotSize = TempActualLotSize;
}

}

Does the code you are using reflect this change because this is what I am running and I don't have any problems opening multiple order and having them close when they should TP or SL. Note that this type of change is also in other areas of the code so copying and pasting this section alone will not fix the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #915 (permalink)  
Old 12-15-2006, 12:24 PM
Senior Member
 
Join Date: Sep 2006
Posts: 105
mtaboneweb is on a distinguished road
Jugulator H4 Results

Here are the 0.10 and 0.01 results for this morning.
Attached Images
File Type: gif Jugulator (0.01) 2006-12-15.gif (4.7 KB, 118 views)
File Type: gif Jugulator (0.10) 2006-12-15.gif (4.7 KB, 117 views)
Attached Files
File Type: htm Jugulator (0.01) 2006-12-15.htm (86.8 KB, 70 views)
File Type: htm Jugulator (0.10) 2006-12-15.htm (78.1 KB, 54 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #916 (permalink)  
Old 12-15-2006, 01:56 PM
Senior Member
 
Join Date: Sep 2006
Posts: 105
mtaboneweb is on a distinguished road
Jugulator H4 Results

Here are the 0.10 and 0.01 results for this morning at 10am EST after several major news reports.

0.01 account went up $268.94
0.10 account went up $1,912.44
Attached Images
File Type: gif Jugulator (0.01) 2006-12-15 2.gif (4.7 KB, 108 views)
File Type: gif Jugulator (0.10) 2006-12-15 2.gif (4.8 KB, 104 views)
Attached Files
File Type: htm Jugulator (0.01) 2006-12-15 2.htm (106.7 KB, 31 views)
File Type: htm Jugulator (0.10) 2006-12-15 2.htm (98.9 KB, 34 views)

Last edited by mtaboneweb; 12-15-2006 at 01:58 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #917 (permalink)  
Old 12-15-2006, 02:01 PM
Senior Member
 
Join Date: Jun 2006
Posts: 740
yeoeleven is on a distinguished road
10points3 Dynamic Stop

Closed for the week 10points3 Dynamic Stop. Closing off pairs as they became in profit. Settings previously posted

A good week overall.

Am still waiting for USDJPY to retrace prior to closing off Jugulator.

John
Attached Images
File Type: gif 10points3#19.gif (4.9 KB, 109 views)
Attached Files
File Type: htm 10points3#19.htm (111.7 KB, 44 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #918 (permalink)  
Old 12-15-2006, 02:15 PM
Senior Member
 
Join Date: Jun 2006
Posts: 740
yeoeleven is on a distinguished road
Jugulator1.1

Carrying on from the settings on post #891 and previous results on post #898. Here is the detailed statement after closing for the week.

Will look at the settings prior to opening on Monday likely to use closer to Matt's since they are clearly better than mine.

John
Attached Images
File Type: gif Jug#4.gif (5.4 KB, 109 views)
Attached Files
File Type: htm Jug#4.htm (66.9 KB, 21 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #919 (permalink)  
Old 12-15-2006, 03:30 PM
Member
 
Join Date: Oct 2005
Posts: 84
forex4syg is on a distinguished road
Quote:
Originally Posted by mtaboneweb
That should be fixed here (Page 89, post 890, Jugulator.zip). There is a new variable in the EA that gets set to the order number. If the order fails there shouldn't be an order number and the code checks that before it increments the ActualOrders variable.

void OrderNeedsOpening() {

//Preserve value before changing them
double TempActualLotSize = ActualLotSize;

//Increase Lot Size
ActualLotSize = NormalizeDouble(ActualLotSize * LotsIncreaseBy, LotPrecision);

//Are we trying to go long?
if (OrderDirection == 1) {
//Set Take Profit and open a Long order
ActualTP = Ask + (TakeProfit * Point);
LastTicket = OrderSend(Symbol(), OP_BUY, ActualLotSize, Ask, OrderSlippage, ActualSL, ActualTP, "Order" + (ActualOrders + 1), Magic, 0, Blue);
}
//Are we trying to go short?
else if (OrderDirection == 2) {
//Set Take Profit and open a Short order
ActualTP = Bid - (TakeProfit * Point);
LastTicket = OrderSend(Symbol(), OP_SELL, ActualLotSize, Bid, OrderSlippage, ActualSL, ActualTP, "Order" + (ActualOrders + 1), Magic, 0, Red);
}

//If the order went thru it will be greater than 0
if (LastTicket > 0) {
ActualOrders++;
}
//Order failed so we need to set the value back
else {
ActualLotSize = TempActualLotSize;
}

}

Does the code you are using reflect this change because this is what I am running and I don't have any problems opening multiple order and having them close when they should TP or SL. Note that this type of change is also in other areas of the code so copying and pasting this section alone will not fix the problem.
The version I am testing does not contain the above change. I will use the newer version. Thanks mtaboneweb!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #920 (permalink)  
Old 12-15-2006, 11:57 PM
Junior Member
 
Join Date: Sep 2006
Posts: 11
hawkv is on a distinguished road
Quote:
Originally Posted by yeoeleven
Still continuing to forward test 10points3 Dynamic Stop and still getting good results.

I removed GBPUSD yesterday in an effort to make this EA safe for small accounts it probably reduced the profitability but hopefully increased the safety.

John
Are you still using the orginal 10points3 Dynamic Stop which is on page 18 ?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/martingale-average-cost-hedging/3473-10points-3-mq4.html
Posted By For Type Date
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-07-2008 01:59 PM
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-07-2008 05:20 AM
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-06-2008 10:40 PM
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-06-2008 09:20 PM
Part Time Wealth Building Trading System - Weekly Scalping - Page 88 This thread Refback 08-06-2008 01:57 PM
Is This My Holy Grail EA :D This thread Refback 07-10-2008 04:03 AM
Martingale EA - Alternative to FXTradepro This thread Refback 07-09-2008 03:25 PM
¥á¥¿¥È¥ì¡¼¥À¡¼¤À¤¡¡ª¡¡ This thread Refback 06-13-2008 04:13 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 06-08-2008 12:11 PM
¥á¥¿¥È¥ì¡¼¥À¡¼¤À¤¡¡ª¡¡ 200805 This thread Refback 06-06-2008 02:32 PM
Wonderful Expert - Forex Trading | MetaTrader Indicators and Expert Advisors This thread Refback 05-16-2008 10:38 AM
[intraday]martingale strategy dan variasinya - Page 6 - Forexindo Forum This thread Refback 05-14-2008 01:40 AM
Expert Advisors on live account - Alpari (UK)'s Forex and CFDs Forum This thread Refback 05-01-2008 07:50 PM
íÇÇÎæÇä åá íæÌÏ ÇÓÊÑÊÌíå ÌíÏå á scapling - ãäÊÏíÇÊ ÇáãÊÏÇæá ÇáÚÑÈí This thread Refback 04-30-2008 02:28 PM
Expert Advisors on live account - Alpari (UK)'s Forex and CFDs Forum This thread Refback 04-23-2008 05:45 AM
Martingale EA - Alternative to FXTradepro This thread Refback 04-03-2008 01:13 PM
تست اکسپرت 10Points3 - Sarmaye Forums This thread Refback 03-29-2008 06:39 AM
Per tutti: Expert Advisor/Strategia da valutare - Forex Forum This thread Refback 03-27-2008 05:13 PM
Forex Mini - 300 30000 forex mini This thread Refback 03-18-2008 07:13 AM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 03-16-2008 02:11 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 03-16-2008 12:37 PM
Download 10points3 Ea - Type Your Search Here This thread Refback 03-10-2008 12:24 PM
10points3¤Î¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¡Ö10p3MultiPipStepV001¡× FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 03-09-2008 10:42 AM
10points3 Ea - Type Your Search Here This thread Refback 02-27-2008 12:38 AM
Which EA is making money for you? This thread Refback 02-25-2008 11:12 AM
Per tutti: Expert Advisor/Strategia da valutare - Forex Forum This thread Refback 02-23-2008 11:03 AM
Which EA is making money for you? This thread Refback 02-20-2008 07:35 AM
Which EA is making money for you? This thread Refback 02-19-2008 07:30 PM
Diskuzní fórum Financnik.cz :: Se Sidem o Forexu :: Sbìrna AOS,EA,TS Post #1390 Refback 02-15-2008 10:08 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 02-15-2008 06:38 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 02-08-2008 03:31 PM
Part Time Wealth Building Trading System - Weekly Scalping - Page 88 This thread Refback 02-03-2008 04:01 AM
Martingale EA - Alternative to FXTradepro This thread Refback 01-28-2008 12:14 AM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-26-2008 08:13 PM
10points3 Ea