• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:40am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:40am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Martingale, Anti-martingale, and Compounding 40 replies

Martingale, Reverse Martingale, Modified Martingale, Maths 1 reply

Martingale Calculation EA (also reverse martingale) 3 replies

How to change this Martingale to Reverse Martingale ? 3 replies

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

  • Trading Journals
  • /
  • Reply to Thread
  • Subscribe
  • 294
Attachments: New Martingale EA (logic like Mathtrader EA)
Exit Attachments
Tags: New Martingale EA (logic like Mathtrader EA)
Cancel

New Martingale EA (logic like Mathtrader EA)

  • Last Post
  •  
  • Page 1 23456 71
  • Page 1 234 71
  •  
  • Post #1
  • Quote
  • First Post: Edited Sep 13, 2023 6:53am Nov 12, 2016 5:05am | Edited Sep 13, 2023 6:53am
  •  edge0xc
  • Joined Jul 2016 | Status: Member | 211 Posts
Hello Guys,

i was a bit disappointed, when Mathtraders EA (http://www.forexfactory.com/showthread.php?t=598198) stopped working, so i tried to program the logic of that EA by myself. So far, i am pretty happy and maybe with your support we can improve/implement new things.

This EA is based on Martingale Strategy so i can happen, that you blow your account. Use with caution!

Cheers
Alex

Small description:
Inputs:

TakeProfit: Takeprofit in €. Closes Order when Profit is reached.

StopLoss: Closes all Orders when the Drawdown is bigger then this value.

Lots: Startlot of this EA.

Grid: Pointsdistance between Orders.

Gridmulti: If set to 1, the distance is always the same. For example = 2: first Gridvalue is 100, third order will be placed after 200 Points.

MartMulti: Same like GridMulti but for Lots.

useSMART: I used a method to squeeze the last points out of every Order. There is no disadvantage, so better use it.

MaxOrders: Number of MartingaleSteps.

EntryLogic:
-Bollinger: Places an Order when price touches the outer Bands
-MA Sells, when fastMA<slowMA and the other way around
-Candle: follows previous Candle
-Spearman: tries to follow the trend with the spearmancorrelation
-CCI/EMA: tries to follow the trend with CCI and EMA

distanceMA: minimum distance between the MAs to Sell/buy

The EA only opens new Orders on new Candles!

Edit: Uploaded a corrected version

Contact: [email protected]
Attached File(s)
File Type: ex4 MartingaleEA.ex4   135 KB | 197 downloads | Uploaded Sep 13, 2023 6:52am
  • Post #2
  • Quote
  • Nov 12, 2016 6:29am Nov 12, 2016 6:29am
  •  kornrogers
  • | Joined Feb 2016 | Status: Member | 179 Posts
Thanks for sharing Will try it...
 
 
  • Post #3
  • Quote
  • Nov 12, 2016 6:33am Nov 12, 2016 6:33am
  •  kofix11
  • | Joined Dec 2011 | Status: Member | 796 Posts
Thanks, will try as well.
Does it matter on what timeframe and currency?
 
 
  • Post #4
  • Quote
  • Nov 12, 2016 7:01am Nov 12, 2016 7:01am
  •  Tobib80
  • Joined Mar 2015 | Status: Respect and trust presuppose the tr | 762 Posts
1
 
  • Post #5
  • Quote
  • Nov 12, 2016 7:40am Nov 12, 2016 7:40am
  •  Strom
  • Joined Jul 2016 | Status: Member | 420 Posts
I'll try on Monday Thank you!!!!!!!
 
 
  • Post #6
  • Quote
  • Nov 12, 2016 8:03am Nov 12, 2016 8:03am
  •  jb747
  • | Joined Nov 2016 | Status: Junior Member | 1 Post
I'm pretty new at this. How do I apply this program? I downloaded it, and Windows asks what to use it with. Thanks for your help!
1
 
  • Post #7
  • Quote
  • Nov 12, 2016 8:22am Nov 12, 2016 8:22am
  •  edge0xc
  • Joined Jul 2016 | Status: Member | 211 Posts
Hey,

i recommend to use it on 1H, but so far, i cannot tell you.

Cheers
 
2
  • Post #8
  • Quote
  • Nov 12, 2016 9:10am Nov 12, 2016 9:10am
  •  DerBerliner
  • | Joined Jan 2011 | Status: Member | 822 Posts
@edge0xc

But are you willing at some moment to share the code to have a look behind the scene for understanding the strategy ?
To understand me right, I'm not a coder (a friend of mine is) ..... but it's always a bit uncertain to use a black box ! Who knows, may be this bot will work pretty good - and more and more people start to use it successfully .... the developer/coder disappears (may happen !), metaquote will post a fu...ng update - the pretty good EA wont work now anymore bcz a littlle only detail dont work anymore with a new MT4 update (that happened already !) ... hmmm ... so all the users of that pretty good EA are sold down the river ! So, no offense my friend .......
 
 
  • Post #9
  • Quote
  • Nov 12, 2016 6:42pm Nov 12, 2016 6:42pm
  •  rogelio11
  • | Joined Sep 2014 | Status: Member | 63 Posts
hopefully get this work on more. so then this ea can be a minimum risk while using it
 
 
  • Post #10
  • Quote
  • Nov 12, 2016 7:33pm Nov 12, 2016 7:33pm
  •  Piphoarder
  • | Joined Sep 2013 | Status: Member | 24 Posts
Quoting edge0xc
Disliked
Hey, i recommend to use it on 1H, but so far, i cannot tell you. Cheers
Ignored
Perfect sir.. thank you!!
Does it have expiration date?
 
 
  • Post #11
  • Quote
  • Nov 12, 2016 11:31pm Nov 12, 2016 11:31pm
  •  bent78
  • | Joined Oct 2012 | Status: Member | 4 Posts
thanks. im gonna try this tom. :-)
 
 
  • Post #12
  • Quote
  • Nov 13, 2016 3:22am Nov 13, 2016 3:22am
  •  edge0xc
  • Joined Jul 2016 | Status: Member | 211 Posts
Quoting DerBerliner
Disliked
@edge0xc But are you willing at some moment to share the code to have a look behind the scene for understanding the strategy ? To understand me right, I'm not a coder (a friend of mine is) ..... but it's always a bit uncertain to use a black box ! Who knows, may be this bot will work pretty good - and more and more people start to use it successfully .... the developer/coder disappears (may happen !), metaquote will post a fu...ng update - the pretty good EA wont work now anymore bcz a littlle only detail dont work anymore with a new MT4 update...
Ignored
Hey,

i can understand you, but i will not share to source atm. The EA still is not very much tested and with your help, i want to make it better. so please report me the bugs/wrong things and i will upload the corrected version.

Regarding the Entry Logic:
Bollinger Bands
MA Cross
Candle

i tried out some new strategies:
Spearmancorrelation
EMA8 Cross with CCI filter

Cheers

Cheers
 
 
  • Post #13
  • Quote
  • Nov 13, 2016 4:59am Nov 13, 2016 4:59am
  •  poweromania
  • | Joined May 2015 | Status: Member | 144 Posts
Quoting edge0xc
Disliked
Hello Guys, i was a bit disappointed, when Mathtraders EA (http://www.forexfactory.com/showthread.php?t=598198) stopped working, so i tried to program the logic of that EA by myself. So far, i am pretty happy and maybe with your support we can improve/implement new things. I will write some more details later, so just try it out (please on demo account). Cheers Alex {file}
Ignored
I don't know if this will help but here is a interesting thread http://www.binaryoptionsedge.com/top...y-a-holygrail/ although is about binary options i think it can also work for forex with this martingale EA..
 
 
  • Post #14
  • Quote
  • Nov 13, 2016 5:11am Nov 13, 2016 5:11am
  •  kofix11
  • | Joined Dec 2011 | Status: Member | 796 Posts
Quoting edge0xc
Disliked
{quote} Hey, i can understand you, but i will not share to source atm. The EA still is not very much tested and with your help, i want to make it better. so please report me the bugs/wrong things and i will upload the corrected version. Regarding the Entry Logic: Bollinger Bands MA Cross Candle i tried out some new strategies: Spearmancorrelation EMA8 Cross with CCI filter Cheers Cheers
Ignored
So far I have tested on many pairs (EMA2, CCI24 filter) is good on 1 and 5 min.
But the testing on "long or short only" failed. It has an error.
 
1
  • Post #15
  • Quote
  • Nov 13, 2016 5:12am Nov 13, 2016 5:12am
  •  NorthStar
  • | Joined Nov 2014 | Status: Member | 29 Posts
Hello, thanks for sharing your ea.
I tested in my mt4 tester and it opened only two martingale step on sell orders, like 0,02 and 0,02 lots size and no more steps even if market have rise 500 pips above the last sell order.
The buy orders works good 0,02 , 0,02 , 0,03 , 0,05 and 0,07 lots size.
Have you get the same problem?
 
 
  • Post #16
  • Quote
  • Nov 13, 2016 5:23am Nov 13, 2016 5:23am
  •  NorthStar
  • | Joined Nov 2014 | Status: Member | 29 Posts
I think you are in good way of this ea. but it most trade buy and sell at same time. Independent of each other.
If a sell order is opened it should trade buy order at same time, if it have right maket timing.
 
 
  • Post #17
  • Quote
  • Nov 13, 2016 10:51am Nov 13, 2016 10:51am
  •  tillionaire
  • | Joined Jul 2016 | Status: Member | 332 Posts
Quoting jb747
Disliked
I'm pretty new at this. How do I apply this program? I downloaded it, and Windows asks what to use it with. Thanks for your help!
Ignored
You can't open it as it's a MT4 program!

Place it in your "MetaTrader 4\MQL4\Experts" that you can open from File in MT4 then click Open Date Folder.
Then refresh your Navigator, go to experts and drag it to your chart and it will work!

Welcome
 
 
  • Post #18
  • Quote
  • Nov 13, 2016 10:52am Nov 13, 2016 10:52am
  •  tillionaire
  • | Joined Jul 2016 | Status: Member | 332 Posts
Quoting edge0xc
Disliked
Hello Guys, i was a bit disappointed, when Mathtraders EA (http://www.forexfactory.com/showthread.php?t=598198) stopped working, so i tried to program the logic of that EA by myself. So far, i am pretty happy and maybe with your support we can improve/implement new things. I will write some more details later, so just try it out (please on demo account). Cheers Alex {file}
Ignored
Nice, what strategy is it based on?
 
 
  • Post #19
  • Quote
  • Nov 13, 2016 12:33pm Nov 13, 2016 12:33pm
  •  edge0xc
  • Joined Jul 2016 | Status: Member | 211 Posts
Quoting kofix11
Disliked
{quote} So far I have tested on many pairs (EMA2, CCI24 filter) is good on 1 and 5 min. But the testing on "long or short only" failed. It has an error.
Ignored
i will upload a new version, where you set the EA to only BUY or SELL.
 
 
  • Post #20
  • Quote
  • Nov 13, 2016 12:34pm Nov 13, 2016 12:34pm
  •  edge0xc
  • Joined Jul 2016 | Status: Member | 211 Posts
Quoting tillionaire
Disliked
{quote} Nice, what strategy is it based on?
Ignored
please read the thread from mathtrader, it is very similar
 
 
  • Trading Journals
  • /
  • New Martingale EA (logic like Mathtrader EA)
  • Reply to Thread
    • Page 1 23456 71
    • Page 1 234 71
0 traders viewing now
  • More
Top of Page
  • Facebook
  • X
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
  • X

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

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

Terms of Service / ©2023