• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:09am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:09am
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

  • Rookie Talk
  • /
  • Reply to Thread
  • Subscribe
  • 129
Attachments: Success with Martingale & Hedge - Possible?
Exit Attachments
Tags: Success with Martingale & Hedge - Possible?
Cancel

Success with Martingale & Hedge - Possible?

  • Last Post
  •  
  • 1 1415Page 161718 31
  • 1 15Page 1617 31
  •  
  • Post #301
  • Quote
  • Nov 7, 2018 8:51am Nov 7, 2018 8:51am
  •  quincyq2003
  • | Joined Nov 2018 | Status: Junior Member | 2 Posts
Quoting KashifNawaz
Disliked
{quote} Thanks friend for your comments, will wait for your feedback after testing this. {quote} Hi Friend, Please share details like what is your broker? what is your account leverage? what error you receive in journal or expert tabs.
Ignored
Hi KashifNawaz

Attach file is my tester environment


Could you help to check it, why my tester can't trader?
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 29 KB
Click to Enlarge

Name: Screenshot2.png
Size: 53 KB
Click to Enlarge

Name: Screenshot3.png
Size: 42 KB
 
 
  • Post #302
  • Quote
  • Nov 7, 2018 10:32am Nov 7, 2018 10:32am
  •  D-TickTrader
  • | Joined Dec 2009 | Status: Member | 28 Posts
Thank You very much I will try
 
 
  • Post #303
  • Quote
  • Nov 7, 2018 4:14pm Nov 7, 2018 4:14pm
  •  jebatgila
  • | Joined Dec 2015 | Status: Junior Member | 1 Post
Quoting quincyq2003
Disliked
{quote} Hi KashifNawaz Attach file is my tester environment Could you help to check it, why my tester can't trader? {image} {image} {image}
Ignored
Your spread for MT4(1st pic) is bigger than the input spread in the setting file(2nd pic).
 
1
  • Post #304
  • Quote
  • Nov 8, 2018 1:18am Nov 8, 2018 1:18am
  •  KashifNawaz
  • Joined Oct 2016 | Status: Member | 568 Posts
Quoting quincyq2003
Disliked
{quote} Hi KashifNawaz Attach file is my tester environment Could you help to check it, why my tester can't trader? {image} {image} {image}
Ignored
As jebatgila mentioned, you are using high spread compare to setting. Use 10 or 15 in tester and you will get results.
Grid / Martingale / Hedge Lover
 
 
  • Post #305
  • Quote
  • Nov 11, 2018 5:30pm Nov 11, 2018 5:30pm
  •  don_forex
  • | Joined Sep 2005 | Status: Member | 25 Posts
I got a little fix for you. I see you didn't take swap and commission into consideration when considering profit level...

double NB(int m)
{
double tb=0;
for(int i=0;i<OrdersTotal();i++)
{
double nb=0;
if(OrderSelect(i,SELECT_BY_POS)==true)
{
if(OrderType()==OP_BUY && OrderMagicNumber()==m && OrderSymbol()==Symbol())
{
nb=OrderProfit()+OrderCommission()+OrderSwap();
tb=nb+tb;
}
}
}
return tb;
}
////////////////////////////////////////
double NS(int m)
{
double ts1=0;
for(int i=0;i<OrdersTotal();i++)
{
double ns=0;
if(OrderSelect(i,SELECT_BY_POS)==true)
{
if(OrderType()==OP_SELL && OrderMagicNumber()==m && OrderSymbol()==Symbol())
{
ns=OrderProfit()+OrderCommission()+OrderSwap();
ts1=ns+ts1;
}
}
}
return ts1;
}
////////////////////////////////////////
 
1
  • Post #306
  • Quote
  • Nov 11, 2018 8:32pm Nov 11, 2018 8:32pm
  •  Ezios
  • | Joined Jul 2016 | Status: Member | 586 Posts
good idea
Attached File(s)
File Type: mq4 GoWithFlow_profit.mq4   25 KB | 539 downloads
 
2
  • Post #307
  • Quote
  • Nov 11, 2018 8:51pm Nov 11, 2018 8:51pm
  •  don_forex
  • | Joined Sep 2005 | Status: Member | 25 Posts
I added in one little fix that I think makes it a little more responsive... the original only has...

Inserted Code
      if(nbuy(mag1)==0 && nsell(mag1)==0)
        {
         BUY(lot,mag1,0);
         SELL(lot,mag1,0);
        }

I like it better by getting right back into the position when a series closes out...

Inserted Code
      if(nbuy(mag1)==0 && nsell(mag1)>0)
        {
         BUY(lot,mag1,0);
         //SELL(lot,mag1,0);
        }
      if(nbuy(mag1)>0 && nsell(mag1)==0)
        {
         //BUY(lot,mag1,0);
         SELL(lot,mag1,0);
        }
      if(nbuy(mag1)==0 && nsell(mag1)==0)
        {
         BUY(lot,mag1,0);
         SELL(lot,mag1,0);
        }
 
1
  • Post #308
  • Quote
  • Nov 12, 2018 12:22am Nov 12, 2018 12:22am
  •  Ezios
  • | Joined Jul 2016 | Status: Member | 586 Posts
Quoting don_forex
Disliked
I added in one little fix that I think makes it a little more responsive... the original only has... if(nbuy(mag1)==0 && nsell(mag1)==0) { BUY(lot,mag1,0); SELL(lot,mag1,0); } I like it better by getting right back into the position when a series closes out... if(nbuy(mag1)==0 && nsell(mag1)>0) { BUY(lot,mag1,0); //SELL(lot,mag1,0); } if(nbuy(mag1)>0 && nsell(mag1)==0) { //BUY(lot,mag1,0); SELL(lot,mag1,0); } if(nbuy(mag1)==0 && nsell(mag1)==0) { BUY(lot,mag1,0); SELL(lot,mag1,0); }
Ignored
did not study the code but it seems that you want an edged buy & sell everytime the ea restart the cycle...
will update the file...we will see the results...
 
1
  • Post #309
  • Quote
  • Edited 6:34pm Nov 12, 2018 10:19am | Edited 6:34pm
  •  Iry
  • | Joined Apr 2018 | Status: Member | 11 Posts
Hi all.

https://www.forexfactory.com/iry#acct.94

Live account @ InstaForex , 5 digits account.
Don't know why the balance is showing wrongly, current balance USD390.
Attached File(s)
File Type: txt GoWithFlow_EURUSD_20180812.set.txt   1 KB | 265 downloads
 
 
  • Post #310
  • Quote
  • Nov 12, 2018 6:38pm Nov 12, 2018 6:38pm
  •  Ezios
  • | Joined Jul 2016 | Status: Member | 586 Posts
here is new mod:
Attached File(s)
File Type: mq4 GoWithFlow_profit_edge.mq4   26 KB | 670 downloads
 
3
  • Post #311
  • Quote
  • Nov 15, 2018 6:13am Nov 15, 2018 6:13am
  •  KashifNawaz
  • Joined Oct 2016 | Status: Member | 568 Posts
Thanks Don and Ezios for your modifications.

Quoting Iry
Disliked
Hi all. https://www.forexfactory.com/iry#acct.94 Live account @ InstaForex , 5 digits account. Don't know why the balance is showing wrongly, current balance USD390. {file}
Ignored
I hope you had already figured this out..
Grid / Martingale / Hedge Lover
 
 
  • Post #312
  • Quote
  • Nov 15, 2018 6:15am Nov 15, 2018 6:15am
  •  KashifNawaz
  • Joined Oct 2016 | Status: Member | 568 Posts
I believe 6 months demo testing is enough to reveal the bugs and loop holes of this version. I have stopped my demo VPS account because needed the slot for testing of some other EA.
Grid / Martingale / Hedge Lover
 
 
  • Post #313
  • Quote
  • Nov 15, 2018 5:58pm Nov 15, 2018 5:58pm
  •  don_forex
  • | Joined Sep 2005 | Status: Member | 25 Posts
I have one more little mod that I like to use when dealing with multiple orders. Instead of having a static TakeProfit, I use a TP * the number of orders that is being considered for closing, making the TakeProfit dynamic. That way, one or two orders doesn't take forever to reach the profit level. And that too many orders closing at the same time does not close too early causing losses.

Inserted Code
   if(nsell(mag1)>0 && (NS(mag1)+NB(mag2)>=tp*(nsell(mag1)+nbuy(mag2)) || ((NS(mag1)+NB(mag2))/(LS(mag1)+LB(mag2)))*Point>=tpp*point))
     {
      CloseSell(mag1);
      if(nbuy(mag2)>0)
         CloseBuy(mag2);
     }
   if(nbuy(mag1)>0 && (NB(mag1)+NS(mag2)>=tp*(nsell(mag2)+nbuy(mag1)) || ((NB(mag1)+NS(mag2))/(LB(mag1)+LS(mag2)))*Point>=tpp*point))
     {
      CloseBuy(mag1);
      if(nsell(mag2)>0)
         CloseSell(mag2);
     }
 
2
  • Post #314
  • Quote
  • Nov 16, 2018 1:53am Nov 16, 2018 1:53am
  •  Sedgley
  • | Joined Sep 2018 | Status: Member | 4 Posts
Hi,
Regarding the question of whether martingale is possible, I want to share my own experience.......
Over the last few years, being new and completely stupid i would test strategies for a day or two then i would put money into my fx account, win for a day and then lose it all. I soon learned not to double a winning trade because it only had to go back half as far to wipe it all out, that's what inspired me to test a system that started really small and doubled it when losing........i didn't know this was called a martingale system. I tested it with a £400 demo account and got it to £1200 in 3 months. So me and a friend put £200 in each. I got it to £600 in 6 weeks (during which time realized if i hedged it made the account grow quicker. A family member invested £300 which i put into the account (£900), i then got it to £1380 within a month (10 weeks £700 into £1380). At this point the EU brought in 1:30 maximum leverage for retail traders, i emptied the account and paid the friend £460. I tried using a demo account from a broker outside the EU on MT4, but didn't like the platform. At the same time i set up a demo on 1:30. I started with £1000 on 1st august 18, it is now worth £2300. I started live again on 18th October with £900, that is now worth £1270. I also started a £30,000 demo account (thinking i might sell my business and become a full time trader) which i start on 0.03 (instead of 0.01 when i have £1000 in the account) so the risk is less (you get 3 more doubling opportunities). From 3rd October that account is on £38300 (£8300 in 5 weeks is more than i earn now. The 1:30 leverage actually helps me i think and it will stop me from blasting the full account. i haven't lost a trade in about 500, i know one is coming at some point; i anticipate losing 30% of my account when i do, but if i can double it a couple of times before that i will still be in good profit.

I don't know how to use EAs so all my trades are manual. If i was strict as to when i doubled up i can see that being a recipe for disaster. If i have a trade open which is -50pips and there is a GDP announcement out, i leave it. If its positive, it works in my favor, if its negative and it drops another 100 pips, i double it and i've skipped 75pips. If your lazy, instead of getting an EA to do it, why don't you just go on for 30 mins in the evening, double anything that is over a certain level
 
1
  • Post #315
  • Quote
  • Nov 16, 2018 9:19am Nov 16, 2018 9:19am
  •  KashifNawaz
  • Joined Oct 2016 | Status: Member | 568 Posts
Quoting Sedgley
Disliked
Hi, Regarding the question of whether martingale is possible, I want to share my own experience....... Over the last few years, being new and completely stupid i would test strategies for a day or two then i would put money into my fx account, win for a day and then lose it all. I soon learned not to double a winning trade because it only had to go back half as far to wipe it all out, that's what inspired me to test a system that started really small and doubled it when losing........i didn't know this was called a martingale system. I tested it...
Ignored

Welcome to FF. Thanks for sharing your experience. So bottom line is, your experience with martingale is great so far.

Do you want to share your method in bit detail? Like you use pending orders? any particular grid size? Always open trade when losing trade is -50 pips only? do you double your trade or some lower multiplier like 1.3? and when you close your hedge? at loss or trailing?
Maybe due to manual trades, you didn't stuck in big trend of 500+ pips.

We all here want EA because we are lazy and want to eliminate human feelings from trading. with manual martingale, one will always be confuse when to increase losing trade and how much and when to take losses.
Grid / Martingale / Hedge Lover
 
 
  • Post #316
  • Quote
  • Nov 16, 2018 11:24am Nov 16, 2018 11:24am
  •  Sedgley
  • | Joined Sep 2018 | Status: Member | 4 Posts
Thanks Kashif,

I don't really want to give too much away because its taken me much time and a bit of stress! Basically every trade has TP 50pips, double it at -100. Hedges close when they hit TP. I don't use SLs unless I've maxed out the margin. I have had more than 500 pips go against me and still got profit - at the moment i've got GBPCAD at -80 pips @ 0.08 (-£39) despite it dropping against me by 433 pips on Wednesday.
My broker groups doubled trades together, so even though say 2 of 5 trades have paid it shows as 1 winning trade......i have lost 12 out of 519 trades over 3 demo accounts and a 4 out of 200 on a live account - most of them were to free up margin and a couple were due to slippage on big trades when i set the TP at £0. Obviously confidence comes before a fall so i'm not too cocky about it, but it has worked for me so far. There doesn't need to be much emotion involved, sometimes i have to take the dog on a long walk when a big trade is going against me, or when a big trade is just getting back into profit so i don't kill it too soon
 
 
  • Post #317
  • Quote
  • Nov 16, 2018 1:30pm Nov 16, 2018 1:30pm
  •  Merka
  • Joined Jan 2016 | Status: Member | 1,758 Posts
Quoting Sedgley
Disliked
Thanks Kashif, I don't really want to give too much away because its taken me much time and a bit of stress! Basically every trade has TP 50pips, double it at -100. Hedges close when they hit TP. I don't use SLs unless I've maxed out the margin. I have had more than 500 pips go against me and still got profit - at the moment i've got GBPCAD at -80 pips @ 0.08 (-£39) despite it dropping against me by 433 pips on Wednesday. My broker groups doubled trades together, so even though say 2 of 5 trades have paid it shows as 1 winning trade......i have...
Ignored
Well done and my compliments about your success.
How do you resisted 500 pips against you?
Last week I lost 300£ on NZDCHF because price went against me by 200 pips. The draw down was increasing too much for my account and closed all the grid in loss.

You mainly double the trade size instead of taking a loss. Correct?
What about if the price goes against you by 1000 pips?
Probably you will blow the account. Correct?
 
 
  • Post #318
  • Quote
  • Nov 16, 2018 1:49pm Nov 16, 2018 1:49pm
  •  Ezios
  • | Joined Jul 2016 | Status: Member | 586 Posts
Quoting don_forex
Disliked
I have one more little mod that I like to use when dealing with multiple orders. Instead of having a static TakeProfit, I use a TP * the number of orders that is being considered for closing, making the TakeProfit dynamic. That way, one or two orders doesn't take forever to reach the profit level. And that too many orders closing at the same time does not close too early causing losses. if(nsell(mag1)>0 && (NS(mag1)+NB(mag2)>=tp*(nsell(mag1)+nbuy(mag2)) || ((NS(mag1)+NB(mag2))/(LS(mag1)+LB(mag2)))*Point>=tpp*point)) { CloseSell(mag1); if(nbuy(mag2)>0)...
Ignored
I applied this mode too:
Attached File(s)
File Type: mq4 GoWithFlow_profit_edge_MOD1.mq4   27 KB | 773 downloads
 
2
  • Post #319
  • Quote
  • Nov 16, 2018 2:37pm Nov 16, 2018 2:37pm
  •  Sedgley
  • | Joined Sep 2018 | Status: Member | 4 Posts
Quoting Merka
Disliked
{quote} Well done and my compliments about your success. How do you resisted 500 pips against you? Last week I lost 300£ on NZDCHF because price went against me by 200 pips. The draw down was increasing too much for my account and closed all the grid in loss. You mainly double the trade size instead of taking a loss. Correct? What about if the price goes against you by 1000 pips? Probably you will blow the account. Correct?
Ignored
Yes i always double, never accept a loss

Fortunately i havent had a trade go 1000 pips against me, but if it did it would depend when. Lets use EURGBP as an example (because its easy maths) 0.01 = 10p per pip. If it went down by 1000 instantly, hopefully i would have a hedging trade open and the slippage would pay me £100, then i could double it 3 times, so would be down 125 pips, hopefully a retrace would occur and it would TP at 50pips = £40 profit. If it went down gradually then it becomes a problem because it consolidates occasionally and you think this is the time to double it. If i had a losing trade already open at anything more than 0.04, i would be in big trouble with an instant drop.
In mid april GBPUSD went down gradually by 800 ish, fortunately i was on a demo account at this time with a 1:500 leverage, i doubled it 3 times at the right time and made £120 (pretend money) but i often look back at this and try to work out a way i could deal with this in a live account with 1:30.......i havent really come up with a solution other than to be lucky (there was an 88 pip rise on 26th after it had dropped 468)or, like i said, lose 30% of the account.

Just for credibility i've attached a screenshot from my live account....................the £28.95 loss was on 26th june - buy GBPCAD was in profit 22pips, CAD GDP was due out, i set a stop loss at 7 and slippage = 28 pip loss, lesson learned on that one. The £9.04 loss was due to a stray finger on the mobile app, i closed the trade by accident!!
Attached Image (click to enlarge)
Click to Enlarge

Name: stats1.jpg
Size: 274 KB
 
2
  • Post #320
  • Quote
  • Nov 16, 2018 3:43pm Nov 16, 2018 3:43pm
  •  Merka
  • Joined Jan 2016 | Status: Member | 1,758 Posts
Quoting Sedgley
Disliked
{quote} Yes i always double, never accept a loss Fortunately i havent had a trade go 1000 pips against me, but if it did it would depend when. Lets use EURGBP as an example (because its easy maths) 0.01 = 10p per pip. If it went down by 1000 instantly, hopefully i would have a hedging trade open and the slippage would pay me £100, then i could double it 3 times, so would be down 125 pips, hopefully a retrace would occur and it would TP at 50pips = £40 profit. If it went down gradually then it becomes a problem because it consolidates occasionally...
Ignored
Thanks
Your strategy is very very risky but is working for you so it's all good.

Thanks again
 
1
  • Rookie Talk
  • /
  • Success with Martingale & Hedge - Possible?
  • Reply to Thread
    • 1 1415Page 161718 31
    • 1 15Page 1617 31
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