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
  #171 (permalink)  
Old 01-22-2008, 02:42 AM
Senior Member
 
Join Date: Feb 2007
Posts: 176
lcfxtrader is on a distinguished road
Quote:
You guys have really been testing my coding abilities here. That's O.K. it's helped me learn a lot.
Charge on Wolfe!! You are doing a great job and I positive that all the members testing this EA feel the same way.
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
  #172 (permalink)  
Old 01-22-2008, 02:44 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by lcfxtrader View Post
Wolfe,

I have noticed that the EA will close all open trades far past the stop loss based on the close_by_loss input (ex: set to -100 & EA closed all aggregate positions at -135.02). Do you know why this would happen?

Thanks,
LCFX
Yes,

Stop loss will start executing once profit is < or = your stop loss parameter. Just 1 pip movement, could increase your loss by that much depending on how many orders are open and how many lots you have. Also take into account time taken for close all cycle, and slippage, and you have your answer.

The same could work for TP as well.
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
  #173 (permalink)  
Old 01-22-2008, 03:40 AM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 394
WNW is on a distinguished road
Bug Report

Hi wolfe,

Thanks for the new version.

Please see the attached pic.
Note that 2 buys and 2 sells were taken as opening trades, each within 1 pip of the other.

This does not seem right...
Attached Images
File Type: gif tfx.gif (66.6 KB, 364 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
  #174 (permalink)  
Old 01-22-2008, 06:02 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by WNW View Post
Hi wolfe,

Thanks for the new version.

Please see the attached pic.
Note that 2 buys and 2 sells were taken as opening trades, each within 1 pip of the other.

This does not seem right...
I had the comments wrong in the ordersend() commands. If you notice in your screen shot they all say TFX_LONG_START. This is not really what happened.

It bought @ 1.4455, then sold @ 1.4443, then bought @ 1.4456, then sold @ 1.4444. That seams like it is working right. The comments are messed up and confusing.

The ordersend() comments will be fixed in v1_4.

Thanks for pointing that out.
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
  #175 (permalink)  
Old 01-22-2008, 10:24 PM
Senior Member
 
Join Date: Jun 2006
Posts: 278
giapel is on a distinguished road
tfx modified

hi,
i 've modified ea using the same logic but introducing another way to operate :

if price is over bollinger band and trend is up ( i am using turbo_jma) open long,
if price is below bollinger band and trend down open sell, i' ve used step = 5, tp= 0.1% and sl= 50%

could you see it and if you consider a dood idea continue to develop ?
thanks in advance
giapel
Attached Images
File Type: gif screen tfx1.7.gif (62.7 KB, 306 views)
Attached Files
File Type: mq4 Turbo_JMA.mq4 (10.8 KB, 113 views)
File Type: mq4 TFX v1_7.mq4 (21.0 KB, 98 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
  #176 (permalink)  
Old 01-22-2008, 10:31 PM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Still working

While v1_4 is a work in progress, I need to know if there are any more problems with v1_3.

This has taken quite a few tries to get right.(and still working) Thanks to all who have been testing TFX and pointing out bugs. I have been trying to include all of your ideas in the development of TFX. Sorry to those who have had suggestions and haven't seen results yet.

The code is getting increasingly more complex. v1_3 has over 500 lines of code, double that of the first version. v1_4 promises to be longer still. Just one character omitted or in the wrong place, and it will not work properly. Extremely tempermental, (and literal) these EA's can be!

Thanks again for your support and patience, as we work through this trading method together.

Please post any questions, comments, or concerns, as this will help in the development of v1_4.

-Wolfe
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
  #177 (permalink)  
Old 01-23-2008, 02:00 AM
ElectricSavant's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 3,354
ElectricSavant is on a distinguished road
Does the include file need to be reinstalled?

ES

Quote:
Originally Posted by giapel View Post
hi,
i 've modified ea using the same logic but introducing another way to operate :

if price is over bollinger band and trend is up ( i am using turbo_jma) open long,
if price is below bollinger band and trend down open sell, i' ve used step = 5, tp= 0.1% and sl= 50%

could you see it and if you consider a dood idea continue to develop ?
thanks in advance
giapel
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
  #178 (permalink)  
Old 01-23-2008, 02:09 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Currently testing v1_4 on multiple currencies. Currently attached to 6 pairs at the same time. Seems to be working well. I'll continue with some of the other suggestions.
Attached Images
File Type: gif v1_4.gif (99.6 KB, 296 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
  #179 (permalink)  
Old 01-23-2008, 02:40 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 816
wolfe is on a distinguished road
Quote:
Originally Posted by alw2142 View Post
Hi Wolfe,

I am testing along with LCFX.

In addition to ES' comments above, please note that the readout only displays 1 decimal place for both Open Profit and Closed Profit.

When you are looking at that portion of the code, can you consider making the readout display go to two decimal places?

I think what is happening is if the second decimal place is 0, it is dropped off. Not sure how to fix that. My Open Profit is showing two decimal places.
Attached Images
File Type: gif v1_4usdchf.gif (9.4 KB, 294 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
  #180 (permalink)  
Old 01-23-2008, 03:53 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by wolfe View Post
I think what is happening is if the second decimal place is 0, it is dropped off. Not sure how to fix that. My Open Profit is showing two decimal places.
Use DoubleToStr() within the Comments() function - the second parameter sets the number of decimal places displayed.
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 03:40 AM.



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