• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 9:43am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 9:43am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Martingale, Reverse Martingale, Modified Martingale, Maths 1 reply

SWB Stealth (Martingale) 95 replies

SWB Martingale EA (with best setting) 63 replies

Martingale vs. Non Martingale (Simplified RoR vs Profit) 1 reply

SWB Super Trend 77 replies

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 178
Attachments: SWB Martingale EA
Exit Attachments
Tags: SWB Martingale EA
Cancel

SWB Martingale EA

  • Last Post
  •  
  • 1 4041Page 424344 52
  • 1 41Page 4243 52
  •  
  • Post #821
  • Quote
  • Edited 5:59am Mar 20, 2011 4:58am | Edited 5:59am
  •  Pagouras
  • | Joined Mar 2010 | Status: Member | 45 Posts
Firstly I would like to express my admiration to all that worked on this very promising EA. I am using the e version with hedge set on true. As you can see from the image the hedge fires on level 4 with set TP and SL. After it hits TP and the price turns upwards when it reaches the Hedge level it fires again...and it goes on reaching the Hedge SL. Is there any way that we can make the hedge fire only when the price comes from one direction. If the hedge trade is a Sell then to open only when price comes down to the Hedge Level and if we are on a Buy Hedge then the hedge will fire when price goes upwards. I don know if I make my self clear plus the fact that I am code illiterate I don't really know if that is feasible at all. Thank you again especially EC for all the work you have done here.
Attached Image (click to enlarge)
Click to Enlarge

Name: hedge_issue.gif
Size: 34 KB
 
 
  • Post #822
  • Quote
  • Mar 22, 2011 4:56pm Mar 22, 2011 4:56pm
  •  derox
  • | Joined Aug 2010 | Status: Member | 105 Posts
hey,

i got some ordermodify errors in journal tab (1 and sometimes 130), but backtesting works fine.

cheers, derox
 
 
  • Post #823
  • Quote
  • Mar 23, 2011 2:00am Mar 23, 2011 2:00am
  •  forexzak
  • | Joined Jun 2008 | Status: Member | 150 Posts
Quoting derox
Disliked
hey,

i got some ordermodify errors in journal tab (1 and sometimes 130), but backtesting works fine.

cheers, derox
Ignored
Error 1, mean no error returned from server and/or error is unknown, I dont worry about this error.

Error 130, means invalid stops. In back testing you don't have STOPLEVEL control therefore it work fine, But in forward testing if your StopLoss is less than you STOPLEVEL it becomes an invalid Stop and you receive error 130.

Hope it helps
 
 
  • Post #824
  • Quote
  • Mar 23, 2011 5:02am Mar 23, 2011 5:02am
  •  derox
  • | Joined Aug 2010 | Status: Member | 105 Posts
Quoting forexzak
Disliked
Error 1, mean no error returned from server and/or error is unknown, I dont worry about this error.

Error 130, means invalid stops. In back testing you don't have STOPLEVEL control therefore it work fine, But in forward testing if your StopLoss is less than you STOPLEVEL it becomes an invalid Stop and you receive error 130.

Hope it helps
Ignored
thanks for reply!
 
 
  • Post #825
  • Quote
  • Mar 30, 2011 2:24pm Mar 30, 2011 2:24pm
  •  LVRocha
  • | Joined Mar 2011 | Status: Member | 18 Posts
SWB GRID V05 E ... start test in 2010/01/01 M5... blow 2010/02/04
Attached Image (click to enlarge)
Click to Enlarge

Name: swb_grid_05_E.png
Size: 21 KB
 
 
  • Post #826
  • Quote
  • Mar 31, 2011 12:31am Mar 31, 2011 12:31am
  •  bp58
  • | Joined Feb 2011 | Status: Member | 6 Posts
Quoting ecTrade
Disliked
Hey, I just noticed if you set power_lots to false it won't work. That's because power lots factor (pl_factor) needs to be set to 1 by default, which I wasn't calling out. And, since I am multiplying tp_in_money by this and, unless I specify 1 as a default, basically it's multiplying it by 0. So ...
Ignored
Dear EcTrader..

I am test n runn SWB ver 5... hedging is running well done..

Dear EcTRADER ...

if you can help to modify or give the settings as below ...

SWB version 5 now,,,
when appropriate indicator to open buy position ...

SWB new version 5 contra i need ..
when appropriate indicator to open sell position
(so contra to current version)

I would like attempting to run 2 versions of the joint ..
but can also be run differently when we want to do is turn on the ea new hedging version.

above help him many thanks
 
 
  • Post #827
  • Quote
  • Apr 1, 2011 11:26pm Apr 1, 2011 11:26pm
  •  rmartin008
  • | Joined Mar 2009 | Status: Member | 7 Posts
Can someone tell me if you can set the initial lot size to 0.01 (micro lot?)

Thanks
Rory
 
 
  • Post #828
  • Quote
  • Edited 1:24pm Apr 5, 2011 4:34am | Edited 1:24pm
  •  kimis
  • | Joined Mar 2011 | Status: Member | 447 Posts
as there are some brokers who has minimum lot 0.1 but minimum step 0.01 I'd do this change in rounding precision calculation:



double lotstep = MarketInfo(Symbol(),MODE_LOTSTEP);
if(lotstep==0.01){ prec=2; std=10.0; }
if(lotstep==0.1) { prec=1; std=1.0; }


btw, variable std id not used anywhere in code.

EDIT

And there is a bug with Daily target - I have DT 50, tp in money is 2. after opening 4 and more levels by my settings EA closing orders at TP reached:
Order 1 +97.31
Order 2 +11.22
Order 3 -38.66
Order 4 -65.39
------------------
sum is 4.48

but EA has closed trading for rest of day as order 1 had profit of 97

EDIT 2

solved by changing dailyprofit function

from: if(TimeDay(OrderOpenTime())==day) res+=OrderProfit();
to: if(TimeDay(OrderCloseTime())==day) res+=OrderProfit(); //we are counting closed profit today, no matter when order has been opened


EDIT 3

There is a problem with dailytarget, but most probalby it is caused by hedge or specific its settings - if daily target is reached by closing hedge orders, EA closing all open orders on second day open, even with huge floating loss.

EDIT 4

I have no trades at any TF if forward_trend is set to true
 
 
  • Post #829
  • Quote
  • Apr 6, 2011 2:56pm Apr 6, 2011 2:56pm
  •  rmartin008
  • | Joined Mar 2009 | Status: Member | 7 Posts
Since this is a martingale system and prone to blowing up accounts I think it would be great if someone could add a email alert to this to alert you when your account dropped below a certain percentage. That way you could possible cut your loss before blowing up your account and starting over. Otherwise this EA works very good, and can make up losses very quickly.

Hope someone will give this some thought as I'm definitely not a programmer.

Rory
 
 
  • Post #830
  • Quote
  • Apr 27, 2011 6:26am Apr 27, 2011 6:26am
  •  yasthicklee
  • | Joined Oct 2009 | Status: Member | 28 Posts
could anyone provide me a .set file. Because there is no trades since I added this EA to my chart...

Thanks

With regards
 
 
  • Post #831
  • Quote
  • May 13, 2011 11:04am May 13, 2011 11:04am
  •  eb.forex
  • | Joined Feb 2011 | Status: Junior Member | 2 Posts
i checked the EA in back and forward test and it work very nice.
but it have a some problem. for example when we run it on the chart, it don't print any thing in the chart and u can not check what it is doing.
i thing it is necessary to print something in the chart that show the inputs value and the doing parameters.
 
 
  • Post #832
  • Quote
  • Jun 1, 2011 12:17am Jun 1, 2011 12:17am
  •  Paladin551
  • | Joined Jun 2008 | Status: Member | 6 Posts
I am trying to forward test this on a demo account with HotForex. 5 digit ECN broker, no trades in 2 days and no errors under the Experts tab, wondering what I need to do?
 
 
  • Post #833
  • Quote
  • Jun 2, 2011 4:14pm Jun 2, 2011 4:14pm
  •  Paladin551
  • | Joined Jun 2008 | Status: Member | 6 Posts
It came to life and is in it's 3rd cycle of trades,. gonna leave it running on demo thru NFP tomorrow jsut to see how it handles it. Anybody been doing some tweaking and have a great set file of 4? A news filter in this one and it would be about complete, nice work.......
 
 
  • Post #834
  • Quote
  • Jul 12, 2011 11:03pm Jul 12, 2011 11:03pm
  •  fisco
  • | Joined Aug 2010 | Status: Junior Member | 1 Post
Mr. ecTrade; congratulation , i´m a new trader in ea trading, and I read another thread your help to a fellowship trader, (ding,dong EA ). I´m a chilean citiszen, but is not difficult for me , realize when I meet a good person , congratulation...
 
 
  • Post #835
  • Quote
  • Jul 25, 2011 1:49am Jul 25, 2011 1:49am
  •  dowog
  • | Joined Aug 2006 | Status: Member | 17 Posts
Quoting ecTrade
Disliked
Okay, this is a revised version of the original SWB. I restructured ordering process to make it easier to modify. It should maintain same functionality, however. Although you folks might want to check it out to see if it works to your satisfaction.

It also includes previous version of hedge, plus h_top_level, which allows you to select level to shut hedge off. It may actually come in handy with this other idea we're talking about.
Ignored
Hi ecTrade, I hope you are still here. You are doing a great job on swb grid.

I like version 4.1 revised on post #525 because it's simple. Would you add hedge stop loss variable on 4.1 revised version?

Thanks in advance for your help.
 
 
  • Post #836
  • Quote
  • Aug 1, 2011 11:26am Aug 1, 2011 11:26am
  •  paulbt38
  • | Joined Mar 2010 | Status: Member | 244 Posts
Guys

Having some joy with this ea, however it can come unstuck if there is a strong move against it, either during the day (UK) and especially during news. I am no good at coding but perhaps someone could add either a news filter and or a trading times filter. Think ea could be very good catching small moves during asian session.

Paul
 
 
  • Post #837
  • Quote
  • Aug 2, 2011 7:07pm Aug 2, 2011 7:07pm
  •  fuenwood
  • | Joined Jun 2011 | Status: Member | 196 Posts
Hi ectrade:
I like too version 4.1 revised on post *525.
You can add to this version, module trading sessions , too module power lots.
Thanks for you help
It always seems impossible until it's done...!!!
 
 
  • Post #838
  • Quote
  • Aug 4, 2011 2:31am Aug 4, 2011 2:31am
  •  ecTrade
  • | Joined Jul 2009 | Status: Member | 1,163 Posts
Okay guys, since the EA in post #525 is the basic EA (although "new" and improved), I think I may start a new thread in the next day or two, and maybe we could talk about some of the ideas in the last few posts? I don't see a point in doing it here though, for I would rather start out fresh.

Thanks.
 
 
  • Post #839
  • Quote
  • Edited 6:15pm Aug 4, 2011 3:51pm | Edited 6:15pm
  •  fuenwood
  • | Joined Jun 2011 | Status: Member | 196 Posts
Hi ecTrade

I have provided the latest version demo account swb grid 4.1 revised 05 E , this version is fautly, because it opens up many operations with losses, account disappears .
It could also be that I´m missing something . ?
In that post is the advanced EA . ?

Thank for you help.
It always seems impossible until it's done...!!!
 
 
  • Post #840
  • Quote
  • Aug 10, 2011 3:22pm Aug 10, 2011 3:22pm
  •  Paladin551
  • | Joined Jun 2008 | Status: Member | 6 Posts
Will you post a link here when the new thread is active? This robot was doing great for me until the Greece panic a few weeks ago, but I had to be away for 3 days and left it on, prolly not a great idea with any robot.
 
 
  • Trading Systems
  • /
  • SWB Martingale EA
  • Reply to Thread
    • 1 4041Page 424344 52
    • 1 41Page 4243 52
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023