Home About Contact
ForexForums.org




Reply
Old 05-09-2008, 06:24 AM   #41 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 10
Quote:
Originally Posted by cfabian View Post
I could finally made trailstop work. I was trying to use it with value of 9 pips (as commented on the first post). But changed to 19 and is now working.
Trail stops are only functional at a value of 15 pips or greater, a true shortcoming of the MetaTrader software, nor can one enter a trade using a Trail Stop. I'm sorry I don't see that you "commented on the first post" a value of 9, otherwise I would have spoken up to advise you.
Quote:
I'm attaching a chart, in which you can see many short trades right when the price is moving up. The DD so far is 12% of the equity. If we have that trade in place, and the EA can confirm that M5 and M30 stochs are going UP (going against the trade), and crossed 20, placing hedged long trades will reduce DD and probably profit more. Same thing if long trade in place and M5 and M30 go down and crossed 80.
Yes indeed, I saw the same type of trade entries on my charts that could have been made much better.

The very simple code modifications that I posted previously seem to solve the poor trade entry problem. On your image, notice if you will the value of the 5M Stoch(5,3,3) when the short trades were entered. This simply doesn't happen using my code modifications, which enter the short trades when the 5M Stoch(5.3.3) is greater than the (100 - stoch_threshold) value. This enters the trade with less risk, reduces the DD and makes for more profitable trading both long and short, I believe.

I'm "hedging" by having one window "short only" and another "long only" with different magic numbers. Using Roger's published input values, I've optimized (since 01 March 2008) different TrailStop and stoch_threshold values for the short and long windows.

Rather than increasing the complexity of the code by introducing hedging logic and increasing its optimization run-time, I'm devoting my humble efforts to improving the trade entry criteria to minimize risk and DD. This addresses both of the concerns displayed on your chart image, I believe.
henrietta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Old 05-09-2008, 05:41 PM   #42 (permalink)
Administrator
 
kokas's Avatar
 
Join Date: Sep 2006
Location: Portugal
Posts: 507
Optimization Report SuperStochs V3

Ok, here it is the optimization report that I was running for some days.

I think that there are several logic issues on the short entrys. And at this point I'm thinking on recoding the entire EA. So please post here any sugestions if possible with pieces of corrected code.
Attached Images
File Type: gif OptimizationReport.gif (8.1 KB, 27 views)
Attached Files
File Type: zip Optimization Report SuperStochs v3.zip (348.7 KB, 41 views)
File Type: htm OptimizationReport.htm (1.28 MB, 49 views)
File Type: xls Optimization Report SuperStochs v3.xls (1.14 MB, 30 views)

Last edited by kokas; 05-09-2008 at 06:04 PM.
kokas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-10-2008, 03:18 PM   #43 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 3
Hello Henrietta,

i tried setting up the EA as u've mentioned above....i.e having "short" on one window and "long" on the other with different magic but its working only in one direction.....

is there procedure i have to follow in setting different magic numbers?
shellboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-10-2008, 06:29 PM   #44 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 10
Quote:
Originally Posted by shellboy View Post
i tried setting up the EA as u've mentioned above....i.e having "short" on one window and "long" on the other with different magic but its working only in one direction.....

is there procedure i have to follow in setting different magic numbers?
Different magic numbers in the two windows is all it takes. Don't expect to see trades in both directions very often, as the trade entry criteria favour one direction or the other. It's only at potential market turns when all the stochastics reverse that we'll see both directions simultaneously.

I really think the EA as written is a good one, and the small modifications I suggested will make fewer trades, but will be profitable with less drawdown (DD). The large figures generated with backtesting to 2006 seem to be what impresses the majority of people, but I really am scared with the DD of ~50% that those ancient curve-fits generate. One doesn't know in real-time when that 50% DD will occur.

It's much more difficult to use an EA in real-time than it is to generate glorious back-test results. One actually has to wait the 2 years to see if the optimization is valid in current market conditions. Optimizing over the past 2 months once every week makes it faster to see if any tweaks will improve the anticipated performance.
henrietta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2008, 08:15 PM   #45 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 13
Quote:
Originally Posted by kokas View Post
Ok, here it is the optimization report that I was running for some days.

I think that there are several logic issues on the short entrys. And at this point I'm thinking on recoding the entire EA. So please post here any sugestions if possible with pieces of corrected code.
DD is a big concern here. Results look good.

As per rewriting the EA, I would recomend:

- Trade either given lot value or % of balance
- Henrietta's entry filter
- Probably use fresh signals (not sure if Henrettas filter does this) and trade only when stochs are all alligned up and start ramping up or plummeting and crossing given stochs value for each case
- Be albe to trade both directions without favouring one
- Hedge option when drawdown reaches given value or % per pair, with the capability of choosing between closing all pair trades when balances out, or close just negatives when balances out. This is the most important I believe
- ATR

If more ideas, let you know. With people contributions this can really be an amazing development. Thanks again for your hard work.
cfabian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Old 05-11-2008, 08:26 PM   #46 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 13
Quote:
Originally Posted by henrietta View Post
Trail stops are only functional at a value of 15 pips or greater, a true shortcoming of the MetaTrader software, nor can one enter a trade using a Trail Stop. I'm sorry I don't see that you "commented on the first post" a value of 9, otherwise I would have spoken up to advise you.
Yes indeed, I saw the same type of trade entries on my charts that could have been made much better.

The very simple code modifications that I posted previously seem to solve the poor trade entry problem. On your image, notice if you will the value of the 5M Stoch(5,3,3) when the short trades were entered. This simply doesn't happen using my code modifications, which enter the short trades when the 5M Stoch(5.3.3) is greater than the (100 - stoch_threshold) value. This enters the trade with less risk, reduces the DD and makes for more profitable trading both long and short, I believe.

I'm "hedging" by having one window "short only" and another "long only" with different magic numbers. Using Roger's published input values, I've optimized (since 01 March 2008) different TrailStop and stoch_threshold values for the short and long windows.

Rather than increasing the complexity of the code by introducing hedging logic and increasing its optimization run-time, I'm devoting my humble efforts to improving the trade entry criteria to minimize risk and DD. This addresses both of the concerns displayed on your chart image, I believe.
Thanks for your comments. You're right... I didn't comment before on trailing stop value of 9. I tried to say I red it, but was wrong too. On the very first post of this trade is quoted "the stoploss u need is extremely small (5-8pips)".

As per buy only and sell only charts, how do I do that? I cannot see that option on the settings.

Cheers
cfabian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-12-2008, 05:45 AM   #47 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 10
Quote:
Originally Posted by cfabian View Post
On the very first post of this trade is quoted "the stoploss u need is extremely small (5-8pips)".
Yes, I read that also, and couldn't understand the reasoning behind the statement, especially when the published SL = 1800, an exorbitant amount of risk.
Quote:
As per buy only and sell only charts, how do I do that?
Select a chart, then: F7 -> "Common" tab -> "positions" pull-down menu -> Only Long || Only Short || Long & Short.

It's important to realize that to have *both* a "Long Only" and "Short Only" window for the same symbol requires a different magic number for each position bias, otherwise using the same magic number will cause the closing action in one window to affect all trades in both positions long & short, with potentially unexpected results.
henrietta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2008, 12:28 AM   #48 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 13
Quote:
Originally Posted by henrietta View Post
Select a chart, then: F7 -> "Common" tab -> "positions" pull-down menu -> Only Long || Only Short || Long & Short.

It's important to realize that to have *both* a "Long Only" and "Short Only" window for the same symbol requires a different magic number for each position bias, otherwise using the same magic number will cause the closing action in one window to affect all trades in both positions long & short, with potentially unexpected results.
You're right, silly of me. Many times people try to make things more complex than they are.

Thanks a lot. Best
cfabian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2008, 11:14 PM   #49 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 13
Is this thread dead?
cfabian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-19-2008, 08:39 PM   #50 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 10
Quote:
Originally Posted by cfabian View Post
Is this thread dead?
Only if there are no further contributions.
henrietta is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
stochastics indicator, superstochs

LinkBacks (?)
LinkBack to this Thread: http://www.forexforums.org/mt4-expert-advisors-factory/91740-superstochs-ea.html
Posted By For Type Date
MTF Stochastics EA's - Page 3 This thread Refback 07-12-2008 08:08 AM
MTF Stochastics EA's - Page 3 This thread Refback 07-11-2008 05:06 PM
MTF Stochastics EA's - Page 3 This thread Refback 07-10-2008 11:58 PM
MTF Stochastics EA's - Page 3 This thread Refback 07-10-2008 06:03 PM
MENCOBA MENGAMATI EXPERT ADVISOR This thread Refback 07-06-2008 12:05 AM
Digg - SuperStochs EA This thread Refback 04-28-2008 02:41 AM
New EA posted posted for download - GlobalGoldTalk Money Making Forum This thread Refback 04-26-2008 04:57 AM
Untitled document This thread Refback 04-18-2008 04:09 PM


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 01:24 AM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.