• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 8:07pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 8:07pm
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

How to change this Martingale to Reverse Martingale ? 3 replies

Trapping System: Way to Fully-Automated Trading System 47 replies

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

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 221
Attachments: Trapping System: Tunnel Martingale
Exit Attachments
Tags: Trapping System: Tunnel Martingale
Cancel

Trapping System: Tunnel Martingale

  • Last Post
  •  
  • 1 67Page 8910 24
  • 1 7Page 89 24
  •  
  • Post #141
  • Quote
  • Feb 17, 2015 10:39am Feb 17, 2015 10:39am
  •  atena
  • | Joined Feb 2015 | Status: Junior Member | 1 Post
i read all the article and i found your idea about 1,2,2,2,2 fantastic for the reason of no danger for your money.
but to my demo mt4 account start with buy order and not open sell order (invalid error).
maybe my settings is wrong,can you give me your settings.

radityo many thanks for your work!



txt01=————————————————————— [COMMON]
StartType=1
ProfitLineColor=55295
TextColor=55295
UpperGapPriceColor=13382297
LowerGapPriceColor=36095
TextSize=8
MagicNumber=8080
LineStyle=0
LineWidth=1
LineHeight=13
DailyStartTime=10:00:00
DailyStopTime=00:00:00
txt05=————————————————————— [SLIPPAGE]
UseSlippage=false
Slip=50
txt02=————————————————————— [LOT(S)]
StartAmountType=1
StartDynamicAmount=0.000002
StartFixedAmount=0.01
txt03=————————————————————— [MARTINGALE]
MartingaleFactor=1,2
MaxMartingaleFactor=100
FactorMultiplier=1.0
MartingaleGap=10
MaxMartingaleCycle=0
txt04=————————————————————— [TARGET]
TargetType=0
TrailingTargetType=0
ProfitTarget=0.1
TrailingTarget=0.2
UseProfitLoss=false
ProfitLoss=-9999999.0
ProfitTargetMultiplier=0.0001
ProfitLossMultiplier=0.0001
PointsTargetType=0
PointsTarget=20
PointsLoss=100
PointsTargetColor=32768
PointsLossColor=16711935
txt06=————————————————————— [START ANYTIME]
StartFrom=0
StartNextFrom=1
DateTimeType=0
txt07=————————————————————— [START SUPPORT & RESISTANCE]
PivotColor=8388736
SNR1Color=65535
SupResRecTime=09:00
txt08=————————————————————— [START DAILY HIGH LOW]
HighLowColor=13959039
DailyHighLowRecTime=14:00
txt09=————————————————————— [START SUPP & RES and DAILY HIGH LOW]
OrderDirection=0
txt99=————————————————————— [DEBUG]
IsDebug=false
IsDevelopment=false
 
 
  • Post #142
  • Quote
  • Feb 17, 2015 11:32am Feb 17, 2015 11:32am
  •  Nico1359
  • Joined Jul 2014 | Status: Member | 217 Posts
Can "Max Martingale Factor" also be thought of as max trades opened at any time? In other words if I want to cap the trading at 1.28 lots, would that mean a Max Martingale Factor of 8?

Thanks.
 
 
  • Post #143
  • Quote
  • Feb 17, 2015 9:39pm Feb 17, 2015 9:39pm
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
Quoting atena
Disliked
i read all the article and i found your idea about 1,2,2,2,2 fantastic for the reason of no danger for your money. but to my demo mt4 account start with buy order and not open sell order (invalid error). maybe my settings is wrong,can you give me your settings. radityo many thanks for your work! txt01= [COMMON] StartType=1 ProfitLineColor=55295 TextColor=55295 UpperGapPriceColor=13382297 LowerGapPriceColor=36095 TextSize=8 MagicNumber=8080 LineStyle=0 LineWidth=1 LineHeight=13 DailyStartTime=10:00:00 DailyStopTime=00:00:00 txt05= [SLIPPAGE] UseSlippage=false...
Ignored
It can be done in this series as well,
1, 2, 3, 4,5,6, the moment you want to minimize the risk, you can continue with the same last number, 6, 6, 6, 6, 6, .....
So it'll form 1, 2,3, 4, 5, 6, 6, 6, 6, 6.... in general, this is the other way.

Seems that the error because of your gap is too small. Buy created but sell stop not created, most of the time is because of gap is too low.
Check your chart's prices, how many digits for the current pair's price. Mine in this X.XXXXX (5 digits), so if I would want a gap 10 pips, then I have to set MartingaleGap to 100. Different story for 4 digit, they have to keep set it as 10.

This is not a bug, as I calculated based on the points, not pips.

Quoting Nico1359
Disliked
Can "Max Martingale Factor" also be thought of as max trades opened at any time? In other words if I want to cap the trading at 1.28 lots, would that mean a Max Martingale Factor of 8? Thanks.
Ignored
Max Martingale Factor is the max trades opened in 1 cycle itself. It was there since v1.03.
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #144
  • Quote
  • Feb 17, 2015 9:55pm Feb 17, 2015 9:55pm
  •  making_money
  • | Joined Jan 2008 | Status: Member | 13 Posts
hi radityo, it's nice to know that someone else also have the same idea of trading like me. skip that for now, i want to ask you how to set the EA to run on more than 1 pair in 1 metatrader. you said that by changing the magic number, can you give me example on it? sorry i'm not very familiar with setting an EA

second, is that possible for you to make 1 more additional parameter, that is SL for the 1st position? here is my thought, I know that the EA will make a pending order for the next position, but what if the trade is against the direction and the order failed to open due to price gap. eq: i use 60 point gap (5 digit broker), but then the price jump 100 point and continue, which make the next position order fail to open. If the EA can add a parameter where I can limit my loss for it, then it will be great. oh, I use fixed money setting.

sorry for my confusing english
 
 
  • Post #145
  • Quote
  • Feb 18, 2015 1:25am Feb 18, 2015 1:25am
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
Quoting making_money
Disliked
hi radityo, it's nice to know that someone else also have the same idea of trading like me. skip that for now, i want to ask you how to set the EA to run on more than 1 pair in 1 metatrader. you said that by changing the magic number, can you give me example on it? sorry i'm not very familiar with setting an EA second, is that possible for you to make 1 more additional parameter, that is SL for the 1st position? here is my thought, I know that the EA will make a pending order for the next position, but what if the trade is against the direction...
Ignored
Hi bro.. it is already there, if you set to fixed TP and SL.

btw magic number is ID that we cannot see, only EA can see. This ID is to segregate orders between each EA and/or your own order. So in 1 account, actually you can run multiple EAs, and do manual trade without disrupting each other. Now the problem is if one EA didn't use any magic number, then it will messed up any orders in it.

Here's how: you open 2 charts (either same pair or different), attach the EA to both, but with different Magic Number.

Attached Image

So if you see the picture above, you can set:
Target Type = Fixed Points
Points Target Type = Fixed points for both SL and TP
Points Target = this is the target in points (TP)
Points Stop Loss = this is the stop loss in points (SL)

If you use Fixed Points, the assumption is that it will be calculcated from the very first order.
Please do test this on demo first and make sure it works as expected.
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #146
  • Quote
  • Feb 18, 2015 1:51am Feb 18, 2015 1:51am
  •  SuperPip
  • Joined Nov 2014 | Status: Member | 275 Posts
Hi guys!

I don't understand how can work out the
row 1,2,2,2,2,2...
I know classical martingale 1,2,4..
but are you increasing tp here?
Can you explain that?

rgds,
SP
 
 
  • Post #147
  • Quote
  • Feb 18, 2015 2:13am Feb 18, 2015 2:13am
  •  making_money
  • | Joined Jan 2008 | Status: Member | 13 Posts
thanks for your fast reply bro, but if i use fix money setting, then it mean i cant use TP or SL? what i mean is that i can use TP and SL also for fix money setting

and for magic number, it can be any number right? as long as it is different?
 
 
  • Post #148
  • Quote
  • Feb 18, 2015 3:01am Feb 18, 2015 3:01am
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
Quoting making_money
Disliked
thanks for your fast reply bro, but if i use fix money setting, then it mean i cant use TP or SL? what i mean is that i can use TP and SL also for fix money setting and for magic number, it can be any number right? as long as it is different?
Ignored
Because you are planning to set money-based target, therefore the settings for points will never be used.
Otherwise, if you use fixed points, then the money based target settings will never be used.

Quoting SuperPip
Disliked
Hi guys! I don't understand how can work out the row 1,2,2,2,2,2... I know classical martingale 1,2,4.. but are you increasing tp here? Can you explain that? rgds, SP
Ignored
How can it work?
See simple things here, if you got lost of your money, you have to double your stake on the next bet, so you'll recover the previous lost, and you still get the profit of the first bet.
See the underlined words above, technically (even though your open orders are minus), your are NOT suffering any lost.

Just imagine this scenario:
1. BUY 1 LOT at 1.5000 and SELL STOP 2 LOT at 1.4950
2. If somehow the price goes down and 1.4950 touched, then your SELL STOP 2 LOT at 1.4950 is activated. EA will do BUY STOP 2 LOT at 1.5000.
3. Now if the price goes down, say 1.4800, your total BUY volume is 1 Lot, and total SELL volume is 2 Lots, you'll get profit in this case. 2 - 1 = 1 lots better when the price goes down, while the other 2 Lots is making neutral profit.
4. If somehow the price breaks 1.5000 and moves up say 1.5100, your total BUY volume is 3 Lots and total SELL volume is 2 Lots. You'll get profit in this case as well. 3 - 2 = 1 lots better when the price goes up, while the other 4 Lots is making neutral profit.

The only problem with this approach is, the target price to make a profit will go further if there are too many martingales executed. But practically you'll get profit anyway, no doubt.
Another way, is to increase the series by 1. Ex.: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16....
So wherever the price goes, you'll get profit anyway, but in the same time, it will minimize the risk you have.
Rather than having numbers like 1, 2, 4, 8, 16, 32, 64, 128, you'll end up in blowing your account during non-volatile times.

You can "slow down" the martingale anyway, but it will increase your target length such as:
1, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 7, 8, 9..

This is only the technical part and calculation. Basically, I've never done any settings as above (except for 1, 2, 2, 2, 2, 2 which I am testing now).
As I said, you can do simulation with my excel file on my previous post.
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #149
  • Quote
  • Feb 18, 2015 3:34am Feb 18, 2015 3:34am
  •  KanGKunG
  • Joined Apr 2014 | Status: Member | 36 Posts
you have done a real gud job here radityo.
 
 
  • Post #150
  • Quote
  • Feb 18, 2015 4:01am Feb 18, 2015 4:01am
  •  making_money
  • | Joined Jan 2008 | Status: Member | 13 Posts
hi, yes i get what you mean from the beginning. what i ask you is, is that possible for you to add also TP and SL setting in fix money setting?

and i also notice that in fix money setting, there is "max loss" option. is there based on first position only or it is based on all position current P/L?

thanks
 
 
  • Post #151
  • Quote
  • Feb 18, 2015 4:05am Feb 18, 2015 4:05am
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
Quoting making_money
Disliked
hi, yes i get what you mean from the beginning. what i ask you is, is that possible for you to add also TP and SL setting in fix money setting? and i also notice that in fix money setting, there is "max loss" option. is there based on first position only or it is based on all position current P/L? thanks
Ignored
It was there, no?
Max Loss is the SL for both Dynamic Money and Fixed Money target.

Quoting KanGKunG
Disliked
you have done a real gud job here radityo.
Ignored
Ya, man. Just need to proof it actually. I had started new EA for that case only.
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #152
  • Quote
  • Feb 18, 2015 5:31am Feb 18, 2015 5:31am
  •  SuperPip
  • Joined Nov 2014 | Status: Member | 275 Posts
Thank you for your answer!

Quoting radityo.ardi
Disliked
{quote} 1. BUY 1 LOT at 1.5000 and SELL STOP 2 LOT at 1.4950 2. If somehow the price goes down and 1.4950 touched, then your SELL STOP 2 LOT at 1.4950 is activated. EA will do BUY STOP 2 LOT at 1.5000. 3. Now if the price goes down, say 1.4800, your total BUY volume is 1 Lot, and total SELL volume is 2 Lots, you'll get profit in this case. 2 - 1 = 1 lots better when the price goes down, while the other 2 Lots is making neutral profit. 4. If soI've never done any settings as above (except for 1, 2, 2, 2, 2, 2 which I am testing now). As I said, you...
Ignored
Short example:

1. Sell 1 Lot at 1.500
2. Price goes up - Buy 2 Lots at 1.600
3. Price goes down - Sell 2 Lots at 1.500
4. Price goes up - Buy 2 Lots at 1.600
5. Price goes down - Sell at 1.500
6. Price goes up - Buy 2 Lots at 1.600
7. Price goes down - Sell 2 Lots at 1.500
8. Price goes up - Buy 2 Lots at 1.600
9. Price goes down - Sell 2 Lots at 1.500

Price goes more down to 1.400

Now you have 5 short positions from 1.500 with 9 lots and 4 long positions from 1.600 with 8 lots.
Your balance will be negative 8 x -0.200 + 9 x 0.100 = - 1.6 + 0.9 = -0.5
How you are generating a profit from here?

SP
 
 
  • Post #153
  • Quote
  • Edited 9:30am Feb 18, 2015 6:18am | Edited 9:30am
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
Quoting SuperPip
Disliked
Thank you for your answer! {quote} Short example: 1. Sell 1 Lot at 1.500 2. Price goes up - Buy 2 Lots at 1.600 3. Price goes down - Sell 2 Lots at 1.500 4. Price goes up - Buy 2 Lots at 1.600 5. Price goes down - Sell at 1.500 6. Price goes up - Buy 2 Lots at 1.600 7. Price goes down - Sell 2 Lots at 1.500 8. Price goes up - Buy 2 Lots at 1.600 9. Price goes down - Sell 2 Lots at 1.500 Price goes more down to 1.400 Now you have 5 short positions from 1.500 with 9 lots and 4 long positions from 1.600 with 8 lots. Your balance will be negative 8...
Ignored
Don't expect 1.400 you'll get profit. I never said that. Everytime 2 series executed, that means the target has moved further, which is additional (2 x gaps) + (2 x spread size) in order to get total profit to $0. So you'll need to wait for sometime to get profit, because the target moved further. It doesn't mean that if 1.400 you'll get profit in any conditions.
Based on my calculcation, with that positions, your gap is 10000 points, you'll get $0 profit at 0.69973. Yes.... too far away to get only $0 profit...
Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot2.png
Size: 50 KB


But just imagine you have only 3 orders
SELL 1 Lot at 1.500, BUY 2 lots 1.600, SELL 2 Lots at 1.500, you'll get $0 at 1.29991. If it goes down, of course you'll get profit.
Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 45 KB


So, I never said there's no risk to get that "always" profit thing. Both are profitable, but we need to manage our money, am I right?

The good thing for this series is just that less risk than 1, 2, 4 series. The bad is, everytime the martingale price gap range touched (which will activate you another pending orders), the $0 profit price will move further.

Of course 1, 2, 4 there's a good thing as well, it will be closed anyway not far from the same price range as where the martingale starts, not too far. But the bad is, you have to manage big balance and of course your broker should allow big lots as well.


Martingale with 1, 2, 4 is a quite great idea, but I think the implementation is wrong in the first place. Shouldn't be applied in the lot size first of all, but in the Profit ($).
If we apply it on the lot size, yes practically we are profit anyway, but to reach the profit is quite painful if the market is sideways.




...........

I think with my own statement, I GOT AN IDEA FOR ANOTHER EA!!!!
Thanks maaan... my explanation to you popping out an idea for me....


I need to re-visit my HEAD-TAIL EA strategy....
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #154
  • Quote
  • Feb 18, 2015 9:20am Feb 18, 2015 9:20am
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
I managed to check another series, which is
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11..........

High price: 1.14271
Low price: 1.14241
Bid: 1.13710
Ask: 1.13713

Attached Image

Profit: $99

Attached Image

Profit: $257

The more martingale index reached, the more the profit with the same current Bid and Ask price.
At the same time it produces the same effect as 1, 2, 4, 8, 16, 32, 64....
but with less risk.

Let us try....
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #155
  • Quote
  • Feb 18, 2015 9:53am Feb 18, 2015 9:53am
  •  RHoudini
  • | Joined Oct 2013 | Status: Member | 29 Posts
Martingale goes well until it goes wrong.
Simple backtesting of this kind of system shows that it will inevitably crash at some point, wiping out your whole account. Believe me, I've tested many...
If you think that the market has a maximum of 9 Martingale steps in your "tunnel", you're in for a big surprise.
 
 
  • Post #156
  • Quote
  • Feb 18, 2015 10:09am Feb 18, 2015 10:09am
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
Quoting RHoudini
Disliked
Martingale goes well until it goes wrong. Simple backtesting of this kind of system shows that it will inevitably crash at some point, wiping out your whole account. Believe me, I've tested many... If you think that the market has a maximum of 9 Martingale steps in your "tunnel", you're in for a big surprise.
Ignored
you are correct, somehow big surprises will be there. I was not also sure that martingale will stop at index 9, but finally reaches 11.
Not only for martingale, of course. Remember what happened with CHF?
No one thought that'll happen. some be rich in 1 night, some got big unexpected loss.
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #157
  • Quote
  • Feb 18, 2015 2:32pm Feb 18, 2015 2:32pm
  •  pankwinto
  • | Joined Sep 2011 | Status: Member | 8 Posts
Quoting RHoudini
Disliked
If you think that the market has a maximum of 9 Martingale steps in your "tunnel", you're in for a big surprise.
Ignored
Today I have (opened during London session)
25 steps by USDJPY, 118.797 - 118.757 ( 40 pp gap size).
14 steps by EURJPY...

Terrible!
 
 
  • Post #158
  • Quote
  • Feb 18, 2015 2:50pm Feb 18, 2015 2:50pm
  •  aahmad29
  • Joined Aug 2012 | Status: Love for all; Hatred for none | 3,025 Posts
Quoting radityo.ardi
Disliked
{quote} you are correct, somehow big surprises will be there. I was not also sure that martingale will stop at index 9, but finally reaches 11. Not only for martingale, of course. Remember what happened with CHF? No one thought that'll happen. some be rich in 1 night, some got big unexpected loss.
Ignored
This trapping system only in loss when market is ranging. If you are experience enough to know when market is ranging then you can decrease your loss. For example, I trade on the news which are highlighted by Tony112 in his thread. I did trade FOMC and results are here.



EA can't do all work. Trader has to do some efforts in learning.
Attached Image (click to enlarge)
Click to Enlarge

Name: 1.jpg
Size: 217 KB
Love for all; Hatred for none.
 
 
  • Post #159
  • Quote
  • Feb 19, 2015 5:35am Feb 19, 2015 5:35am
  •  radityo.ardi
  • Joined Jul 2014 | Status: BAGONG!!! | 1,142 Posts
Quoting aahmad29
Disliked
{quote} This trapping system only in loss when market is ranging. If you are experience enough to know when market is ranging then you can decrease your loss. For example, I trade on the news which are highlighted by Tony112 in his thread. I did trade FOMC and results are here. EA can't do all work. Trader has to do some efforts in learning.
Ignored
I couldn't agree more with you...
If you ask me to code/fix your EA... it's probably not for free...
 
 
  • Post #160
  • Quote
  • Feb 19, 2015 2:28pm Feb 19, 2015 2:28pm
  •  chinedu
  • | Joined Feb 2009 | Status: Member | 33 Posts
Please i want to know if any body has tried this system in a live account? i have been demo trading it for some days, the draw down down and the result i got is not too bad, to compare with other martingale trading system.
 
 
  • Trading Systems
  • /
  • Trapping System: Tunnel Martingale
  • Reply to Thread
    • 1 67Page 8910 24
    • 1 7Page 89 24
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