Forex



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
 
Thread Tools Display Modes
  #761 (permalink)  
Old 02-25-2008, 03:32 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
wolfe,

I wanted to ask you about the all powerful LastEntryFilter. I want to make sure it functions the way I hope it does..

When used with the kayvan method it is supposed to not enter any entry that does not EXCEED the previous entry (s) in that same direction, cumulative.

So how in the world did you code this? as you need to know the lookback...the lag....the highest of ALL the previous entries that are open and the lowest...you do not even know how many are going to be opened. (folks I want to remind you that this can be used on the M5 too! if wolfe can get this to work)

anyways..the end result will give you exceding Longs going higher and higher and exceeding Shorts going lower and lower if pyramid: true...a gridding sort of look...opposite for counter trend..or in other words, pyramid: false

How do you control the first trades? what if the first trade is Long...and it does very well but does not exit then we get a Short which is the first leg....there are not any previous entries yet for the LastEntryFilter to work with but the Short is above the Long and your in pyramid mode?

Do you see the problem? Maybe you already delt with this? If you have not...how in the world will you? Don't answer that...

ES

P.S. be patient folks we are getting there step-by-step...this public testing is two-fold...it teaches you how to use this EA.
ES-

I do think you get a special award for contributing the hardest idea to code!

I had to create a way to keep track of the last buy open price, and the last sell open price, and be sure the program could access them when needed. It was kinda a pain in the a**! But I think I figured it out.

Another problem was integrating this along with the other options, and trying to guess "Hmm what might people have selected, or not have selected, and still have this work.

Decision code before a buy:
PHP Code:
if (((Pyramid==true)&&(Use_MA_Entry==false)&&(Ask >= Next_Buy)&&(Last_Type==OP_SELL)&&(Last_Entry_Filter==false))||
     ((
Pyramid==false)&&(Use_MA_Entry==false)&&(Ask <= Next_Sell)&&(Last_Type==OP_SELL)&&(Last_Entry_Filter==false))||
     ((
Pyramid==true)&&(Use_MA_Entry==false)&&(Ask >= Next_Buy)&&(Ask>Last_Buy)&&(Last_Type==OP_SELL)&&(Last_Entry_Filter==true))||
     ((
Pyramid==false)&&(Use_MA_Entry==false)&&(Ask <= Next_Sell)&&(Ask<Last_Buy)&&(Last_Type==OP_SELL)&&(Last_Entry_Filter==true)))
   { 
Decision code before a sell:
PHP Code:
if (((Pyramid==true)&&(Use_MA_Entry==false)&&(Bid <= Next_Sell)&&(Last_Type==OP_BUY)&&(Last_Entry_Filter==false))||
     ((
Pyramid==false)&&(Use_MA_Entry==false)&&(Bid >= Next_Buy)&&(Last_Type==OP_BUY)&&(Last_Entry_Filter==false))||
     ((
Pyramid==true)&&(Use_MA_Entry==false)&&(Bid <= Next_Sell)&&(Bid<Last_Sell)&&(Last_Type==OP_BUY)&&(Last_Entry_Filter==true))||
     ((
Pyramid==false)&&(Use_MA_Entry==false)&&(Bid >= Next_Buy)&&(Bid>Last_Sell)&&(Last_Type==OP_BUY)&&(Last_Entry_Filter==true)))
   { 
These may look the same to you, but look closely, they're not.

I'm confident it works well when pyramid is set to true. I'm not so confident it will work all that great when pyramid is set to false. When pyramid is set to false, you have to take think of everything as opposite, it gets very confusing. You also have to take into account how the code should read before a long or a short. I did my best at the time on this one, Maybe my best will be better in the future.

I probably haven't really answered you're question, but I hope I did!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #762 (permalink)  
Old 02-25-2008, 03:34 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
ok...so maxtrades works independently...the TS did not work together with it though?

ES
Not yet, you should have this tonight though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #763 (permalink)  
Old 02-25-2008, 03:35 AM
Member
 
Join Date: Dec 2006
Posts: 95
Paulinge is on a distinguished road
follow your ALL Track

Hi Mr. Wolfe and Mr. ElectricSavant,

Like I said before, I'm trying to follow your Rules and track this EA.

Now, I was running this EA ( pls forgive me with the name using like that in the chart, just want to remember me this trade follow Mr. ES setting. Pls don't you ALL mind ), JUSt in Cable pair.

I'm using for ES setting latest. ( That's why the name of EA with his name ).
And this EA was open this morning like you see.

My question is :
1. There is no SL / TP, when trade was Open. Is it Right OR Wrong Sir' ??
Attached Images
File Type: gif 1.gif (33.5 KB, 124 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #764 (permalink)  
Old 02-25-2008, 03:36 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by ajk View Post
great job, wolfe.! Awesome. -- this is definintely the best martingale I have ever seen!. You can all thank your lucky stars!. The more, I look the more awesome it looks. ! i love the allowed loss definition!!! !. GREEEAAAATTTTTT! A long and short balance!!! awesome!!! way of making this thing very lucartive potentially
Thank you for all the kind words ajk!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #765 (permalink)  
Old 02-25-2008, 03:36 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
Why did I get a Long with entry lag set with 3 and a lookback of 2?
Attached Images
File Type: gif tfx lag 3.GIF (76.6 KB, 113 views)

Last edited by ElectricSavant; 02-25-2008 at 03:39 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #766 (permalink)  
Old 02-25-2008, 03:43 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
Hello paulinge,

There is not a SL or TP on the individual trades.

We are sneaky

We use the float to exit all the trades with per each chart the EA is on! These settings that you are using, use a TS of 6 bucks with first opportunity at 5 bucks...maybe more...

Only use this on one pair per 1K with the settings you are using.

ES







Quote:
My question is :
1. There is no SL / TP, when trade was Open. Is it Right OR Wrong Sir' ??

Last edited by ElectricSavant; 02-25-2008 at 03:47 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #767 (permalink)  
Old 02-25-2008, 03:44 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
Why did I get a Long with entry lag set with 3 and a lookback of 2?
Not sure, do you have a log in I can go to?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #768 (permalink)  
Old 02-25-2008, 03:45 AM
Member
 
Join Date: Dec 2006
Posts: 95
Paulinge is on a distinguished road
follow you ALL track

Hi Mr. Wolfe and Mr. ElectricSavant,

This is for next action for this EA. ( in several minute from the chart first ).


Thank you.


Best regards,
Paulinge
Attached Images
File Type: gif 2.gif (37.1 KB, 113 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #769 (permalink)  
Old 02-25-2008, 03:50 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
Yes:

Login : 1870247
Investor : cp7rmjj (read only password)
Server: InterbankFX-Demo Accounts

ES


Quote:
Originally Posted by wolfe View Post
Not sure, do you have a log in I can go to?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #770 (permalink)  
Old 02-25-2008, 03:52 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
Yes:

Login : 1870247
Investor : cp7rmjj (read only password)
Server: InterbankFX-Demo Accounts

ES
I will take a look now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
Baggio, best martingale ea, digitrend_gyro, ea martingale, forex martingale, grid martingale, martingale, martingale ea, martingale ea download, martingale ea forex, martingale expert advisor, martingale forex, Martingale mt4, tfx v1_8

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

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 01-18-2007 03:21 AM
Martingale EA newdigital Expert Advisors - Metatrader 3 2 05-23-2006 03:42 PM


All times are GMT. The time now is 11:15 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.