Il miglior broker di opzioni binarie!
Ideale per i principianti!
Ottieni il tuo bonus di iscrizione!
Strategia Antimartingala: scopri come funziona questa strategia di Trading
Indice dei contenuti:
L’Antimartingala, in inglese “Anti Martingale”, è una strategia di Trading che permette di limitare i rischi di perdita in un sistema di Trading.
Per applicare il sistema Antimartingala si deve diminuire il valore delle puntate dopo una perdita e al contrario di aumentarle dopo una vincita.
In pratica, con la strategia antimartigala, si cerca di sfruttare i periodi positivi aumentando l’aggressività delle giocate quando vince e limitandone l’aggressività quando invece il sistema perde.
Questa scelta di modificare il valore delle giocate permette di operare utilizzando una percentuale del proprio capitale che risulta sempre in percentuale con il capitale totale, aiutando il sistema a mantenere sempre un esposizione sui mercati finanziari in linea con il proprio capitale, nel pieni rispetto delle strategie di money management.
Come funziona l’Antimartingala, regole di base
Quindi possiamo riassumere le regole basi della tecnica Antimartingala e 3 semplici punti che ne descrivono il funzionamento:
- Dopo una vincita si aumenta il valore della puntata
- Dopo una perdita si diminuisce il valore della puntata
- La puntata è normalmente calcolata in percentuale sul proprio capitale e deve rimanere in linea con il proprio sistema di Risk Management/Position Sizing
Rispettare queste 3 semplici regole significa utilizzare una strategia Antimartingala e utilizzare quindi un sistema di trading equilibrato.
La domanda che dobbiamo farci in questo momento è: “Come faccio a calcolare la giusta percentuale su cui basare la mia puntata?”
Per calcolare la risposta esatta servirebbero dei calcoli complessi basati sul valore Optimal-f o sulla formula di Kelly, che sono 2 formule per individuare la percentuale migliore su cui realizzeremo un articolo prossimamente, nel frattempo consigliamo di utilizzare sistemi di trading che mantengano le puntate tra il 2% e il 5% al massimo.
Il miglior broker di opzioni binarie!
Ideale per i principianti!
Ottieni il tuo bonus di iscrizione!
Vediamo un esempio pratico di Antimartingala
(esempio di Antimartingala al 2% del capitale)
La differenza tra Antimartingala e Martingala
Nei casi in cui il capitale sia limitato l’utilizzo di una strategia martingala può facilmente portare ad esaurire il capitale in poche mosse e in breve tempo, mentre a parità di vincite e perdite, ossia facendo un confronto tra l’utilizzo della Martingala e dell’Antimartingala sugli stessi dati il risultato è decisamente a favore dell’approccio Antimartingala, infatti nel caso peggiore la strategia Antimartingala permette di preservare un capitale maggiore rispetto alla Martingala.
Cerchi un conto Demo con APP per Tablet e cellulari?
Ecco un’APP semplice, veloce ma soprattutto gratuita per scoprire il mondo del Trading:
Con il Trading il tuo capitale è a rischio, ricorda di consultare termini e condizioni.
Che ne pensi? Lascia la tua opinione Annulla risposta
- Attenzione: investi responsabilmente!
Investire nel Trading Online è un attività ad elevato rischio per il proprio capitale.
Scegli lo strumento e il Broker Online che più si adattano alle tue caratteristiche e investi il tuo denaro con attenzione e in base alle tue possibilità.
Tra i vari strumenti disponibili vi ricordiamo che le Opzioni Binarie sono state vietate a partire dal 2 luglio 2020 e che i CFD (Contract For Difference) sono uno strumento di investimento complesso e con un alto rischio di perdita del capitale investito. La percentuale degli investitori privati che risultano in perdita si trova tra il 74 e l’89%. Consigliamo di considerare attentamente se ci si può permettere questo rischio.
Per verificare che il Broker o la banca che stai utilizzando sia autorizzato ad operare ti consigliamo di verificare la sua presenza all’interno delle seguenti liste sul sito della Consob o della CySec:
What is the Anti-Martingale System
The anti-Martingale system is a trading method that involves halving a bet each time there is a trade loss and doubling it each time there is a gain. This system is the opposite, obviously, of the Martingale system, whereby a trader (or gambler) doubles down on a losing bet and halves a winning bet. Both systems are known as trading strategies in the foreign currency markets but can be applied elsewhere.
BREAKING DOWN Anti-Martingale System
The assumption of the anti-Martingale system is that a trader can capitalize on a winning streak by doubling his position. In contrast, a Martingale strategy requires the trader to double his bet each time he loses, and hope to eventually recover those losses and make a profit with a favorable bet. The anti-Martingale system accepts greater risks during periods of expansive growth and is considered a better system for traders because it is less risky to increase trade size during a winning streak than during a losing streak. This type of thinking may fall into the “hot hand fallacy” trap, but when markets are trending up, the anti-Martingale system could be successful for a trader, who may pick off a series of positive trades before a loss interrupts his streak. However, a doubling down on a given winning bet exposes him to a single large loss that may wipe out previous gains.
On the other side — cutting a losing bet in half — a trader is in effect practicing a stop-loss discipline that is generally recommended in trading. The anti-Martingale system is somewhat of a play on the Wall Street maxim of “letting your winners run and cutting your losers early.” It may serve well during momentum-driven markets, but markets can turn quickly against traders. The Martingale system, on the other hand, is more of a “reversion to the mean” scheme that may be more suitable in directionless, meandering markets.
The Anti Martingale System – Profit From “Martingale in Reverse”
However, there is an alternative. The anti Martingale system does what many traders think is more logical. “Martingale in reverse” hangs on to winning trades, and drops losers. If that sounds better, read on.
“Doubling-Up” On Winners
The standard Martingale system closes winners and doubles exposure on losing trades. If you’re not familiar with this strategy, see this other article here on Forexop. While it has some highly desirable properties, the downside with it is that it can cause losses to run up exponentially.
The reverse Martingale, as I’m going to describe now does the exact opposite. It closes losing trades, and doubles winners. The idea being to cut losses quickly and let profits run.
Anti Martingale is an effective trend following strategy. Unlike forward Martingale it doesn’t have “fat tail” risks.
Take the following example in Table 1. This shows how a “double up” sequence works in practice. I’ve set a virtual take profit, and stop loss target of 20 pips. The price starts at 1.3500. I start by placing a buy to open order. The price then moves up 20 pips to 1.3520. Following the strategy, I now double the size of my position. I add 1 lot at the new rate of 1.3520.
|Tick||Price||Change||Order||Lots||Total||Entry Price||Avg. Entry Price||Float||Realized|
Table 1: A “Double up” trade sequence.
This gives me an average entry price of 1.3510. I continue doubling-up the exposure for each 20 pip increment (my definition of a winning trade).
At tick 6, the price then drops by 20 pips. Following the reverse strategy, I now have to close the last position. Since it is a loser (according to my criteria). So I place a sell to close order at tick 6. The effect of this is to half my position size, or exposure. I now hold 8 lots instead of 16.
I’ve also realized a loss of -$16 on the losing trade. My net balance is now -$2. The table below shows how the overall balance is made up. At tick 6, the P&L of each of the positions is as follows:
|Trade||Lots||Entry Price||Current Price||Change Pips
Table 2: Snapshot of trade P&L on closing first position.
One losing trade cancels the profit
Notice that the last losing trade wiped out all of the profit on the existing open trades, and left me with a net loss of -$2. The net loss of the entire sequence is equal to my stop loss value. This relationship always holds.
A complete course for anyone using a Martingale system or planning on building their own trading strategy from scratch. It’s written from a trader’s perspective with explanation by example. Our strategies are used by some of the top signal providers and traders
The total profit of the group has been canceled out by the last move of just 20 pips. At this point in time there are still four open positions remaining. The first three are in profit and the last is at break even.
The question is then what to do with these left over positions.
Standard reversal approach
At this point, some traders consider that the trend has reversed. So they cash in the profit on the remaining trades before further losses occur. This is what you’d do if you’re mirroring a pure Martingale strategy.
Other traders prefer to hold the existing positions and wait. You could do this for example if you have other indicators that suggest the original trend might return. This is a hybrid strategy: In a pure reversal system, the trades in the entire sequence would all be closed at this point.
To see the whole process in action, you can use the Excel sheet which demonstrates the anti Martingale strategy:
The spreadsheet lets you to try-out various setups and market conditions. You can test the above variations in the algorithm by setting the “lose multiplier” parameter.
Like the original Martingale, the take profit and stop losses are “virtual”, in that they only define winning and losing trades. And so when to increase or reduce exposure.
As with grid trading, you would typically also set a profit target for the “entire system”. Say for example after N “double up” legs or when the entire system of open positions reaches a certain profit amount.
Doubling Up Can Work Against You
As shown above, the lot-doubling, which marks the Martingale approach, can work against you too. With the reverse-Martingale, the averaging up rather than down means your profits can be turned very quickly into loses should the market turn against you.
On the plus side, your loss from a single sequence is limited to your stop loss on your starting lot amount. So say your stop loss is 40 pips, and your starting lot size is 1 micro lot, your biggest loss from a single sequence would be: 40 pips x 1 micro lot. That’s about $4 – depending on the currencies you’re trading.
Just as standard Martingale recovers losses on one winning trade. Anti-Martingale does the exact opposite. One losing trade in a double-up progression eliminates the profit of the entire position.
This can be seen in action in Tables 1 and 2. The “hitting of stops” can be a significant problem when the price action is especially volatile.
The Strategy is Risk Balanced
Both Martingale and anti Martingale have equal risk verses reward. That is, they are risk-reward balanced. So say your success in picking trades is no better than chance. This means the system has a 1:1 risk-reward ratio and a net expected return of zero.
The analysis is just the reverse of the Martingale. Every losing trade is closed at its stop loss. And there’s an equal probability of picking winning verses losing trades. So the expected loss from the losers is:
Where N is the total number of trades, and B is the fixed amount of loss on each trade. In the anti Martingale, let’s say I close the system and take profit after 8 winners in a row. That is, after doubling-up 7 times.
The probability of 8 winners in a row is (1/2) 8 . That means I’d expect this to happen after 2 8 , or after 256 trades.
So after 256 trades:
- Expected loss from the losers: (½) x 256 x 1 = -128
- The expected profit from the one winning sequence: 2 7 x 1 = 128
- Final expected net return: 0
This is because in this setup all other combinations, other than 8 winners in a row results in a loss. The same is true whichever number you choose.
In practice of course, your expected net return, and risk-reward will be slightly less than zero because of spreads and other fees. That’s assuming your trade selection is no better than chance. Of course, the aim is that trade selection is better than a coin flip.
Avoid Those Scary Drawdowns
The standard Martingale system blindly doubles down on consecutive losing trades. Without proper controls this can take the trader into deep drawdown with disastrous results.
The profit-loss pattern of anti Martingale is the opposite of this. Typically, in this strategy you see frequent small losses, and a few one off big wins. You rarely see the scary drawdowns that you get with Martingale. This can be seen by comparing the two return charts. Notice how much smoother the returns in the reverse strategy are.
The reason being that loss exposure is cut rapidly, and doesn’t escalate at an exponential rate. The “saw tooth” appearance of Figure 5 shows these “rare but catastrophic” losses.
You will still see losses in the reverse system, but these are more contained. What is the downside with it? The downside is that you also won’t get the smooth steady returns that are possible with Martingale.
Choosing an Entry Signal
In the spreadsheet I’ve used the first derivative of the 15 day moving average line. This is a very basic indicator and simply tells me if there’s a trend, and in which direction.
With anti-martingale, the indicator should “say” when there’s a high probability of an existing trend, or the start of a new trend.
The following technical indicators can be useful in deciding your entry signal:
These are just a few examples. For more on this and on choosing a market see here. Some of these are more subjective in interpretation and are difficult to automate. However the stronger the combined trend signal you have, the higher the chances of a profitable trade sequence.
Warning Beware of relying on technical indicators on their own. Ideally, if you’re trading manually or creating an expert advisor, you should incorporate a fundamental viewpoint as well.
This is harder to do if you’re using automation.
To see the potential for false signals, see the spreadsheet and take a look at the chart. Press F9 a few times to run the calculations. You’ll notice common technical patterns appear in there time and again. Namely trends, tops, bottoms, head and shoulder patterns. Even Fibonacci levels and supports and resistances appear to be there. Without other input these kinds of patterns can lead to false signals.
Short term performance can be misleading with any trading system. To analyze the long-term behavior, I ran the simulation 1,000 times in each set using a random pricing model. Each set simulates different market characteristics using the trend “drift” parameter in the spreadsheet:
- Flat market (trend parameter=0)
- Bullish market (trend parameter=0.1)
- Bearish market (trend parameter=-0.1)
An average spread of 4 pips was also used. The results are summarized in Table 3.
|Market||Mean (pips/lot)||Standard Deviation||Mode (pips/lot)||Kurtosis||Skew|
Table 3: Anti-Martingale – Summary of long-term performance.
The important thing to take away from this is the marked performance differences. Anti Martingale doesn’t do well in flat markets. See the huge difference in the mean returns. In fact, it does far worse than random. This highlights the importance of choosing the right strategy for the right market.
Figure 1 shows a typical profit pattern from a single run. Compare this to Martingale, in which the drawdowns are frequent and severe. Click here to open image in new window.
The figure above shows the frequency distribution of each of the different market conditions. Notice how the distribution of returns for “trending” is shifted to the right. This represents the higher returns.
The following Excel spreadsheet will allow you to test the strategy yourself and try out different scenarios.
You can configure different volatility and trending conditions, then see first-hand how the algorithm behaves.
Anti Martingale is Better In Trending Markets
There’s no point running both Martingale and Anti-Martingale at the same time, in the same market and with the same setup. The strategies are opposites, and suited to different situations.
While standard Martingale works well in flat, range bound markets, anti Martingale is better suited to volatile, trending markets. That’s not so say it won’t work sometimes in flat or trendless conditions. It’s just the idea behind it is to escalate the exposure on a rising or falling market. This is where most of the big profits are made.
The “preference” for trends makes the reverse algorithm better suited to trading volatile pairs or for positive “carry” opportunities.
Table 4 below shows the long term performance characteristics of both algorithms. The data is based on 1,000 runs of both algorithms under different market conditions: flat, bullish, and bearish. Each run can execute up to 200 trades. This sample data therefore consists of 1.2 million data points (1000 x 6 x 200).
In all cases, the trials execute trades in multiples of 1 lot. The return for each trial is measured as the return in pips per lot traded (total pips/lots traded).
Table 4: Performance comparison Anti-Martingale vs. Martingale.
Figure 3 below shows the return distributions of both strategies. As can be seen, the distribution of Martingale is highly peaked with a double “fat tail”. The most negative of which is well “off the chart”. The worst case run returned a massive loss of -772 pips/lot – shown in Table 3 above.
The long term averages, as shown in Table 4, highlight the variability of performance, depending on market conditions. Anti Martingale gives a much stronger mean return in a rising/falling market.
However, this is exactly where the conventional strategy suffers. Mostly due to “doubling down” against prevailing trends. Whether the trend is bullish or bearish doesn’t have a significant impact in the outcome. The heavy tail results in a very large kurtosis.
The figure above shows the long-term cumulative gains in pips for Anti Martingale. The return graph is significantly smoother than the standard Martingale returns below.
In Figure 5, you can see the returns from Martingale show a characteristic “saw tooth”. These demonstrate the big “one off” losses that happen in the “classic algorithm”.
The “Bottom Line”
- The reverse strategy is better suited to volatile, trending markets. However, Martingale gives better results in flat, predominantly trend-less markets.
- Both strategies yield an expected long term return of zero. Therefore, choice of suitable currency pair, market conditions and entry signal are critical to success with either strategy (see return charts).
- Standard Martingale is characterized by steady, positive returns, and “one off” big losses. These appear as “fat tails“ in the return distribution (see comparison return graphs). These lead to highly variable outcomes in the long run.
- The return distribution of Anti Martingale is significantly flatter, with lower variance as overall returns are more “clustered around the mean”.
- Optimal long term returns can be achieved by “flipping” between the two strategies according to the market conditions. This can be automated if you’re using and Expert Advisor.
Why Use It
- It decreases exposure on losses, and increases it on profits. Most traders believe that makes more sense than doing the opposite.
- Like Martingale, it has an outcome and risk-reward that can be statistically estimated.
- It’s well suited to algorithmic trading.
- It doesn’t encounter exponentially increasing losses – provided stops and take profits are correctly executed.
- Using the forward system it’s difficult to profit from trends. Even when a strong trend is detected, the upside is limited to a linear progression.
Why Avoid It
- The doubling up of position sizes can work against you. If your biggest trade loses, it wipes out the gains for the entire sequence.
- The big lot size multiples means there’s a risk of heavy losses if your stops are overrun. This can happen if the market gaps and falls through your stop levels.
- Execution problems with your broker can also cause stops to fail or to execute at levels that make the outcome unprofitable. However this is a problem most algorithmic strategies are prone to.
Hey Nigel and colleagues, thank you for the great ideas and the article! Surely a basis for a lot of interesting ideas.
My idea is to combine an Anti-M grid strategy with a Martingale hedge. If anyone wants to chat the development of such a thing, feel free to drop me a message ( peterjacobs087 at gmail.com) .
My AM goes about like that (numbers are chosen for simplicity):
a) When price hits 1.310 => 1.300 Open 2 up 1.310 open 1 down
b) When price hits 1.320 => close pos a) + open 1.310 3 up 1.320 2 down
c) When price hits 1.330 => close pos b) + open 1.320 4 up 1.330 3 down
What is the idea about this thing?
It gives us place to move, chances – if as in a) we have 1.300 2 up 1.310 1 down, then if price goes to 1.290 then we are at zero.
When position is in c) we have 1.320 4 up 1.330 3 down, we can endure till price 1.290 that we are zero. Until that we can continue for the trend to increase the size of our profits going up.
This is just the way i like thinking, so would be happy to share and brainstorm together
I am doing it just for my passion of trading (4 yrs already) and want to always improve.
P.S. Is the system described in the article developed further in the Martingale book? How do you find the guides? The articles are top so I might just go and buy them
Peace and success Fellas!
Deployment point selection.
Martingales are enticing, but mathematically disadvantageous, as described previously (linear profits vs exponential drawdowns).
However, if the right deployment spot is selected, it can make for an excellent strategy.
Can you recommend any resources to identify/backtest deployment spots?
Anti Martingale has been overlooked.
If your going to shoot that turkey with any success, you will need an accurate scope.
What I use is a 200ema,100 ema, 50 ema. with bollingers (2 of them) set to 1.381 and 2 deviation.
This allows me to initiate anti-martingale system. I take no more than 4 positions total.1,1,2,4, ( trending market ONLY)
First position (Eur-Dol.) trending long at the break of the fifth wave.
Second position after a bounce off the 200(or through the 200)and a rally to the 50 ema.
Third position ride it down and wait again for a retest of the 50ema
Fourth position a retest of the 100 ema (4x+4x total lots).
I close all positions on a fib extention of 1.28 to 1.618 depending on support ,trendlines, or longer term fib ratios.
If I enter on accumulation stage or distribution stage I will switch over to a martingale system.
On distribution of price movement ( long ) the backside of each wave will lean backwards and through the accumulation( long ) phase the front side of the wave will begin to lean forward.
Going long you will notice that the retracement after the completion of the final wave (” third mountain top” ) will straighten out to about 45 degrees and then fall off the table.
I guess by now you can tell I am a short seller.
I have some other indicators, could get by without them.
Wave count in each time frame with a fib study, completes my trading system.
I do keep a close eye on the economic calendar also.
Hope this has been some help to the up and coming traders.
My thinking with different pairs is that it depends on the trader. Maybe you are one of those people that get in the zone and when you win is not dependent on the pair but on your state of mind and focus. Then it would make sense to treat every trade independent of pair as a part of a modified anti martingale strategy. Otherwise not.
I have run some simulations and I have to say that an anti martingale strategy where not 100% winnings are reinvested seem really logical.
Risking 1% of 100000 (1000 in first round in other words).
Lets say a RR of 1,5 (but most would probably prefer higher),
(Winning percent 50%, doesn’t really change the calculations but how often we get winnings streaks.
Lets risk a lets say a forth won capital since last loser.
We first win 1500 Lets risk 375 extra next time. If a loser we are now down 1% of 101500 and 375 extra. 100110 in other words.
Not that bad, still positive.
Lets say I win four a row then a loser (not THAT uncommon with 50% winners),
With 1% risked of current capital I get:
With using an antimartingale of 25% risked of winnings since last loser
I have run simple excel simulations of this and over the long run never seen this system get beat by the straight linear system.
But I have run a monte carlo simulation of this a few times (1000 trades in a series 10000 times) and the average is always better (by a lot) with using a modified anti martingale. The lowest outcome is lower (it actually is quite easy to calculate worst case since that is if you get every other winner and losers. But frankly. That is highly unlikely.
Over 1000 trades (10000 simulations) the average difference (difference calculated as winnings anti martingale/winnings linear) between the systems are average 3,8. Min 0,778 and max 139. Repeated simulations get similar results (the min stays basically the same, average is just under 4… the max varies wildly though. 400. 200 etc.)
The hard part is of course how to implement this.
Do the strings of winners depend on my focus and ability or that a pair is behaving in a way that makes it easy to trade?
In other words:
Do I make a system where a winning trade in the EURUSD makes me raise the risk only on the next EURUSD trade or on the next trade independent of which pair it is?
It’s an interesting idea, and would make logical sense to lock in the winnings, and not reinvest all. I’ve used very similar strategies with martingale. But there you have the reverse position – as it’s the counter strategy. What I do is increase my stake on each round (by locking in winnings). That additional exposure reduces the probability of being knocked out (by allowing greater drawdown).
If you are reducing exposure on each round, according to winnings, that can be done by taking a smaller trade size on each round, or reducing the number of allowed legs in your trade sequence.
Not sure what your reasoning behind switching pairs is. But I would also say there’s strong market dependence, as to when each strategy works and the results achieved. So switching to a new pair, following winning trades on another would be somewhat unpredictable.
How about an anti martingale grid?
Hey, I think this is a beautiful article and is the basis of nice ideas.
I am designing something like an martingale and an anti-m grid Nigel…so please feel free to chat me up!
Overall my desire is to make a martingale grid, that in case of a trend goes into an anti-m one.
Il miglior broker di opzioni binarie!
Ideale per i principianti!
Ottieni il tuo bonus di iscrizione!