|submitted by AlphaexCapital to AlphaexCapital [link] [comments]|
|submitted by vinr2018 to u/vinr2018 [link] [comments]|
Hi guys,submitted by getmrmarket to Forex [link] [comments]
I have been using reddit for years in my personal life (not trading!) and wanted to give something back in an area where i am an expert.
I worked at an investment bank for seven years and joined them as a graduate FX trader so have lots of professional experience, by which i mean I was trained and paid by a big institution to trade on their behalf. This is very different to being a full-time home trader, although that is not to discredit those guys, who can accumulate a good amount of experience/wisdom through self learning.
When I get time I'm going to write a mid-length posts on each topic for you guys along the lines of how i was trained. I guess there would be 15-20 topics in total so about 50-60 posts. Feel free to comment or ask questions.
The first topic is Risk Management and we'll cover it in three parts
Why it mattersThe first rule of making money through trading is to ensure you do not lose money. Look at any serious hedge fund’s website and they’ll talk about their first priority being “preservation of investor capital.”
You have to keep it before you grow it.
Strangely, if you look at retail trading websites, for every one article on risk management there are probably fifty on trade selection. This is completely the wrong way around.
The great news is that this stuff is pretty simple and process-driven. Anyone can learn and follow best practices.
Seriously, avoiding mistakes is one of the most important things: there's not some holy grail system for finding winning trades, rather a routine and fairly boring set of processes that ensure that you are profitable, despite having plenty of losing trades alongside the winners.
Capital and position sizingThe first thing you have to know is how much capital you are working with. Let’s say you have $100,000 deposited. This is your maximum trading capital. Your trading capital is not the leveraged amount. It is the amount of money you have deposited and can withdraw or lose.
Position sizing is what ensures that a losing streak does not take you out of the market.
A rule of thumb is that one should risk no more than 2% of one’s account balance on an individual trade and no more than 8% of one’s account balance on a specific theme. We’ll look at why that’s a rule of thumb later. For now let’s just accept those numbers and look at examples.
So we have $100,000 in our account. And we wish to buy EURUSD. We should therefore not be risking more than 2% which $2,000.
We look at a technical chart and decide to leave a stop below the monthly low, which is 55 pips below market. We’ll come back to this in a bit. So what should our position size be?
We go to the calculator page, select Position Size and enter our details. There are many such calculators online - just google "Pip calculator".
So the appropriate size is a buy position of 363,636 EURUSD. If it reaches our stop level we know we’ll lose precisely $2,000 or 2% of our capital.
You should be using this calculator (or something similar) on every single trade so that you know your risk.
Now imagine that we have similar bets on EURJPY and EURGBP, which have also broken above moving averages. Clearly this EUR-momentum is a theme. If it works all three bets are likely to pay off. But if it goes wrong we are likely to lose on all three at once. We are going to look at this concept of correlation in more detail later.
The total amount of risk in our portfolio - if all of the trades on this EUR-momentum theme were to hit their stops - should not exceed $8,000 or 8% of total capital. This allows us to go big on themes we like without going bust when the theme does not work.
As we’ll see later, many traders only win on 40-60% of trades. So you have to accept losing trades will be common and ensure you size trades so they cannot ruin you.
Similarly, like poker players, we should risk more on trades we feel confident about and less on trades that seem less compelling. However, this should always be subject to overall position sizing constraints.
For example before you put on each trade you might rate the strength of your conviction in the trade and allocate a position size accordingly:
To keep yourself disciplined you should try to ensure that no more than one in twenty trades are graded exceptional and allocated 5% of account balance risk. It really should be a rare moment when all the stars align for you.
Notice that the nice thing about dealing in percentages is that it scales. Say you start out with $100,000 but end the year up 50% at $150,000. Now a 1% bet will risk $1,500 rather than $1,000. That makes sense as your capital has grown.
It is extremely common for retail accounts to blow-up by making only 4-5 losing trades because they are leveraged at 50:1 and have taken on far too large a position, relative to their account balance.
Consider that GBPUSD tends to move 1% each day. If you have an account balance of $10k then it would be crazy to take a position of $500k (50:1 leveraged). A 1% move on $500k is $5k.
Two perfectly regular down days in a row — or a single day’s move of 2% — and you will receive a margin call from the broker, have the account closed out, and have lost all your money.
Do not let this happen to you. Use position sizing discipline to protect yourself.
Kelly CriterionIf you’re wondering - why “about 2%” per trade? - that’s a fair question. Why not 0.5% or 10% or any other number?
The Kelly Criterion is a formula that was adapted for use in casinos. If you know the odds of winning and the expected pay-off, it tells you how much you should bet in each round.
This is harder than it sounds. Let’s say you could bet on a weighted coin flip, where it lands on heads 60% of the time and tails 40% of the time. The payout is $2 per $1 bet.
Well, absolutely you should bet. The odds are in your favour. But if you have, say, $100 it is less obvious how much you should bet to avoid ruin.
Say you bet $50, the odds that it could land on tails twice in a row are 16%. You could easily be out after the first two flips.
Equally, betting $1 is not going to maximise your advantage. The odds are 60/40 in your favour so only betting $1 is likely too conservative. The Kelly Criterion is a formula that produces the long-run optimal bet size, given the odds.
Applying the formula to forex trading looks like this:
Position size % = Winning trade % - ( (1- Winning trade %) / Risk-reward ratio
If you have recorded hundreds of trades in your journal - see next chapter - you can calculate what this outputs for you specifically.
If you don't have hundreds of trades then let’s assume some realistic defaults of Winning trade % being 30% and Risk-reward ratio being 3. The 3 implies your TP is 3x the distance of your stop from entry e.g. 300 pips take profit and 100 pips stop loss.
So that’s 0.3 - (1 - 0.3) / 3 = 6.6%.
Hold on a second. 6.6% of your account probably feels like a LOT to risk per trade.This is the main observation people have on Kelly: whilst it may optimise the long-run results it doesn’t take into account the pain of drawdowns. It is better thought of as the rational maximum limit. You needn’t go right up to the limit!
With a 30% winning trade ratio, the odds of you losing on four trades in a row is nearly one in four. That would result in a drawdown of nearly a quarter of your starting account balance. Could you really stomach that and put on the fifth trade, cool as ice? Most of us could not.
Accordingly people tend to reduce the bet size. For example, let’s say you know you would feel emotionally affected by losing 25% of your account.
Well, the simplest way is to divide the Kelly output by four. You have effectively hidden 75% of your account balance from Kelly and it is now optimised to avoid a total wipeout of just the 25% it can see.
This gives 6.6% / 4 = 1.65%. Of course different trading approaches and different risk appetites will provide different optimal bet sizes but as a rule of thumb something between 1-2% is appropriate for the style and risk appetite of most retail traders.
Incidentally be very wary of systems or traders who claim high winning trade % like 80%. Invariably these don’t pass a basic sense-check:
How to use stop losses sensiblyStop losses have a bad reputation amongst the retail community but are absolutely essential to risk management. No serious discretionary trader can operate without them.
A stop loss is a resting order, left with the broker, to automatically close your position if it reaches a certain price. For a recap on the various order types visit this chapter.
The valid concern with stop losses is that disreputable brokers look for a concentration of stops and then, when the market is close, whipsaw the price through the stop levels so that the clients ‘stop out’ and sell to the broker at a low rate before the market naturally comes back higher. This is referred to as ‘stop hunting’.
This would be extremely immoral behaviour and the way to guard against it is to use a highly reputable top-tier broker in a well regulated region such as the UK.
Why are stop losses so important? Well, there is no other way to manage risk with certainty.
You should always have a pre-determined stop loss before you put on a trade. Not having one is a recipe for disaster: you will find yourself emotionally attached to the trade as it goes against you and it will be extremely hard to cut the loss. This is a well known behavioural bias that we’ll explore in a later chapter.
Learning to take a loss and move on rationally is a key lesson for new traders.
A common mistake is to think of the market as a personal nemesis. The market, of course, is totally impersonal; it doesn’t care whether you make money or not.
Bruce Kovner, founder of the hedge fund Caxton Associates
There is an old saying amongst bank traders which is “losers average losers”.
It is tempting, having bought EURUSD and seeing it go lower, to buy more. Your average price will improve if you keep buying as it goes lower. If it was cheap before it must be a bargain now, right? Wrong.
Where does that end? Always have a pre-determined cut-off point which limits your risk. A level where you know the reason for the trade was proved ‘wrong’ ... and stick to it strictly. If you trade using discretion, use stops.
Picking a clear levelWhere you leave your stop loss is key.
Typically traders will leave them at big technical levels such as recent highs or lows. For example if EURUSD is trading at 1.1250 and the recent month’s low is 1.1205 then leaving it just below at 1.1200 seems sensible.
If you were going long, just below the double bottom support zone seems like a sensible area to leave a stop
You want to give it a bit of breathing room as we know support zones often get challenged before the price rallies. This is because lots of traders identify the same zones. You won’t be the only one selling around 1.1200.
The “weak hands” who leave their sell stop order at exactly the level are likely to get taken out as the market tests the support. Those who leave it ten or fifteen pips below the level have more breathing room and will survive a quick test of the level before a resumed run-up.
Your timeframe and trading style clearly play a part. Here’s a candlestick chart (one candle is one day) for GBPUSD.
If you are putting on a trend-following trade you expect to hold for weeks then you need to have a stop loss that can withstand the daily noise. Look at the downtrend on the chart. There were plenty of days in which the price rallied 60 pips or more during the wider downtrend.
So having a really tight stop of, say, 25 pips that gets chopped up in noisy short-term moves is not going to work for this kind of trade. You need to use a wider stop and take a smaller position size, determined by the stop level.
There are several tools you can use to help you estimate what is a safe distance and we’ll look at those in the next section.
There are of course exceptions. For example, if you are doing range-break style trading you might have a really tight stop, set just below the previous range high.
Clearly then where you set stops will depend on your trading style as well as your holding horizons and the volatility of each instrument.
Here are some guidelines that can help:
For example if you stop understanding why a product is going up or down and your fundamental thesis has been confirmed wrong, get out. For example, if you are long because you think the central bank is turning hawkish and AUDUSD is going to play catch up with rates … then you hear dovish noises from the central bank and the bond yields retrace lower and back in line with the currency - close your AUDUSD position. You already know your thesis was wrong. No need to give away more money to the market.
Coming up in part IIEDIT: part II here
Letting stops breathe
When to change a stop
Entering and exiting winning positions
Coming up in part IIISqueezes and other risks
Crap trades, timeouts and monthly limits
Disclaimer:This content is not investment advice and you should not place any reliance on it. The views expressed are the author's own and should not be attributed to any other person, including their employer.
Firstly, thanks for the overwhelming comments and feedback. Genuinely really appreciated. I am pleased 500+ of you find it useful.submitted by getmrmarket to Forex [link] [comments]
If you didn't read the first post you can do so here: risk management part I. You'll need to do so in order to make sense of the topic.
As ever please comment/reply below with questions or feedback and I'll do my best to get back to you.
Letting stops breatheWe talked earlier about giving a position enough room to breathe so it is not stopped out in day-to-day noise.
Let’s consider the chart below and imagine you had a trailing stop. It would be super painful to miss out on the wider move just because you left a stop that was too tight.
Imagine being long and stopped out on a meaningless retracement ... ouch!
One simple technique is simply to look at your chosen chart - let’s say daily bars. And then look at previous trends and use the measuring tool. Those generally look something like this and then you just click and drag to measure.
For example if we wanted to bet on a downtrend on the chart above we might look at the biggest retracement on the previous uptrend. That max drawdown was about 100 pips or just under 1%. So you’d want your stop to be able to withstand at least that.
If market conditions have changed - for example if CVIX has risen - and daily ranges are now higher you should incorporate that. If you know a big event is coming up you might think about that, too. The human brain is a remarkable tool and the power of the eye-ball method is not to be dismissed. This is how most discretionary traders do it.
There are also more analytical approaches.
Some look at the Average True Range (ATR). This attempts to capture the volatility of a pair, typically averaged over a number of sessions. It looks at three separate measures and takes the largest reading. Think of this as a moving average of how much a pair moves.
For example, below shows the daily move in EURUSD was around 60 pips before spiking to 140 pips in March. Conditions were clearly far more volatile in March. Accordingly, you would need to leave your stop further away in March and take a correspondingly smaller position size.
ATR is available on pretty much all charting systems
Professional traders tend to use standard deviation as a measure of volatility instead of ATR. There are advantages and disadvantages to both. Averages are useful but can be misleading when regimes switch (see above chart).
Once you have chosen a measure of volatility, stop distance can then be back-tested and optimised. For example does 2x ATR work best or 5x ATR for a given style and time horizon?
Discretionary traders may still eye-ball the ATR or standard deviation to get a feeling for how it has changed over time and what ‘normal’ feels like for a chosen study period - daily, weekly, monthly etc.
Reasons to change a stopAs a general rule you should be disciplined and not change your stops. Remember - losers average losers. This is really hard at first and we’re going to look at that in more detail later.
There are some good reasons to modify stops but they are rare.
One reason is if another risk management process demands you stop trading and close positions. We’ll look at this later. In that case just close out your positions at market and take the loss/gains as they are.
Another is event risk. If you have some big upcoming data like Non Farm Payrolls that you know can move the market +/- 150 pips and you have no edge going into the release then many traders will take off or scale down their positions. They’ll go back into the positions when the data is out and the market has quietened down after fifteen minutes or so. This is a matter of some debate - many traders consider it a coin toss and argue you win some and lose some and it all averages out.
Trailing stops can also be used to ‘lock in’ profits. We looked at those before. As the trade moves in your favour (say up if you are long) the stop loss ratchets with it. This means you may well end up ‘stopping out’ at a profit - as per the below example.
The mighty trailing stop loss order
It is perfectly reasonable to have your stop loss move in the direction of PNL. This is not exposing you to more risk than you originally were comfortable with. It is taking less and less risk as the trade moves in your favour. Trend-followers in particular love trailing stops.
One final question traders ask is what they should do if they get stopped out but still like the trade. Should they try the same trade again a day later for the same reasons? Nope. Look for a different trade rather than getting emotionally wed to the original idea.
Let’s say a particular stock looked cheap based on valuation metrics yesterday, you bought, it went down and you got stopped out. Well, it is going to look even better on those same metrics today. Maybe the market just doesn’t respect value at the moment and is driven by momentum. Wait it out.
Otherwise, why even have a stop in the first place?
Entering and exiting winning positionsTake profits are the opposite of stop losses. They are also resting orders, left with the broker, to automatically close your position if it reaches a certain price.
Imagine I’m long EURUSD at 1.1250. If it hits a previous high of 1.1400 (150 pips higher) I will leave a sell order to take profit and close the position.
The rookie mistake on take profits is to take profit too early. One should start from the assumption that you will win on no more than half of your trades. Therefore you will need to ensure that you win more on the ones that work than you lose on those that don’t.
Sad to say but incredibly common: retail traders often take profits way too early
This is going to be the exact opposite of what your emotions want you to do. We are going to look at that in the Psychology of Trading chapter.
Remember: let winners run. Just like stops you need to know in advance the level where you will close out at a profit. Then let the trade happen. Don’t override yourself and let emotions force you to take a small profit. A classic mistake to avoid.
The trader puts on a trade and it almost stops out before rebounding. As soon as it is slightly in the money they spook and cut out, instead of letting it run to their original take profit. Do not do this.
Entering positions with limit ordersThat covers exiting a position but how about getting into one?
Take profits can also be left speculatively to enter a position. Sometimes referred to as “bids” (buy orders) or “offers” (sell orders). Imagine the price is 1.1250 and the recent low is 1.1205.
You might wish to leave a bid around 1.2010 to enter a long position, if the market reaches that price. This way you don’t need to sit at the computer and wait.
Again, typically traders will use tech analysis to identify attractive levels. Again - other traders will cluster with your orders. Just like the stop loss we need to bake that in.
So this time if we know everyone is going to buy around the recent low of 1.1205 we might leave the take profit bit a little bit above there at 1.1210 to ensure it gets done. Sure it costs 5 more pips but how mad would you be if the low was 1.1207 and then it rallied a hundred points and you didn’t have the trade on?!
There are two more methods that traders often use for entering a position.
Scaling in is one such technique. Let’s imagine that you think we are in a long-term bulltrend for AUDUSD but experiencing a brief retracement. You want to take a total position of 500,000 AUD and don’t have a strong view on the current price action.
You might therefore leave a series of five bids of 100,000. As the price moves lower each one gets hit. The nice thing about scaling in is it reduces pressure on you to pick the perfect level. Of course the risk is that not all your orders get hit before the price moves higher and you have to trade at-market.
Pyramiding is the second technique. Pyramiding is for take profits what a trailing stop loss is to regular stops. It is especially common for momentum traders.
Pyramiding into a position means buying more as it goes in your favour
Again let’s imagine we’re bullish AUDUSD and want to take a position of 500,000 AUD.
Here we add 100,000 when our first signal is reached. Then we add subsequent clips of 100,000 when the trade moves in our favour. We are waiting for confirmation that the move is correct.
Obviously this is quite nice as we humans love trading when it goes in our direction. However, the drawback is obvious: we haven’t had the full amount of risk on from the start of the trend.
You can see the attractions and drawbacks of both approaches. It is best to experiment and choose techniques that work for your own personal psychology as these will be the easiest for you to stick with and build a disciplined process around.
Risk:reward and win ratiosBe extremely skeptical of people who claim to win on 80% of trades. Most traders will win on roughly 50% of trades and lose on 50% of trades. This is why risk management is so important!
Once you start keeping a trading journal you’ll be able to see how the win/loss ratio looks for you. Until then, assume you’re typical and that every other trade will lose money.
If that is the case then you need to be sure you make more on the wins than you lose on the losses. You can see the effect of this below.
A combination of win % and risk:reward ratio determine if you are profitable
A typical rule of thumb is that a ratio of 1:3 works well for most traders.
That is, if you are prepared to risk 100 pips on your stop you should be setting a take profit at a level that would return you 300 pips.
One needn’t be religious about these numbers - 11 pips and 28 pips would be perfectly fine - but they are a guideline.
Again - you should still use technical analysis to find meaningful chart levels for both the stop and take profit. Don’t just blindly take your stop distance and do 3x the pips on the other side as your take profit. Use the ratio to set approximate targets and then look for a relevant resistance or support level in that kind of region.
Risk-adjusted returnsNot all returns are equal. Suppose you are examining the track record of two traders. Now, both have produced a return of 14% over the year. Not bad!
The first trader, however, made hundreds of small bets throughout the year and his cumulative PNL looked like the left image below.
The second trader made just one bet — he sold CADJPY at the start of the year — and his PNL looked like the right image below with lots of large drawdowns and volatility.
Would you rather have the first trading record or the second?
If you were investing money and betting on who would do well next year which would you choose? Of course all sensible people would choose the first trader. Yet if you look only at returns one cannot distinguish between the two. Both are up 14% at that point in time. This is where the Sharpe ratio helps .
A high Sharpe ratio indicates that a portfolio has better risk-adjusted performance. One cannot sensibly compare returns without considering the risk taken to earn that return.
If I can earn 80% of the return of another investor at only 50% of the risk then a rational investor should simply leverage me at 2x and enjoy 160% of the return at the same level of risk.
This is very important in the context of Execution Advisor algorithms (EAs) that are popular in the retail community. You must evaluate historic performance by its risk-adjusted return — not just the nominal return. Incidentally look at the Sharpe ratio of ones that have been live for a year or more ...
Otherwise an EA developer could produce two EAs: the first simply buys at 1000:1 leverage on January 1st ; and the second sells in the same manner. At the end of the year, one of them will be discarded and the other will look incredible. Its risk-adjusted return, however, would be abysmal and the odds of repeated success are similarly poor.
Sharpe ratioThe Sharpe ratio works like this:
You don’t really need to know how to calculate Sharpe ratios. Good trading software will do this for you. It will either be available in the system by default or you can add a plug-in.
VARVAR is another useful measure to help with drawdowns. It stands for Value at Risk. Normally people will use 99% VAR (conservative) or 95% VAR (aggressive). Let’s say you’re long EURUSD and using 95% VAR. The system will look at the historic movement of EURUSD. It might spit out a number of -1.2%.
A 5% VAR of -1.2% tells you you should expect to lose 1.2% on 5% of days, whilst 95% of days should be better than that
This means it is expected that on 5 days out of 100 (hence the 95%) the portfolio will lose 1.2% or more. This can help you manage your capital by taking appropriately sized positions. Typically you would look at VAR across your portfolio of trades rather than trade by trade.
Sharpe ratios and VAR don’t give you the whole picture, though. Legendary fund manager, Howard Marks of Oaktree, notes that, while tools like VAR and Sharpe ratios are helpful and absolutely necessary, the best investors will also overlay their own judgment.
Investors can calculate risk metrics like VaR and Sharpe ratios (we use them at Oaktree; they’re the best tools we have), but they shouldn’t put too much faith in them. The bottom line for me is that risk management should be the responsibility of every participant in the investment process, applying experience, judgment and knowledge of the underlying investments.Howard Marks of Oaktree Capital
What he’s saying is don’t misplace your common sense. Do use these tools as they are helpful. However, you cannot fully rely on them. Both assume a normal distribution of returns. Whereas in real life you get “black swans” - events that should supposedly happen only once every thousand years but which actually seem to happen fairly often.
These outlier events are often referred to as “tail risk”. Don’t make the mistake of saying “well, the model said…” - overlay what the model is telling you with your own common sense and good judgment.
Coming up in part IIIAvailable here
Squeezes and other risks
Crap trades, timeouts and monthly limits
Disclaimer:This content is not investment advice and you should not place any reliance on it. The views expressed are the author's own and should not be attributed to any other person, including their employer.
Welcome to the third and final part of this chapter.submitted by getmrmarket to Forex [link] [comments]
Thank you all for the 100s of comments and upvotes - maybe this post will take us above 1,000 for this topic!
Keep any feedback or questions coming in the replies below.
Before you read this note, please start with Part I and then Part II so it hangs together and makes sense.
Squeezes and other risksWe are going to cover three common risks that traders face: events; squeezes, asymmetric bets.
EventsEconomic releases can cause large short-term volatility. The most famous is Non Farm Payrolls, which is the most widely watched measure of US employment levels and affects the price of many instruments.On an NFP announcement currencies like EURUSD might jump (or drop) 100 pips no problem.
This is fine and there are trading strategies that one may employ around this but the key thing is to be aware of these releases.You can find economic calendars all over the internet - including on this site - and you need only check if there are any major releases each day or week.
For example, if you are trading off some intraday chart and scalping a few pips here and there it would be highly sensible to go into a known data release flat as it is pure coin-toss and not the reason for your trading. It only takes five minutes each day to plan for the day ahead so do not get caught out by this. Many retail traders get stopped out on such events when price volatility is at its peak.
SqueezesShort squeezes bring a lot of danger and perhaps some opportunity.
The story of VW and Porsche is the best short squeeze ever. Throughout these articles we've used FX examples wherever possible but in this one instance the concept (which is also highly relevant in FX) is best illustrated with an historical lesson from a different asset class.
A short squeeze is when a participant ends up in a short position they are forced to cover. Especially when the rest of the market knows that this participant can be bullied into stopping out at terrible levels, provided the market can briefly drive the price into their pain zone.
There's a reason for the car, don't worry
Hedge funds had been shorting VW stock. However the amount of VW stock available to buy in the open market was actually quite limited. The local government owned a chunk and Porsche itself had bought and locked away around 30%. Neither of these would sell to the hedge-funds so a good amount of the stock was un-buyable at any price.
If you sell or short a stock you must be prepared to buy it back to go flat at some point.
To cut a long story short, Porsche bought a lot of call options on VW stock. These options gave them the right to purchase VW stock from banks at slightly above market price.
Eventually the banks who had sold these options realised there was no VW stock to go out and buy since the German government wouldn’t sell its allocation and Porsche wouldn’t either. If Porsche called in the options the banks were in trouble.
Porsche called in the options which forced the shorts to buy stock - at whatever price they could get it.
The price squeezed higher as those that were short got massively squeezed and stopped out. For one brief moment in 2008, VW was the world’s most valuable company. Shorts were burned hard.
Porsche apparently made $11.5 billion on the trade. The BBC described Porsche as “a hedge fund with a carmaker attached.”
If this all seems exotic then know that the same thing happens in FX all the time. If everyone in the market is talking about a key level in EURUSD being 1.2050 then you can bet the market will try to push through 1.2050 just to take out any short stops at that level. Whether it then rallies higher or fails and trades back lower is a different matter entirely.
This brings us on to the matter of crowded trades. We will look at positioning in more detail in the next section. Crowded trades are dangerous for PNL. If everyone believes EURUSD is going down and has already sold EURUSD then you run the risk of a short squeeze.
For additional selling to take place you need a very good reason for people to add to their position whereas a move in the other direction could force mass buying to cover their shorts.
A trading mentor when I worked at the investment bank once advised me:
Always think about which move would cause the maximum people the maximum pain. That move is precisely what you should be watching out for at all times.
Asymmetric lossesAlso known as picking up pennies in front of a steamroller. This risk has caught out many a retail trader. Sometimes it is referred to as a "negative skew" strategy.
Ideally what you are looking for is asymmetric risk trade set-ups: that is where the downside is clearly defined and smaller than the upside. What you want to avoid is the opposite.
A famous example of this going wrong was the Swiss National Bank de-peg in 2012.
The Swiss National Bank had said they would defend the price of EURCHF so that it did not go below 1.2. Many people believed it could never go below 1.2 due to this. Many retail traders therefore opted for a strategy that some describe as ‘picking up pennies in front of a steam-roller’.
They would would buy EURCHF above the peg level and hope for a tiny rally of several pips before selling them back and keep doing this repeatedly. Often they were highly leveraged at 100:1 so that they could amplify the profit of the tiny 5-10 pip rally.
Then this happened.
Something that changed FX markets forever
The SNB suddenly did the unthinkable. They stopped defending the price. CHF jumped and so EURCHF (the number of CHF per 1 EUR) dropped to new lows very fast. Clearly, this trade had horrific risk : reward asymmetry: you risked 30% to make 0.05%.
Other strategies like naively selling options have the same result. You win a small amount of money each day and then spectacularly blow up at some point down the line.
Market positioningWe have talked about short squeezes. But how do you know what the market position is? And should you care?
Let’s start with the first. You should definitely care.
Let’s imagine the entire market is exceptionally long EURUSD and positioning reaches extreme levels. This makes EURUSD very vulnerable.
To keep the price going higher EURUSD needs to attract fresh buy orders. If everyone is already long and has no room to add, what can incentivise people to keep buying? The news flow might be good. They may believe EURUSD goes higher. But they have already bought and have their maximum position on.
On the flip side, if there’s an unexpected event and EURUSD gaps lower you will have the entire market trying to exit the position at the same time. Like a herd of cows running through a single doorway. Messy.
We are going to look at this in more detail in a later chapter, where we discuss ‘carry’ trades. For now this TRYJPY chart might provide some idea of what a rush to the exits of a crowded position looks like.
A carry trade position clear-out in action
Knowing if the market is currently at extreme levels of long or short can therefore be helpful.
The CFTC makes available a weekly report, which details the overall positions of speculative traders “Non Commercial Traders” in some of the major futures products. This includes futures tied to deliverable FX pairs such as EURUSD as well as products such as gold. The report is called “CFTC Commitments of Traders” ("COT").
This is a great benchmark. It is far more representative of the overall market than the proprietary ones offered by retail brokers as it covers a far larger cross-section of the institutional market.
Generally market participants will not pay a lot of attention to commercial hedgers, which are also detailed in the report. This data is worth tracking but these folks are simply hedging real-world transactions rather than speculating so their activity is far less revealing and far more noisy.
You can find the data online for free and download it directly here.
Raw format is kinda hard to work with
However, many websites will chart this for you free of charge and you may find it more convenient to look at it that way. Just google “CFTC positioning charts”.
But you can easily get visualisations
You can visually spot extreme positioning. It is extremely powerful.
Bear in mind the reports come out Friday afternoon US time and the report is a snapshot up to the prior Tuesday. That means it is a lagged report - by the time it is released it is a few days out of date. For longer term trades where you hold positions for weeks this is of course still pretty helpful information.
As well as the absolute level (is the speculative market net long or short) you can also use this to pick up on changes in positioning.
For example if bad news comes out how much does the net short increase? If good news comes out, the market may remain net short but how much did they buy back?
A lot of traders ask themselves “Does the market have this trade on?” The positioning data is a good method for answering this. It provides a good finger on the pulse of the wider market sentiment and activity.
For example you might say: “There was lots of noise about the good employment numbers in the US. However, there wasn’t actually a lot of position change on the back of it. Maybe everyone who wants to buy already has. What would happen now if bad news came out?”
In general traders will be wary of entering a crowded position because it will be hard to attract additional buyers or sellers and there could be an aggressive exit.
If you want to enter a trade that is showing extreme levels of positioning you must think carefully about this dynamic.
Bet correlationRetail traders often drastically underestimate how correlated their bets are.
Through bitter experience, I have learned that a mistake in position correlation is the root of some of the most serious problems in trading. If you have eight highly correlated positions, then you are really trading one position that is eight times as large.
Bruce Kovner of hedge fund, Caxton Associates
For example, if you are trading a bunch of pairs against the USD you will end up with a simply huge USD exposure. A single USD-trigger can ruin all your bets. Your ideal scenario — and it isn’t always possible — would be to have a highly diversified portfolio of bets that do not move in tandem.
Look at this chart. Inverted USD index (DXY) is green. AUDUSD is orange. EURUSD is blue.
Chart from TradingView
So the whole thing is just one big USD trade! If you are long AUDUSD, long EURUSD, and short DXY you have three anti USD bets that are all likely to work or fail together.
The more diversified your portfolio of bets are, the more risk you can take on each.
There’s a really good video, explaining the benefits of diversification from Ray Dalio.
A systematic fund with access to an investable universe of 10,000 instruments has more opportunity to make a better risk-adjusted return than a trader who only focuses on three symbols. Diversification really is the closest thing to a free lunch in finance.
But let’s be pragmatic and realistic. Human retail traders don’t have capacity to run even one hundred bets at a time. More realistic would be an average of 2-3 trades on simultaneously. So what can be done?
The key thing is to start thinking about a portfolio of bets and what each new trade offers to your existing portfolio of risk. Will it diversify or amplify a current exposure?
Crap trades, timeouts and monthly limitsOne common mistake is to get bored and restless and put on crap trades. This just means trades in which you have low conviction.
It is perfectly fine not to trade. If you feel like you do not understand the market at a particular point, simply choose not to trade.
Flat is a position.
Do not waste your bullets on rubbish trades. Only enter a trade when you have carefully considered it from all angles and feel good about the risk. This will make it far easier to hold onto the trade if it moves against you at any point. You actually believe in it.
Equally, you need to set monthly limits. A standard limit might be a 10% account balance stop per month. At that point you close all your positions immediately and stop trading till next month.
Be strict with yourself and walk away
Let’s assume you started the year with $100k and made 5% in January so enter Feb with $105k balance. Your stop is therefore 10% of $105k or $10.5k . If your account balance dips to $94.5k ($105k-$10.5k) then you stop yourself out and don’t resume trading till March the first.
Having monthly calendar breaks is nice for another reason. Say you made a load of money in January. You don’t want to start February feeling you are up 5% or it is too tempting to avoid trading all month and protect the existing win. Each month and each year should feel like a clean slate and an independent period.
Everyone has trading slumps. It is perfectly normal. It will definitely happen to you at some stage. The trick is to take a break and refocus. Conserve your capital by not trading a lot whilst you are on a losing streak. This period will be much harder for you emotionally and you’ll end up making suboptimal decisions. An enforced break will help you see the bigger picture.
Put in place a process before you start trading and then it’ll be easy to follow and will feel much less emotional. Remember: the market doesn’t care if you win or lose, it is nothing personal.
When your head has cooled and you feel calm you return the next month and begin the task of building back your account balance.
That's a wrap on risk managementThanks for taking time to read this three-part chapter on risk management. I hope you enjoyed it. Do comment in the replies if you have any questions or feedback.
Remember: the most important part of trading is not making money. It is not losing money. Always start with that principle. I hope these three notes have provided some food for thought on how you might approach risk management and are of practical use to you when trading. Avoiding mistakes is not a sexy tagline but it is an effective and reliable way to improve results.
Next up I will be writing about an exciting topic I think many traders should look at rather differently: news trading. Please follow on here to receive notifications and the broad outline is below.
News Trading Part I
Disclaimer:This content is not investment advice and you should not place any reliance on it. The views expressed are the author's own and should not be attributed to any other person, including their employer.
submitted by Eva_Canares to FTMO_Forex_Trading [link] [comments]
Statistical Edge TradingHave you ever traded with statistical edge? Our Allen trade talks about backing up the trading network and leveraging it from excellent newspapering. This is a stage that is undermined by many traders but fairly, it can be a crucial factor in boosting your trust and believing in your system. For those interested in this sort of research, you can check out the FTMO Statistical Application.
Trading with a Statistical edge
Although many traders back-test and record their trades to verify the trading system 's feasibility, monitoring and using the data to maximize both your stop loss and profit goal is a tremendous advantage. Two of the most critical pieces of data that I record when reporting trades is the drawdown and the benefit potential.
The drawdown, to be sure, is how far a trade goes against my place before it goes in my favour.
Whereas the benefit potential is the maximum distance from my entry which the trade moves in my favor. It isn't important and it's uncommon, in general, that I actually exit the trade. Yet definitely coming out at or as close as can be.
Firstly, I record my trades in two ways, using screenshots of the charts themselves where I annotate my entry, date, type of trade and all other relevant details related to my methodology, such as strength and weakness analysis , multiple time frame analysis and correlation. I also note on the map the drawdown and benefit potential of the trade.
Then I go through my Excel spreadsheet with main details. See "excel" below.
Excel spreadsheet with main details.
This includes the date, day, session, pair, time, route, entry price, closing price, type of setup, type of entry, type of exit, drawdown, potential for benefit and outcome. I then let excel do all the heavy lifting for myself as I can sort my trades numerous ways, by day, by session, by pair, by route, by type of set-up etc.
But where the really cool stuff is under the "Mind-blowing stats" tab where I have some of the above filterable statistics that will help me to optimize both my stop loss and my benefit goal.
Here is a summary of the specification.
When you use a risk percentage account to calculate your position size (as you should), so the lower the pause, the larger a position size you will trade in. The stop must, therefore, have a high likelihood of remaining. The vast majority of trading books, guides, videos, etc., advise that after a recent high / low swing, the stop will be many pips.
But my trade documents helped me to come up with a statistical advantage for my stoppage placement.
As can be seen in the "Drawdown" tag, Trading my Type 1 BO (breakout out) on GBPAUD, 79.55 percent of the time my drawdown was less than 25 pips, although it was just 81.82 percent at 30 pips and 84.09 percent at 35 pips.
Statistical Edge Trading
So when using a larger pause, an extra loss or 2, the advantage of having a greater size of the place and thereby netting more money makes the extra loss(s) inconsequential.
Furthermore, the income goal can also be optimized.
Looking at the "Profit Potential" connection and remaining on GBPAUD again for my Type 1 BO trades, we can easily see that almost 80 percent of the time, those trades get between 20 and 30 pips.
Statistical Edge Trading (b)
It is a perfect place to take off 1/2 of the spot and push the stop to flat. So we can let the rest of the half run to about 50 pips where 59.09 percent of the trades touch.
Obviously market conditions aren't always the same, so if you can recognise when they are, i.e. linked moves or strengthening or weakening other classes (commodity pairs or safe haven pairs), then you can make educated decisions about how far a trade will go.
Statistical Edge Trading (meme)
I hope this information 's helpful to you.
Eva " Forex " Canares .
Cheers and Profitable Trading to All.
About FTMO -
They fund forex traders. Just Pass their risk management rules and begin trading for their company. They'll provide you capital up to $300k USD for trading the financial markets. 70% of profits you keep and losses are covered by them. How does it work?
How to Become a Funded Forex ,Stocks or CryptoCurrency Trader?
submitted by FBS_Forex to u/FBS_Forex [link] [comments]
Reversed world“Hey, gold, what are you doing over there at $1470? You are supposed to aim at $1900 – we are in a crisis here!” – that’s your righteous question to the precious metal. Although it did show an elevated trajectory for a while until recently, none of that seems “worthy” of the severity of the moment.
Gold, monthly chart
Especially, if you zoom in and see the most recent move of the shining metal. By falling to the support of $1450, it completely erased all the coronavirus-related gains and got back to where it was at the end of the year 2019.
Then, the US and China seized tariff fire and eventually announced that they were finally closing the theater of trade war and were on the way to sign the trade agreement. That was promising peace and prosperity to the nations, and the year was ending well, full of moderately optimistic expectations for 2020. Not for gold though. “Well”, - gold thought – “there is no place for me in such a confident and economically expanding riskless world”. Eventually, its price gave room to the calmness of the market and continued its usual trajectory of mildly gaining value.
Gold, daily chart
The interesting thing is that when the virus came – that is marked by the red vertical line – gold did not change its trajectory. If you remove the last move it did - that brick-like drop from $1700 to $1450 – and ignore that the virus is now reigning the globe, you would have little ground to suspect that something unusual is happening in the world. At least, from gold’s point of view: according to the chart, it didn’t seem to worry about states bent into recession and tens of thousands sick or dead. Not more than before that, at least. The curve of the price performance did not change before and after the outbreak – the straight green line confirms that. Visually, until the second half of February, when China was in flames of the coronavirus, gold felt exactly like it did in December when the US and China were cheerful of each other’s commitments to the trade deal.
And there is another interesting thing – the very last episode of gold price performance. The said drop. It is absolutely extraordinary because it is – in theory – supposed to be reversed. A millennia-long-living asset bringing joy to the eye of its owner, gold normally gets multiplied attention from investors seeking to secure and guard their funds when troubles kick in. Now, it is all the contrary: it plunges like a fraudulent security of a third-grade bank.
Red pillFirst, a very superficial but a very fair conclusion is: gold is not a “yes-sir” safe-haven commodity and does not react to the world of events as such. Nor does it react “on time”. Therefore, second, it is not as predictable as, say, oil prices are in their response to the KSA-Russia oil price stalemate.
Does it mean that gold should be disregarded as a refuge to the money of scared investors? No. But we have to delineate gold as a physical asset owned by individuals and organizations and guarded in, say, Fort Knox and gold traded in multiple market platforms as a virtual asset through, including, derivatives such as CFDs. It is exactly the latter that we have in Forex. And these, although they do have a correlation to the price of the physical gold nuggets traded across the world, are largely affected by speculations and price manipulations, whatever they may be.
That’s why you cannot rely on gold 100% as on a safe haven all the time in your trade. You have to weigh it against other assets, measure its reaction to the events and elaborate your judgment about it. The general guidelines are there – gold rises in the times of crises – but that alone is not enough to make successful trades. You need tactical information on its movement and tactical levels to watch. And its recent drop from $1700 to $1450 is another justification for that. If you bought gold even at the lows of $1600 expecting it to reverse upward on the spooked market mood, you would lose your funds by the current moment.
So again, what’s happening?
Red pill #2First, you have to factor-in market unpredictability into your general trading methodology. More precisely, you have to factor-in the fact the sometimes you will see prices move the way you cannot predict and do not understand. And that has nothing to do with available information: in hindsight, you can explain almost any phenomenon on the Forex market, regardless of your level of situational awareness. For example, how can we explain the recent performance of the gold price? Observers’ opinions vary from blunt references to omnipresent panic that nullifies the safe-haven immunity of gold to sophisticated schemes that advocate selling off this metal to suppress its automatically increasing equity share fueled by other assets’ reduction. While both may be relevant, for you that means one honest confession cited by Bloomberg after US Fed’s failure to make markets happy by the rate cut:
"The traditional rules are out of order and there is nothing which can be classified as a safe haven – not even gold".
Note: this “even” underlines that fundamentally, gold has an undisputed recognition as a reserve asset, but at the moment, it does not function as it normally would.
Blue pillSteel started gaining value as it seems to be a “newly-founded” safe-haven asset as seen from the perspective of the Chinese market. But we are not suggesting you piling up steel rods in your backyard.
The suggestion is: be flexible. Treat gold as your usual currency pair. Don’t take it for granted that it is “supposed” to rise in bad times. It is not, as you have already learned. Not always, at least. And one apparently cannot really know when it follows the default rule, and when it doesn’t. But one can always apply the same rules of observation and market interpretation which are applied to the rest of the Forex market. Follow the trend, reinforce it with fundamentals. If these don’t work, go technical. Once you have indications for upward reversal – buy. Once you have a downward move anticipated – short. Currently, from a purely technical perspective, a short-term upward correction is likely to happen because there is no fundamental reason to press on for a non-stop plunge while the Awesome Oscillator and the hesitation at the current level of $1470 indicate an upward-sideways mood.
Blue pill #2No pain no gain. But as Warren Buffet said, Mr. Market doesn’t force you to trade. If you feel like you are confident to do it, you are welcome – you have all the instruments, and FBS is all but available to help you. If not – come any other minute, hour or day – he will always be glad to serve you with opportunities to make profits.
P. S.However, keep in mind that Mr. Market, although happy to serve you endless chances of benefit, doesn’t decide when the next coronavirus comes. Therefore, don’t lose your chance to use this once-in-a-decade strike of nature to your financial advantage.
submitted by Horizon_Trading to u/Horizon_Trading [link] [comments]
A New EraAlthough it might seem easy to invest in Forex nowadays, by just logging into an account with a broker, deposit some money and start actively trading; it has not always been like this, as forex industry has rapidly changed in the past three decades.
Before technology and free-floating currencies took over the industry, world currency exchanges were operating under the Bretton Woods System of Money Management. This agreement established rules for commercial and financial relations among top economies, tying their currencies to gold. Hence, a currency note issued by any world government represented a real amount of gold held in a vault by that nation. When in July 1944 delegates from all over the world sign off the pact, the main goal was to reduce lack of cooperation between countries and therefore avoiding currency wars. This process of regulating the foreign exchange brought to the foundation of the international money fund (IMF) and the International Bank of Reconstruction and Development (IBRD), today part of World bank Group.
However, in the early 70s the real-world economics outpaced the system, dollar suffered from severe inflation cutting its value by half. At that time unemployment rate was 6.1% and inflation 5.84%. Finally, in August 1971, U.S. government led by Richard Nixon took away gold standard, creating the first fiat currency and replacing Bretton Woods System with De Facto. Together with this there were other important measures taken by the USA president to combat that high inflation regime:
1971 represents the beginning of a new forex trading era, bringing this market to be the largest and most liquid in the world, with an average of daily trading volume exceeding $5trn. All the world’s combined stock markets don t even come close to this, what does this mean to you?
In an environment which is controlled by free-floating currencies moving constantly, following principles of supply and demand, there are constant and exciting trading opportunities, unavailable when investing in different markets.
In this article are shared main features of what is forex trading today and how can be an incredible new source of income for everyone who is into financial markets.
What Is Forex?Forex is the acronym for foreign exchange which intends to be a decentralized or over the counter (OTC) marketplace, where currencies from all over the world are traded 24 hours, five days a week. Main financial centres include New York, Chicago, London, Tokyo and Frankfurt for Eurozone. It is by far the largest market in the world in terms of volume, followed by the credit market. Being highly liquid is an important feature that allows traders to be able to enter and exit their positions very quickly. Nevertheless, while trading forex, an investor should be aware of several components:
Dynamicity – forex is an extremely fast environment, this means that currency rates can move very fast, influenced by price action signals and fundamental factors. Therefore, going into forex trading, one needs to be aware of adopting serious risk and money management strategies in order to be effective, limiting losses.
Zero Sum Game – trading forex is not like investing in the stock market but is known to be a zero-sum game. For example, going into the equity market buying some tech shares, they could both rise or decrease in value. In forex is different because currencies work in pairs; for instance, an investor decides Euro will go up he or she is doing it against another currency. Thus, in this specific marketplace one currency will rise while the other will fall, meaning an investor is buying the currency hoping it will appreciate to the other, or selling the one that will depreciate.
See image below:
Figure 1: Main traded currency pairs
Currency pairs are composed by a base and a price currency. Main forex trading principle is how much price currency an investor can buy using 1 unit of the base, thus, the base currency, which is the first one in line within the quotation, is always equal to 1.
Because like every financial instrument currency pairs are driven by fundamentals of supply and demand, forex is intensively influenced by geopolitical and macroeconomic factors.
Capital Markets – these are the most visible indicators of a country economic health, where usually the healthier the economy the stronger the currency. For example, a rapid sell-off from a country will show that nation is not economically stable, subsequently investors will think negatively of it depreciating its currency.
Moreover, many countries are sector driven, this means that their currencies are strictly correlated with certain resources. For instance, Canada which is a commodity-based market, CAD is strictly linked to price of Brent and metals, a swing in those will affect the Canadian currency.
Finally, credit market is also connected to forex since also relies heavily on interest rate so, a change in bond yield will have major impact on currency prices. like increase in yield will favour bullish market for USD
International Trade – Trade levels serve as a proxy for relative demand of goods from a nation, a country which goods and services that are in high demand internationally, will experience an appreciation to its currency. This is an effect driven by all other countries converting their currencies into the one of that state to purchase its goods and services. Let’s say a product from USA is in high demand globally, all the other countries must sell their currencies to buy dollars to then see their goods shipped, thus USD will appreciate.
Trade surplus and deficit also indicate a nation competitive standing in international trade. Countries with a large trade deficit are usually importers resulting in more of their currencies being sold to buy goods worldwide, thus they will see their currencies devaluate.
Geopolitics – The political landscape of a nation places a major role in the economic outlook for that country and consequently, the perceived value of its own currency. Beside building up price action strategies, based purely on price levels, forex traders constantly look at economic calendars and news to gauge what could move currencies. A geopolitical event which is having a great impact on GBP, is the election of Boris Johnson as UK prime minister, driving the local currency to 2 years low, yesterday 29th of July 2019. Therefore, when investors observe instability from a nation political environment, there are high chances that the currency of that country will depreciate.
Why Trading ForexBeside swapping from a gold standard to free-floating, which change the whole forex trading game, technology is another crucial factor that helped this financial sector to spread globally. With the introduction of internet in the 90s forex opened to retail investors giving access to various trading platforms. The introduction of online platforms and retail investments have increased forex market volume by 5%, up to $250bn of its daily turnover. Different traders may have different reasons for selecting forex, however, mostly is because this is a fertile market plenty of daily opportunities to gauge price action and profit from it.
VolatilityHow traders profit from trading forex? Basics of trading are rather simple to understand. An investor buys an asset at a certain price hoping to get rid of it for a higher price. The more volatile is the market for that specific financial instrument, the more revenue is possible to make. Therefore, a trader is looking for long up and down moves rather than market fluctuating sideways.
Volatility is great in forex and a trader can expect to regularly see prices oscillating 50-100 pips on major currency pairs almost any day of the week. Yet again, due to this enormous constant fluctuation, potential losses or gains can be very high thus, rigours money management must be applied to avoid major damages and become a profitable trader. To conclude, volatility is the main characteristic investors are looking at and that is why it is one of the main feature traders can take advantage.
See image below:
Figure 2: FDAX Volatility, H4 (30th May 2019, 16:00, 30th July 2019, 16:00)
Accessibility & TechnologyWhile volatility is the most important element out in the market that tell us why forex is the best market to trade, accessibility comes straight after. This market is more accessible than all the others, trading forex requires an online desk position and as little as $100 to start off an account.
In comparison with the other financial markets, forex requires a rather low trading capital. Moreover, trading forex can be easily accessible from your PC, tablet or mobile since most of retail broker firms operate online. Although, accessibility cannot tell the quality of the market by itself, it definitely shows a reason why many investors try their first trading experience on forex.
Also, the rapid introduction of technology since the 90s, made trading much easier. There are every year more advanced online platforms to trade on with many possible updates and that is why trading forex is edging for many global investors.
Forex PlayersBefore the introduction of free-floating currency and more importantly cutting hedge technology, forex was a market that could have been traded only by institutional investors. Nowadays however, even retail and individual investor can take advantage of the huge volume forex offers every day.
Interbank market is the major responsible for the high volume registered daily in forex. This is the place where banks exchange currency among each other, facilitating forex transactions for customers and speculate for their trading desks.
Central banks representing their nation’s government, are crucial in forex. They oversee monetary and fiscal policies having massive influence on currency rates. A central bank is responsible for fixing the price level of its native currency on the market, in other words they take care of the regime currencies will float in the open market.
Portfolio managers and hedge funds are the second investors in forex after central and investment banks. They are hired by huge institutions such as pension to manage their assets. However while portfolio managers of pool funds will buy currency to speculate on foreign securities, hedge funds execute speculative trades as part of their strategies.
Also international corporation play a big role in forex. Those firms operating globally, buying and selling goods and services are involved in forex transactions daily. Imagine an American company producing pipes that imports Japanese components and sell the finished product to China. After the sale is closed the CYN must be converted back to USD, while the American company must exchange USD into JPY to repay for the components supply.
Moreover, company involved in international trade have an interest in forex in order to hedge the risk associated with currencies fluctuations making several foreign exchange transactions. For instance, the same American company might buy JPY at spot rate, or enter a swap agreement to obtain JPY in advance, overtaking the risk of the Japanese currency to rise in the future. Therefore, forex become crucial to run companies with many subsidiaries and suppliers all over the word.
Individual & Retail Investors
Even though this investor cluster brings to forex a very limited volume compared to financial institutions and corporations, it is rapidly growing in numbers and popularity. These base their trades on a mixture of fundamentals and technical analysis.
Bottom line, main reason why forex is the most traded market in the world is because gives everyone, from top financial institutions to retail and individual trades, opportunities to make returns on capital invested from currencies price fluctuations related to global economy.
import datetime import pandas as pd url = 'https://sampledata.fxcorporate.com/sentiment/EURUSD.csv.gz' data = pd.read_csv(url, compression='gzip', index_col='DateTime', parse_dates=True) """Convert data into GMT to match the price data we will download later""" import pytz data = data.tz_localize(pytz.timezone('US/Eastern')) data = data.tz_convert(pytz.timezone('GMT')) """Use pivot method to pivot Name rows into columns""" sentiment_pvt = data.tz_localize(None).pivot(columns='Name', values='Value')Now that we have downloaded sentiment data, it would be helpful to have the price data for the same instrument over the same period for analysis. Note the sentiment data is in 1-minute increments, so I will need to pull 1-minute EURUSD candles. We could pull this data into a DataFrame quickly and easily using fxcmpy, however the limit of the number of candles we can pull using fxcmpy is 10,000, which is fewer than the number of 1-minute candles in January 2018. Instead, we can download the candles in 1-week packages from FXCM’s GitHub and create a loop to compile them into a DataFrame. This sounds like a lot of work, but really it’s only a few lines of code. Similarly to the sentiment data, historical candle data is stored in GNU zip files which can be called by their URL.
url = 'https://candledata.fxcorporate.com/' periodicity='m1' ##periodicity, can be m1, H1, D1 url_suffix = '.csv.gz' symbol = 'EURUSD' start_dt = datetime.date(2018,1,2)##select start date end_dt = datetime.date(2018,2,1)##select end date start_wk = start_dt.isocalendar() end_wk = end_dt.isocalendar() year = str(start_dt.isocalendar()) data=pd.DataFrame() for i in range(start_wk, end_wk+1): url_data = url + periodicity + '/' + symbol + '/' + year + '/' + str(i) + url_suffix print(url_data) tempdata = pd.read_csv(url_data, compression='gzip', index_col='DateTime', parse_dates=True) data=pd.concat([data, tempdata]) """Combine price and sentiment data""" frames = data['AskClose'], sentiment_pvt.tz_localize(None) combineddf = pd.concat(frames, axis=1, join_axes=[sentiment_pvt.tz_localize(None).index], ignore_index=False).dropna() combineddfAt this point you can begin your exploratory data analysis. We started by viewing the descriptive statistics of the data, creating a heatmap of the correlation matrix, and plotting a histogram of the data to view its distribution. View this articleto see our sample code and the results.
A correlation coefficient of -1 indicates that the currency pairs are perfectly negatively correlated, that is, a higher value for one pair tends to correspond to a lower value for the other. A positive correlation is a relationship between two currency pairs in which both pairs move in tandem. We can see the positive correlation between the demand for the product and its price, the price increases when the demand for the product increases. Similarly, in the forex market, currency pairs of positive correlation, both pairs go in ... Correlation Filter Type in the correlation criteria to find the least and/or most correlated forex currencies in real time. Correlation ranges from -100% to +100%, where -100% represents currencies moving in opposite directions (negative correlation) and +100% represents currencies moving in the same direction. Positive Correlation-Three of the most traded pairs in the Forex market -GBP/USD, AUD/USD, and EUR/USD are positively correlated with each other, as the counter currency is the US dollar. Therefore any change in the strength of the US dollar directly impacts the pair as a whole. If correlation should ever compute to 0, then both currency pairs possess no correlation to one another. Currency Pair Correlation Strength Visual Cue. There is a simple and highly effective forex correlation calculator at Investing.com.
[index]          
Forex Correlation: Simple Forex Strategy For Huge Profits Learn my simple approach to making money trading the forex in your spare time. In this video I expl... Yesterday I shared three trades with you on GBPUSD, GBPAUD and EURGBP. Two of these trades worked out and one hit my stop loss. I got a lot of questions abou... Get more tips: http://www.tradingheroes.com/blog/ The economies of certain countries are highly correlated to commodity markets. For example, the Canadian ec... In this webinar, Navin will be go over how the Urban Forex Strength Meter can be used to help you use Correlation with your Forex trading. Correlation can be... When currency pairs are correlated, it increases the probability of identifying winning forex trading setups. These are essential Forex trading strategies fo...