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 (20) Thread Tools Display Modes
  #971 (permalink)  
Old 02-28-2008, 10:52 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 719
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
up 5% and going on day 3 ....go go go...not even near a maxtrade yet...Drawdown under 5%...
I forget, what maxtrade setting are you using? One close all maxtrade can destroy all profit gained if set too small.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #972 (permalink)  
Old 02-28-2008, 10:56 PM
sivach's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 108
sivach is on a distinguished road
The logic handling of your brain is great, which we can see through this EA construction. You kindly made this EA as a open structure for all of us try to learn something in future. Thanks forever.

Quote:
Originally Posted by wolfe View Post
You made me smile. An EA of this magnitude is something new for me to try and create. I like to hear when problems are solved.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #973 (permalink)  
Old 02-28-2008, 11:00 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 719
wolfe is on a distinguished road
Quote:
Originally Posted by kayvan View Post
yes. and also i don`t believe that there may be a private permanently successful ea .

but in here , and with guys like you and wolfe . we will make it .

already we have gone most of the way.

with that last little idea . be sure that you can use it safly in your real.
Kayvan,

We'll get it. I realize you have already stated your additional ideas for this EA in various posts. I need a favor from you. Please post again ALL your ideas in one place, so I can wrap my head around them, and try to incorporate them into the EA for testing. Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #974 (permalink)  
Old 02-29-2008, 03:54 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 719
wolfe is on a distinguished road
Any testing or problems to report?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #975 (permalink)  
Old 02-29-2008, 07:13 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,010
ElectricSavant is on a distinguished road
Yes,

The lookback of 2 did not work on the kayvan lag of 3/3 on the custom progression = true, in the m5 cable with pyramid = true and filter=true.

It only did a lookback 1 on its first trade. I am waiting to see what it does on subsequent trades. Late Edit: subsequent trades are fine.

Also the lag of 3 did not work...it just adds the spread no matter what the lag said...


Quote:
Originally Posted by wolfe View Post
Any testing or problems to report?
Attached Images
File Type: gif bug.GIF (66.8 KB, 174 views)

Last edited by ElectricSavant; 02-29-2008 at 07:20 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #976 (permalink)  
Old 02-29-2008, 09:12 AM
kayvan's Avatar
Senior Member
 
Join Date: Mar 2007
Location: .....
Posts: 145
kayvan is on a distinguished road
Quote:
Originally Posted by wolfe View Post
Kayvan,

We'll get it. I realize you have already stated your additional ideas for this EA in various posts. I need a favor from you. Please post again ALL your ideas in one place, so I can wrap my head around them, and try to incorporate them into the EA for testing. Thanks!


Wolfe, as you and all other that knows something about how to must act an martingale ea ,know, till now this ea that you made, is the best one .

but there is a problem (a big one that all the martingale experts have) .that is their progression when goes so far . but market don`t go as so far as they expect to go .

take a close look at this , Wolfe ... let`s say we are in level 7 . it`s mean we begun with 0.1 and now we are going to have our 6.4 lot size order .

while there was no such a movement in market . why we went so far ? it is not logical , in my thought ,and in this case ,if our positions were against the trend ,it is a really gambling play , and, as every body knows there is no

win for gambling players at all. most funny , when our first order goes so far in profit, but with 0.1 lot size, in this case we let it go , say 50 pips , with 0.1 we don`t do anything , but at the end of the market movement , we begin to add to our order lot sizes .in my opinion this is not logical . OK ,our ea dose not trade against the trend . that is very good . so we are not gambling . but we need a large amount of money , to can be able ,to carry these levels to come out with no lose .

what is the solutions : first of all , it seems ,using an indicator based on price actions , will solve the problem . but as you know, an indicator also needs to be filter . but anyway it will reduce the false orders .

the second solution and best solution(in my thought) for this problem is , let the market determine for our lot sizes increment . how ? if the market wants to go 50 pips above or below the previous candle, OK let it go but not with 0.1 lot size position , in this case market tell us we need 50 order with 0.1 lot size . it means we must release 50 order, in every pip movement in it`s direction ,above or below the previous bar.( or every 2 or 3 or....pip market movement depends on trader risk able ) .

that was all i meant . in case of any questions , i can explain it on a chart.

Last edited by kayvan; 02-29-2008 at 07:22 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #977 (permalink)  
Old 02-29-2008, 09:19 AM
kayvan's Avatar
Senior Member
 
Join Date: Mar 2007
Location: .....
Posts: 145
kayvan is on a distinguished road
Quote:
Originally Posted by wolfe View Post
Kayvan,

We'll get it. I realize you have already stated your additional ideas for this EA in various posts. I need a favor from you. Please post again ALL your ideas in one place, so I can wrap my head around them, and try to incorporate them into the EA for testing. Thanks!

another option that we will need for back testing this ea is time interval .


notice every body as all experiments say , the best time for beginning the trade is 5 GMT .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #978 (permalink)  
Old 02-29-2008, 12:35 PM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,010
ElectricSavant is on a distinguished road
...as some of you may know I hit a 6.40 progression and by the time the WFM got it all closed I made nothing and lost half my profit...I was still up 3.8% but here is my new setfile. I changed some things..like choose own progression instead of doubling...kayvan lag is no longer 2/2...it is now 3/3. The lookback is 2 instead of 1.

Start_Lot_Size=0.10000000
Lot_Size_Increment=0.10000000
Long_Short_Balance=0
Balance_Weight=0.10000000
Double_Lotsize=0
Choose_Own_Progression=1
Trade_1=0.10000000
Trade_2=0.20000000
Trade_3=0.30000000
Trade_4=0.50000000
Trade_5=0.80000000
Trade_6=1.30000000
Trade_7=2.10000000
Trade_8=3.40000000
Trade_9=5.50000000
Trade_10=8.90000000
Trade_11=14.40000000
Trade_12=0.00000000
Trade_13=0.00000000
Trade_14=0.00000000
Trade_15=0.00000000
Trade_16=0.00000000
Trade_17=0.00000000
Trade_18=0.00000000
Trade_19=0.00000000
Trade_20=0.00000000
Max_Trades=12
Close_All_Max=1
Pyramid=1
Auto_Restart=1
Use_MA_Entry=0
Next_Trade=20
MA_Period=7
MA_Timeframe=60
Use_Kayvan_Method=1
Bar_Timeframe=5
Bars_Look_Back=2.00000000
EntryLag_Long=3
EntryLag_Short=3
Last_Entry_Filter=1
Use_Trailing_Stop=1
Trail_Start=2.00000000
TSLoss_Percent=50.00000000
Close_By_Percent=0
TP_Percent=5.00000000
SL_Percent=10.00000000
Close_By_Profit=99999.00000000
Close_By_StopLoss=99999.00000000
Slippage=3
Number_Of_Tries=5
Sound=1

Last edited by ElectricSavant; 02-29-2008 at 12:43 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #979 (permalink)  
Old 03-01-2008, 12:57 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 719
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
Yes,

The lookback of 2 did not work on the kayvan lag of 3/3 on the custom progression = true, in the m5 cable with pyramid = true and filter=true.

It only did a lookback 1 on its first trade. I am waiting to see what it does on subsequent trades. Late Edit: subsequent trades are fine.

Also the lag of 3 did not work...it just adds the spread no matter what the lag said...
ES,

The code for the first order is different than the code for additional trade progressions. That's where this frustration is from.

First order using kayvan method for buy:
PHP Code:
if ((Pyramid==true)&&(Bid High[1])&&(OTBM(Magic_Number)==0))
  {
OrderSend Buy...etc...
  } 
Additional order using kayvan method:
PHP Code:
if ((Pyramid==true)&&(Use_MA_Entry==false)&&(Ask >= Next_Buy)&&(Ask>Last_Buy)&&(Last_Type==OP_SELL)&&(Last_Entry_Filter==true))
  {
    
Ordersend.....
   } 
This can easily be fixed, I simply overlooked the criteria for the first order. Sorry.

Does the look back seem to work O.K. for all the additional orders?

As far as the "Lag" goes, all it simply should be doing (as I programmed it, maybe not what people thought) is (if you enter 3) opening an the order 3 pips above the high or 3 pips below the low based on your look back. Opening the orders at least as close to this as the broker will allow due to re-quotes, or slippage.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #980 (permalink)  
Old 03-01-2008, 01:05 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,010
ElectricSavant is on a distinguished road
I think it is working correctly on the subsequent orders..can you fix this "first order bug" and I will test further and let you know about the subsequent orders ok?

I am sure glad you can find this stuff as I have a hard time to explain it...By the way...I am not feeling any frustration, other than my lack of coding skills...


ES

Quote:
Originally Posted by wolfe View Post
ES,

The code for the first order is different than the code for additional trade progressions. That's where this frustration is from.

First order using kayvan method for buy:
PHP Code:
if ((Pyramid==true)&&(Bid High[1])&&(OTBM(Magic_Number)==0))
  {
OrderSend Buy...etc...
  } 
Additional order using kayvan method:
PHP Code:
if ((Pyramid==true)&&(Use_MA_Entry==false)&&(Ask >= Next_Buy)&&(Ask>Last_Buy)&&(Last_Type==OP_SELL)&&(Last_Entry_Filter==true))
  {
    
Ordersend.....
   } 
This can easily be fixed, I simply overlooked the criteria for the first order. Sorry.

Does the look back seem to work O.K. for all the additional orders?

As far as the "Lag" goes, all it simply should be doing (as I programmed it, maybe not what people thought) is (if you enter 3) opening an the order 3 pips above the high or 3 pips below the low based on your look back. Opening the orders at least as close to this as the broker will allow due to re-quotes, or slippage.

Last edited by ElectricSavant; 03-01-2008 at 01:08 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
martingale, martingale ea, martingale EA, martingale ea download

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/martingale-average-cost-hedging/11734-martingale-ea.html
Posted By For Type Date
ea - learn to trade forex swicki - powered by eurekster This thread Refback 06-05-2008 06:34 PM
[intraday]martingale strategy dan variasinya - Page 6 - Forexindo Forum This thread Refback 04-04-2008 03:15 AM
TFX v1.5 Expert Adviser - The Money Guru Forum - Money Making Discussions This thread Refback 03-31-2008 05:36 PM
Download 10points3 Ea - Type Your Search Here This thread Refback 03-12-2008 01:38 AM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-08-2008 08:36 PM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-07-2008 07:27 AM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-07-2008 03:27 AM
Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo This thread Refback 03-05-2008 01:56 AM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-29-2008 01:05 PM
Martingale Baggio Method - Page 11 This thread Refback 02-27-2008 09:59 PM
Martingale Baggio Method - Page 11 This thread Refback 02-27-2008 05:07 PM
Martingale Baggio Method - Page 11 This thread Refback 02-27-2008 05:04 PM
Martingale Baggio Method - Page 10 This thread Refback 02-25-2008 06:50 PM
Martingale Baggio Method - Page 10 This thread Refback 02-25-2008 06:07 PM
Martingale Baggio Method - Page 10 This thread Refback 02-25-2008 06:05 PM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-23-2008 07:38 PM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-04-2008 06:15 AM
Bright Idea's :: View topic - TFX Public EA Thread (work in progress) This thread Refback 02-03-2008 05:01 AM
Bright Ideas™ » TFX (an amazing EA) This thread Refback 01-15-2008 06:26 PM
World of Forex Trading » Martingale EA This thread Pingback 01-11-2008 02:33 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Martingale Trend EA criss73 Expert Advisors - Metatrader 4 8 11-20-2008 02:56 AM
Reversed martingale mrv Expert Advisors - Metatrader 4 6 07-26-2007 01:28 AM
Leverage for martingale frantacech Expert Advisors - Metatrader 4 0 05-22-2007 02:17 PM
Martingale EAs? icepeak Expert Advisors - Metatrader 4 5