How to Backtest a Forex Trading Strategy Market Traders ...

My home-made bar replay for MT4

I made a home-made bar replay for MT4 as an alternative to the tradingview bar replay. You can change timeframes and use objects easily. It just uses vertical lines to block the future candles. Then it adjusts the vertical lines when you change zoom or time frames to keep the "future" bars hidden.
I am not a professional coder so this is not as robust as something like Soft4fx or Forex Tester. But for me it gets the job done and is very convenient. Maybe you will find some benefit from it.

Here are the steps to use it:
1) copy the text from the code block
2) go to MT4 terminal and open Meta Editor (click icon or press F4)
3) go to File -> New -> Expert Advisor
4) put in a title and click Next, Next, Finish
5) Delete all text from new file and paste in text from code block
6) go back to MT4
7) Bring up Navigator (Ctrl+N if it's not already up)
8) go to expert advisors section and find what you titled it
9) open up a chart of the symbol you want to test
10) add the EA to this chart
11) specify colors and start time in inputs then press OK
12) use "S" key on your keyboard to advance 1 bar of current time frame
13) use tool bar buttons to change zoom and time frames, do objects, etc.
14) don't turn on auto scroll. if you do by accident, press "S" to return to simulation time.
15) click "buy" and "sell" buttons (white text, top center) to generate entry, TP and SL lines to track your trade
16) to cancel or close a trade, press "close order" then click the white entry line
17) drag and drop TP/SL lines to modify RR
18) click "End" to delete all objects and remove simulation from chart
19) to change simulation time, click "End", then add the simulator EA to your chart with a new start time
20) When you click "End", your own objects will be deleted too, so make sure you are done with them
21) keep track of your own trade results manually
22) use Tools-> History center to download new data if you need it. the simulator won't work on time frames if you don't have historical data going back that far, but it will work on time frames that you have the data for. If you have data but its not appearing, you might also need to increase max bars in chart in Tools->Options->Charts.
23) don't look at status bar if you are moused over hidden candles, or to avoid this you can hide the status bar.


Here is the code block.
//+------------------------------------------------------------------+ //| Bar Replay V2.mq4 | //| Copyright 2020, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2020, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" #property strict #define VK_A 0x41 #define VK_S 0x53 #define VK_X 0x58 #define VK_Z 0x5A #define VK_V 0x56 #define VK_C 0x43 #define VK_W 0x57 #define VK_E 0x45 double balance; string balance_as_string; int filehandle; int trade_ticket = 1; string objectname; string entry_line_name; string tp_line_name; string sl_line_name; string one_R_line_name; double distance; double entry_price; double tp_price; double sl_price; double one_R; double TP_distance; double gain_in_R; string direction; bool balance_file_exist; double new_balance; double sl_distance; string trade_number; double risk; double reward; string RR_string; int is_tp_or_sl_line=0; int click_to_cancel=0; input color foreground_color = clrWhite; input color background_color = clrBlack; input color bear_candle_color = clrRed; input color bull_candle_color = clrSpringGreen; input color current_price_line_color = clrGray; input string start_time = "2020.10.27 12:00"; input int vertical_margin = 100; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { Comment(""); ChartNavigate(0,CHART_BEGIN,0); BlankChart(); ChartSetInteger(0,CHART_SHIFT,true); ChartSetInteger(0,CHART_FOREGROUND,false); ChartSetInteger(0,CHART_AUTOSCROLL,false); ChartSetInteger(0,CHART_SCALEFIX,false); ChartSetInteger(0,CHART_SHOW_OBJECT_DESCR,true); if (ObjectFind(0,"First OnInit")<0){ CreateStorageHLine("First OnInit",1);} if (ObjectFind(0,"Simulation Time")<0){ CreateTestVLine("Simulation Time",StringToTime(start_time));} string vlinename; for (int i=0; i<=1000000; i++){ vlinename="VLine"+IntegerToString(i); ObjectDelete(vlinename); } HideBars(SimulationBarTime(),0); //HideBar(SimulationBarTime()); UnBlankChart(); LabelCreate("New Buy Button","Buy",0,38,foreground_color); LabelCreate("New Sell Button","Sell",0,41,foreground_color); LabelCreate("Cancel Order","Close Order",0,44,foreground_color); LabelCreate("Risk To Reward","RR",0,52,foreground_color); LabelCreate("End","End",0,35,foreground_color); ObjectMove(0,"First OnInit",0,0,0); //--- create timer EventSetTimer(60); return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Expert deinitialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { //--- destroy timer EventKillTimer(); } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { //--- } //+------------------------------------------------------------------+ //| ChartEvent function | //+------------------------------------------------------------------+ void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam) { if (id==CHARTEVENT_CHART_CHANGE){ int chartscale = ChartGetInteger(0,CHART_SCALE,0); int lastchartscale = ObjectGetDouble(0,"Last Chart Scale",OBJPROP_PRICE,0); if (chartscale!=lastchartscale){ int chartscale = ChartGetInteger(0,CHART_SCALE,0); ObjectMove(0,"Last Chart Scale",0,0,chartscale); OnInit(); }} if (id==CHARTEVENT_KEYDOWN){ if (lparam==VK_S){ IncreaseSimulationTime(); UnHideBar(SimulationPosition()); NavigateToSimulationPosition(); CreateHLine(0,"Current Price",Close[SimulationPosition()+1],current_price_line_color,1,0,true,false,false,"price"); SetChartMinMax(); }} if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam=="New Sell Button") { distance = iATR(_Symbol,_Period,20,SimulationPosition()+1)/2; objectname = "Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1],foreground_color,2,5,false,true,true,"Sell"); objectname = "TP for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]-distance*2,clrAqua,2,5,false,true,true,"TP"); objectname = "SL for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]+distance,clrRed,2,5,false,true,true,"SL"); trade_ticket+=1; } } if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam=="New Buy Button") { distance = iATR(_Symbol,_Period,20,SimulationPosition()+1)/2; objectname = "Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1],foreground_color,2,5,false,true,true,"Buy"); objectname = "TP for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]+distance*2,clrAqua,2,5,false,true,true,"TP"); objectname = "SL for Trade # "+IntegerToString(trade_ticket); CreateHLine(0,objectname,Close[SimulationPosition()+1]-distance,clrRed,2,5,false,true,true,"SL"); trade_ticket+=1; } } if(id==CHARTEVENT_OBJECT_DRAG) { if(StringFind(sparam,"TP",0)==0) { is_tp_or_sl_line=1; } if(StringFind(sparam,"SL",0)==0) { is_tp_or_sl_line=1; } Comment(is_tp_or_sl_line); if(is_tp_or_sl_line==1) { trade_number = StringSubstr(sparam,7,9); entry_line_name = trade_number; tp_line_name = "TP for "+entry_line_name; sl_line_name = "SL for "+entry_line_name; entry_price = ObjectGetDouble(0,entry_line_name,OBJPROP_PRICE,0); tp_price = ObjectGetDouble(0,tp_line_name,OBJPROP_PRICE,0); sl_price = ObjectGetDouble(0,sl_line_name,OBJPROP_PRICE,0); sl_distance = MathAbs(entry_price-sl_price); TP_distance = MathAbs(entry_price-tp_price); reward = TP_distance/sl_distance; RR_string = "RR = 1 : "+DoubleToString(reward,2); ObjectSetString(0,"Risk To Reward",OBJPROP_TEXT,RR_string); is_tp_or_sl_line=0; } } if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam=="Cancel Order") { click_to_cancel=1; Comment("please click the entry line of the order you wish to cancel."); } } if(id==CHARTEVENT_OBJECT_CLICK) { if(sparam!="Cancel Order") { if(click_to_cancel==1) { if(ObjectGetInteger(0,sparam,OBJPROP_TYPE,0)==OBJ_HLINE) { entry_line_name = sparam; tp_line_name = "TP for "+sparam; sl_line_name = "SL for "+sparam; ObjectDelete(0,entry_line_name); ObjectDelete(0,tp_line_name); ObjectDelete(0,sl_line_name); click_to_cancel=0; ObjectSetString(0,"Risk To Reward",OBJPROP_TEXT,"RR"); } } } } if (id==CHARTEVENT_OBJECT_CLICK){ if (sparam=="End"){ ObjectsDeleteAll(0,-1,-1); ExpertRemove(); }} } //+------------------------------------------------------------------+ void CreateStorageHLine(string name, double value){ ObjectDelete(name); ObjectCreate(0,name,OBJ_HLINE,0,0,value); ObjectSetInteger(0,name,OBJPROP_SELECTED,false); ObjectSetInteger(0,name,OBJPROP_SELECTABLE,false); ObjectSetInteger(0,name,OBJPROP_COLOR,clrNONE); ObjectSetInteger(0,name,OBJPROP_BACK,true); ObjectSetInteger(0,name,OBJPROP_ZORDER,0); } void CreateTestHLine(string name, double value){ ObjectDelete(name); ObjectCreate(0,name,OBJ_HLINE,0,0,value); ObjectSetInteger(0,name,OBJPROP_SELECTED,false); ObjectSetInteger(0,name,OBJPROP_SELECTABLE,false); ObjectSetInteger(0,name,OBJPROP_COLOR,clrWhite); ObjectSetInteger(0,name,OBJPROP_BACK,true); ObjectSetInteger(0,name,OBJPROP_ZORDER,0); } bool IsFirstOnInit(){ bool bbb=false; if (ObjectGetDouble(0,"First OnInit",OBJPROP_PRICE,0)==1){return true;} return bbb; } void CreateTestVLine(string name, datetime timevalue){ ObjectDelete(name); ObjectCreate(0,name,OBJ_VLINE,0,timevalue,0); ObjectSetInteger(0,name,OBJPROP_SELECTED,false); ObjectSetInteger(0,name,OBJPROP_SELECTABLE,false); ObjectSetInteger(0,name,OBJPROP_COLOR,clrNONE); ObjectSetInteger(0,name,OBJPROP_BACK,false); ObjectSetInteger(0,name,OBJPROP_ZORDER,3); } datetime SimulationTime(){ return ObjectGetInteger(0,"Simulation Time",OBJPROP_TIME,0); } int SimulationPosition(){ return iBarShift(_Symbol,_Period,SimulationTime(),false); } datetime SimulationBarTime(){ return Time[SimulationPosition()]; } void IncreaseSimulationTime(){ ObjectMove(0,"Simulation Time",0,Time[SimulationPosition()-1],0); } void NavigateToSimulationPosition(){ ChartNavigate(0,CHART_END,-1*SimulationPosition()+15); } void NotifyNotEnoughHistoricalData(){ BlankChart(); Comment("Sorry, but there is not enough historical data to load this time frame."+"\n"+ "Please load more historical data or use a higher time frame. Thank you :)");} void UnHideBar(int barindex){ ObjectDelete(0,"VLine"+IntegerToString(barindex+1)); } void BlankChart(){ ChartSetInteger(0,CHART_COLOR_FOREGROUND,clrNONE); ChartSetInteger(0,CHART_COLOR_CANDLE_BEAR,clrNONE); ChartSetInteger(0,CHART_COLOR_CANDLE_BULL,clrNONE); ChartSetInteger(0,CHART_COLOR_CHART_DOWN,clrNONE); ChartSetInteger(0,CHART_COLOR_CHART_UP,clrNONE); ChartSetInteger(0,CHART_COLOR_CHART_LINE,clrNONE); ChartSetInteger(0,CHART_COLOR_GRID,clrNONE); ChartSetInteger(0,CHART_COLOR_ASK,clrNONE); ChartSetInteger(0,CHART_COLOR_BID,clrNONE);} void UnBlankChart(){ ChartSetInteger(0,CHART_COLOR_FOREGROUND,foreground_color); ChartSetInteger(0,CHART_COLOR_CANDLE_BEAR,bear_candle_color); ChartSetInteger(0,CHART_COLOR_CANDLE_BULL,bull_candle_color); ChartSetInteger(0,CHART_COLOR_BACKGROUND,background_color); ChartSetInteger(0,CHART_COLOR_CHART_DOWN,foreground_color); ChartSetInteger(0,CHART_COLOR_CHART_UP,foreground_color); ChartSetInteger(0,CHART_COLOR_CHART_LINE,foreground_color); ChartSetInteger(0,CHART_COLOR_GRID,clrNONE); ChartSetInteger(0,CHART_COLOR_ASK,clrNONE); ChartSetInteger(0,CHART_COLOR_BID,clrNONE);} void HideBars(datetime starttime, int shift){ int startbarindex = iBarShift(_Symbol,_Period,starttime,false); ChartNavigate(0,CHART_BEGIN,0); if (Time[WindowFirstVisibleBar()]>SimulationTime()){NotifyNotEnoughHistoricalData();} if (Time[WindowFirstVisibleBar()]=0; i--){ vlinename="VLine"+IntegerToString(i); ObjectCreate(0,vlinename,OBJ_VLINE,0,Time[i],0); ObjectSetInteger(0,vlinename,OBJPROP_COLOR,background_color); ObjectSetInteger(0,vlinename,OBJPROP_BACK,false); ObjectSetInteger(0,vlinename,OBJPROP_WIDTH,vlinewidth); ObjectSetInteger(0,vlinename,OBJPROP_ZORDER,10); ObjectSetInteger(0,vlinename,OBJPROP_FILL,true); ObjectSetInteger(0,vlinename,OBJPROP_STYLE,STYLE_SOLID); ObjectSetInteger(0,vlinename,OBJPROP_SELECTED,false); ObjectSetInteger(0,vlinename,OBJPROP_SELECTABLE,false); } NavigateToSimulationPosition(); SetChartMinMax();} }//end of HideBars function void SetChartMinMax(){ int firstbar = WindowFirstVisibleBar(); int lastbar = SimulationPosition(); int lastbarwhenscrolled = WindowFirstVisibleBar()-WindowBarsPerChart(); if (lastbarwhenscrolled>lastbar){lastbar=lastbarwhenscrolled;} double highest = High[iHighest(_Symbol,_Period,MODE_HIGH,firstbar-lastbar,lastbar)]; double lowest = Low[iLowest(_Symbol,_Period,MODE_LOW,firstbar-lastbar,lastbar)]; ChartSetInteger(0,CHART_SCALEFIX,true); ChartSetDouble(0,CHART_FIXED_MAX,highest+vertical_margin*_Point); ChartSetDouble(0,CHART_FIXED_MIN,lowest-vertical_margin*_Point); } void LabelCreate(string labelname, string labeltext, int row, int column, color labelcolor){ int ylocation = row*18; int xlocation = column*10; ObjectCreate(0,labelname,OBJ_LABEL,0,0,0); ObjectSetString(0,labelname,OBJPROP_TEXT,labeltext); ObjectSetInteger(0,labelname,OBJPROP_COLOR,labelcolor); ObjectSetInteger(0,labelname,OBJPROP_FONTSIZE,10); ObjectSetInteger(0,labelname,OBJPROP_ZORDER,10); ObjectSetInteger(0,labelname,OBJPROP_BACK,false); ObjectSetInteger(0,labelname,OBJPROP_CORNER,CORNER_LEFT_UPPER); ObjectSetInteger(0,labelname,OBJPROP_ANCHOR,ANCHOR_LEFT_UPPER); ObjectSetInteger(0,labelname,OBJPROP_XDISTANCE,xlocation); ObjectSetInteger(0,labelname,OBJPROP_YDISTANCE,ylocation);} double GetHLinePrice(string name){ return ObjectGetDouble(0,name,OBJPROP_PRICE,0); } void CreateHLine(int chartid, string objectnamey, double objectprice, color linecolor, int width, int zorder, bool back, bool selected, bool selectable, string descriptionn) { ObjectDelete(chartid,objectnamey); ObjectCreate(chartid,objectnamey,OBJ_HLINE,0,0,objectprice); ObjectSetString(chartid,objectnamey,OBJPROP_TEXT,objectprice); ObjectSetInteger(chartid,objectnamey,OBJPROP_COLOR,linecolor); ObjectSetInteger(chartid,objectnamey,OBJPROP_WIDTH,width); ObjectSetInteger(chartid,objectnamey,OBJPROP_ZORDER,zorder); ObjectSetInteger(chartid,objectnamey,OBJPROP_BACK,back); ObjectSetInteger(chartid,objectnamey,OBJPROP_SELECTED,selected); ObjectSetInteger(chartid,objectnamey,OBJPROP_SELECTABLE,selectable); ObjectSetString(0,objectnamey,OBJPROP_TEXT,descriptionn); } //end of code 
submitted by Learning_2 to Forex [link] [comments]

Former investment bank FX trader: Risk management part II

Former investment bank FX trader: Risk management part II
Firstly, thanks for the overwhelming comments and feedback. Genuinely really appreciated. I am pleased 500+ of you find it useful.
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.
Part II
  • Letting stops breathe
  • When to change a stop
  • Entering and exiting winning positions
  • Risk:reward ratios
  • Risk-adjusted returns

Letting stops breathe

We 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 stop

As 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 positions

Take 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 orders

That 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 ratios

Be 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 returns

Not 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 ratio

The Sharpe ratio works like this:
  • It takes the average returns of your strategy;
  • It deducts from these the risk-free rate of return i.e. the rate anyone could have got by investing in US government bonds with very little risk;
  • It then divides this total return by its own volatility - the more smooth the return the higher and better the Sharpe, the more volatile the lower and worse the Sharpe.
For example, say the return last year was 15% with a volatility of 10% and US bonds are trading at 2%. That gives (15-2)/10 or a Sharpe ratio of 1.3. As a rule of thumb a Sharpe ratio of above 0.5 would be considered decent for a discretionary retail trader. Above 1 is excellent.
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.

VAR

VAR 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 III

Available here
Squeezes and other risks
Market positioning
Bet correlation
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.
submitted by getmrmarket to Forex [link] [comments]

Some trading wisdom, tools and information I picked up along the way that helped me be a better trader. Maybe it can help you too.

Its a bit lengthy and I tried to condense it as much as I can. So take everything at a high level as each subject is has a lot more depth but fundamentally if you distill it down its just taking simple things and applying your experience using them to add nuance and better deploy them.
There are exceptions to everything that you will learn with experience or have already learned. If you know something extra or something to add to it to implement it better or more accurately. Then great! However, my intention of this post is just a high level overview. Trading can be far too nuanced to go into in this post and would take forever to type up every exception (not to mention the traders individual personality). If you take the general information as a starting point, hopefully you will learn the edge cases long the way and learn how to use the more effectively if you end up using them. I apologize in advice for any errors or typos.
Introduction After reflecting on my fun (cough) trading journey that was more akin to rolling around on broken glass and wondering if brown glass will help me predict market direction better than green glass. Buying a $100 indicator at 2 am when I was acting a fool, looking at it and going at and going "This is a piece of lagging crap, I miss out on a large part of the fundamental move and never using it for even one trade". All while struggling with massive over trading and bad habits because I would get bored watching a single well placed trade on fold for the day. Also, I wanted to get rich quick.
On top all of that I had a terminal Stage 4 case of FOMO on every time the price would move up and then down then back up. Just think about all those extra pips I could have trading both directions as it moves across the chart! I can just sell right when it goes down, then buy right before it goes up again. Its so easy right? Well, turns out it was not as easy as I thought and I lost a fair chunk of change and hit my head against the wall a lot until it clicked. Which is how I came up with a mixed bag of things that I now call "Trade the Trade" which helped support how I wanted to trade so I can still trade intra day price action like a rabid money without throwing away all my bananas.
Why Make This Post? - Core Topic of Discussion I wish to share a concept I came up with that helped me become a reliable trader. Support the weakness of how I like to trade. Also, explaining what I do helps reinforce my understanding of the information I share as I have to put words to it and not just use internalized processes. I came up with a method that helped me get my head straight when trading intra day.
I call it "Trade the Trade" as I am making mini trades inside of a trade setup I make from analysis on a higher timeframe that would take multiple days to unfold or longer. I will share information, principles, techniques I used and learned from others I talked to on the internet (mixed bag of folks from armatures to professionals, and random internet people) that helped me form a trading style that worked for me. Even people who are not good at trading can say something that might make it click in your head so I would absorbed all the information I could get.I will share the details of how I approach the methodology and the tools in my trading belt that I picked up by filtering through many tools, indicators strategies and witchcraft. Hopefully you read something that ends up helping you be a better trader. I learned a lot from people who make community posts so I wanted to give back now that I got my ducks in a row.
General Trading Advice If your struggling finding your own trading style, fixing weakness's in it, getting started, being reliably profitable or have no framework to build yourself higher with, hopefully you can use the below advice to help provide some direction or clarity to moving forward to be a better trader.
  1. KEEP IT SIMPLE. Do not throw a million things on your chart from the get go or over analyzing what the market is doing while trying to learn the basics. Tons of stuff on your chart can actually slow your learning by distracting your focus on all your bells and whistles and not the price action.
  2. PRICE ACTION. Learn how to read price action. Not just the common formations, but larger groups of bars that form the market structure. Those formations carry more weight the higher the time frame they form on. If struggle to understand what is going on or what your looking at, move to a higher time frame.
  3. INDICATORS. If you do use them you should try to understand how every indicator you use calculates its values. Many indicators are lagging indicators, understanding how it calculates the values can help you learn how to identify the market structure before the indicator would trigger a signal . This will help you understand why the signal is a lagged signal. If you understand that you can easily learn to look at the price action right before the signal and learn to watch for that price action on top of it almost trigging a signal so you can get in at a better position and assume less downside risk. I recommend using no more than 1-2 indicators for simplicity, but your free to use as many as you think you think you need or works for your strategy/trading style.
  4. PSYCOLOGY. First, FOMO is real, don't feed the beast. When you trade you should always have an entry and exit. If you miss your entry do not chase it, wait for a new entry. At its core trading is gambling and your looking for an edge against the house (the other market participants). With that in mind, treat as such. Do not risk more than you can afford to lose. If you are afraid to lose it will negatively effect your trade decisions. Finally, be honest with your self and bad trading happens. No one is going to play trade cop and keep you in line, that's your job.
  5. TRADE DECISION MARKING: Before you enter any trade you should have an entry and exit area. As you learn price action you will get better entries and better exits. Use a larger zone and stop loss at the start while learning. Then you can tighten it up as you gain experience. If you do not have a area you wish to exit, or you are entering because "the markets looking like its gonna go up". Do not enter the trade. Have a reason for everything you do, if you cannot logically explain why then you probably should not be doing it.
  6. ROBOTS/ALGOS: Loved by some, hated by many who lost it all to one, and surrounded by scams on the internet. If you make your own, find a legit one that works and paid for it or lost it all on a crappy one, more power to ya. I do not use robots because I do not like having a robot in control of my money. There is too many edge cases for me to be ok with it.However, the best piece of advice about algos was that the guy had a algo/robot for each market condition (trending/ranging) and would make personalized versions of each for currency pairs as each one has its own personality and can make the same type of movement along side another currency pair but the price action can look way different or the move can be lagged or leading. So whenever he does his own analysis and he sees a trend, he turns the trend trading robot on. If the trend stops, and it starts to range he turns the range trading robot on. He uses robots to trade the market types that he is bad at trading. For example, I suck at trend trading because I just suck at sitting on my hands and letting my trade do its thing.

Trade the Trade - The Methodology

Base Principles These are the base principles I use behind "Trade the Trade". Its called that because you are technically trading inside your larger high time frame trade as it hopefully goes as you have analyzed with the trade setup. It allows you to scratch that intraday trading itch, while not being blind to the bigger market at play. It can help make sense of why the price respects, rejects or flat out ignores support/resistance/pivots.
  1. Trade Setup: Find a trade setup using high level time frames (daily, 4hr, or 1hr time frames). The trade setup will be used as a base for starting to figure out a bias for the markets direction for that day.
  2. Indicator Data: Check any indicators you use (I use Stochastic RSI and Relative Vigor Index) for any useful information on higher timeframes.
  3. Support Resistance: See if any support/resistance/pivot points are in currently being tested/resisted by the price. Also check for any that are within reach so they might become in play through out the day throughout the day (which can influence your bias at least until the price reaches it if it was already moving that direction from previous days/weeks price action).
  4. Currency Strength/Weakness: I use the TradeVision currency strength/weakness dashboard to see if the strength/weakness supports the narrative of my trade and as an early indicator when to keep a closer eye for signs of the price reversing.Without the tool, the same concept can be someone accomplished with fundamentals and checking for higher level trends and checking cross currency pairs for trends as well to indicate strength/weakness, ranging (and where it is in that range) or try to get some general bias from a higher level chart that may help you out. However, it wont help you intra day unless your monitoring the currency's index or a bunch of charts related to the currency.
  5. Watch For Trading Opportunities: Personally I make a mental short list and alerts on TradingView of currency pairs that are close to key levels and so I get a notification if it reaches there so I can check it out. I am not against trading both directions, I just try to trade my bias before the market tries to commit to a direction. Then if I get out of that trade I will scalp against the trend of the day and hold trades longer that are with it.Then when you see a opportunity assume the directional bias you made up earlier (unless the market solidly confirms with price action the direction while waiting for an entry) by trying to look for additional confirmation via indicators, price action on support/resistances etc on the low level time frame or higher level ones like hourly/4hr as the day goes on when the price reaches key areas or makes new market structures to get a good spot to enter a trade in the direction of your bias.Then enter your trade and use the market structures to determine how much of a stop you need. Once your in the trade just monitor it and watch the price action/indicators/tools you use to see if its at risk of going against you. If you really believe the market wont reach your TP and looks like its going to turn against you, then close the trade. Don't just hold on to it for principle and let it draw down on principle or the hope it does not hit your stop loss.
  6. Trade Duration Hold your trades as long or little as you want that fits your personality and trading style/trade analysis. Personally I do not hold trades past the end of the day (I do in some cases when a strong trend folds) and I do not hold trades over the weekends. My TP targets are always places I think it can reach within the day. Typically I try to be flat before I sleep and trade intra day price movements only. Just depends on the higher level outlook, I have to get in at really good prices for me to want to hold a trade and it has to be going strong. Then I will set a slightly aggressive stop on it before I leave. I do know several people that swing trade and hold trades for a long period of time. That is just not a trading style that works for me.
Enhance Your Success Rate Below is information I picked up over the years that helped me enhance my success rate with not only guessing intra day market bias (even if it has not broken into the trend for the day yet (aka pre London open when the end of Asia likes to act funny sometimes), but also with trading price action intra day.
People always say "When you enter a trade have an entry and exits. I am of the belief that most people do not have problem with the entry, its the exit. They either hold too long, or don't hold long enough. With the below tools, drawings, or instruments, hopefully you can increase your individual probability of a successful trade.
**P.S.*\* Your mileage will vary depending on your ability to correctly draw, implement and interpret the below items. They take time and practice to implement with a high degree of proficiency. If you have any questions about how to do that with anything listed, comment below and I will reply as I can. I don't want to answer the same question a million times in a pm.
Tools and Methods Used This is just a high level overview of what I use. Each one of the actions I could go way more in-depth on but I would be here for a week typing something up of I did that. So take the information as a base level understanding of how I use the method or tool. There is always nuance and edge cases that you learn from experience.
Conclusion
I use the above tools/indicators/resources/philosophy's to trade intra day price action that sometimes ends up as noise in the grand scheme of the markets movement.use that method until the price action for the day proves the bias assumption wrong. Also you can couple that with things like Stoch RSI + Relative Vigor Index to find divergences which can increase the probability of your targeted guesses.

Trade Example from Yesterday This is an example of a trade I took today and why I took it. I used the following core areas to make my trade decision.
It may seem like a lot of stuff to process on the fly while trying to figure out live price action but, for the fundamental bias for a pair should already baked in your mindset for any currency pair you trade. For the currency strength/weakness I stare at the dashboard 12-15 hours a day so I am always trying to keep a pulse on what's going or shifts so that's not really a factor when I want to enter as I would not look to enter if I felt the market was shifting against me. Then the higher timeframe analysis had already happened when I woke up, so it was a game of "Stare at the 5 min chart until the price does something interesting"
Trade Example: Today , I went long EUUSD long bias when I first looked at the chart after waking up around 9-10pm Eastern. Fortunately, the first large drop had already happened so I had a easy baseline price movement to work with. I then used tool for currency strength/weakness monitoring, Pivot Points, and bearish divergence detected using Stochastic RSI and Relative Vigor Index.
I first noticed Bearish Divergence on the 1hr time frame using the Stochastic RSI and got confirmation intra day on the 5 min time frame with the Relative Vigor Index. I ended up buying the second mini dip around midnight Eastern because it was already dancing along the pivot point that the price had been dancing along since the big drop below the pivot point and dipped below it and then shortly closed back above it. I put a stop loss below the first large dip. With a TP goal of the middle point pivot line
Then I waited for confirmation or invalidation of my trade. I ended up getting confirmation with Bearish Divergence from the second large dip so I tightened up my stop to below that smaller drip and waited for the London open. Not only was it not a lower low, I could see the divergence with the Relative Vigor Index.
It then ran into London and kept going with tons of momentum. Blew past my TP target so I let it run to see where the momentum stopped. Ended up TP'ing at the Pivot Point support/resistance above the middle pivot line.
Random Note: The Asian session has its own unique price action characteristics that happen regularly enough that you can easily trade them when they happen with high degrees of success. It takes time to learn them all and confidently trade them as its happening. If you trade Asia you should learn to recognize them as they can fake you out if you do not understand what's going on.

TL;DR At the end of the day there is no magic solution that just works. You have to find out what works for you and then what people say works for them. Test it out and see if it works for you or if you can adapt it to work for you. If it does not work or your just not interested then ignore it.
At the end of the day, you have to use your brain to make correct trading decisions. Blindly following indicators may work sometimes in certain market conditions, but trading with information you don't understand can burn you just as easily as help you. Its like playing with fire. So, get out there and grind it out. It will either click or it wont. Not everyone has the mindset or is capable of changing to be a successful trader. Trading is gambling, you do all this work to get a edge on the house. Trading without the edge or an edge you understand how to use will only leave your broker happy in the end.
submitted by marcusrider to Forex [link] [comments]

Everything You Always Wanted To Know About Swaps* (*But Were Afraid To Ask)

Hello, dummies
It's your old pal, Fuzzy.
As I'm sure you've all noticed, a lot of the stuff that gets posted here is - to put it delicately - fucking ridiculous. More backwards-ass shit gets posted to wallstreetbets than you'd see on a Westboro Baptist community message board. I mean, I had a look at the daily thread yesterday and..... yeesh. I know, I know. We all make like the divine Laura Dern circa 1992 on the daily and stick our hands deep into this steaming heap of shit to find the nuggets of valuable and/or hilarious information within (thanks for reading, BTW). I agree. I love it just the way it is too. That's what makes WSB great.
What I'm getting at is that a lot of the stuff that gets posted here - notwithstanding it being funny or interesting - is just... wrong. Like, fucking your cousin wrong. And to be clear, I mean the fucking your *first* cousin kinda wrong, before my Southerners in the back get all het up (simmer down, Billy Ray - I know Mabel's twice removed on your grand-sister's side). Truly, I try to let it slide. I do my bit to try and put you on the right path. Most of the time, I sleep easy no matter how badly I've seen someone explain what a bank liquidity crisis is. But out of all of those tens of thousands of misguided, autistic attempts at understanding the world of high finance, one thing gets so consistently - so *emphatically* - fucked up and misunderstood by you retards that last night I felt obligated at the end of a long work day to pull together this edition of Finance with Fuzzy just for you. It's so serious I'm not even going to make a u/pokimane gag. Have you guessed what it is yet? Here's a clue. It's in the title of the post.
That's right, friends. Today in the neighborhood we're going to talk all about hedging in financial markets - spots, swaps, collars, forwards, CDS, synthetic CDOs, all that fun shit. Don't worry; I'm going to explain what all the scary words mean and how they impact your OTM RH positions along the way.
We're going to break it down like this. (1) "What's a hedge, Fuzzy?" (2) Common Hedging Strategies and (3) All About ISDAs and Credit Default Swaps.
Before we begin. For the nerds and JV traders in the back (and anyone else who needs to hear this up front) - I am simplifying these descriptions for the purposes of this post. I am also obviously not going to try and cover every exotic form of hedge under the sun or give a detailed summation of what caused the financial crisis. If you are interested in something specific ask a question, but don't try and impress me with your Investopedia skills or technical points I didn't cover; I will just be forced to flex my years of IRL experience on you in the comments and you'll look like a big dummy.
TL;DR? Fuck you. There is no TL;DR. You've come this far already. What's a few more paragraphs? Put down the Cheetos and try to concentrate for the next 5-7 minutes. You'll learn something, and I promise I'll be gentle.
Ready? Let's get started.
1. The Tao of Risk: Hedging as a Way of Life
The simplest way to characterize what a hedge 'is' is to imagine every action having a binary outcome. One is bad, one is good. Red lines, green lines; uppie, downie. With me so far? Good. A 'hedge' is simply the employment of a strategy to mitigate the effect of your action having the wrong binary outcome. You wanted X, but you got Z! Frowny face. A hedge strategy introduces a third outcome. If you hedged against the possibility of Z happening, then you can wind up with Y instead. Not as good as X, but not as bad as Z. The technical definition I like to give my idiot juniors is as follows:
Utilization of a defensive strategy to mitigate risk, at a fraction of the cost to capital of the risk itself.
Congratulations. You just finished Hedging 101. "But Fuzzy, that's easy! I just sold a naked call against my 95% OTM put! I'm adequately hedged!". Spoiler alert: you're not (although good work on executing a collar, which I describe below). What I'm talking about here is what would be referred to as a 'perfect hedge'; a binary outcome where downside is totally mitigated by a risk management strategy. That's not how it works IRL. Pay attention; this is the tricky part.
You can't take a single position and conclude that you're adequately hedged because risks are fluid, not static. So you need to constantly adjust your position in order to maximize the value of the hedge and insure your position. You also need to consider exposure to more than one category of risk. There are micro (specific exposure) risks, and macro (trend exposure) risks, and both need to factor into the hedge calculus.
That's why, in the real world, the value of hedging depends entirely on the design of the hedging strategy itself. Here, when we say "value" of the hedge, we're not talking about cash money - we're talking about the intrinsic value of the hedge relative to the the risk profile of your underlying exposure. To achieve this, people hedge dynamically. In wallstreetbets terms, this means that as the value of your position changes, you need to change your hedges too. The idea is to efficiently and continuously distribute and rebalance risk across different states and periods, taking value from states in which the marginal cost of the hedge is low and putting it back into states where marginal cost of the hedge is high, until the shadow value of your underlying exposure is equalized across your positions. The punchline, I guess, is that one static position is a hedge in the same way that the finger paintings you make for your wife's boyfriend are art - it's technically correct, but you're only playing yourself by believing it.
Anyway. Obviously doing this as a small potatoes trader is hard but it's worth taking into account. Enough basic shit. So how does this work in markets?
2. A Hedging Taxonomy
The best place to start here is a practical question. What does a business need to hedge against? Think about the specific risk that an individual business faces. These are legion, so I'm just going to list a few of the key ones that apply to most corporates. (1) You have commodity risk for the shit you buy or the shit you use. (2) You have currency risk for the money you borrow. (3) You have rate risk on the debt you carry. (4) You have offtake risk for the shit you sell. Complicated, right? To help address the many and varied ways that shit can go wrong in a sophisticated market, smart operators like yours truly have devised a whole bundle of different instruments which can help you manage the risk. I might write about some of the more complicated ones in a later post if people are interested (CDO/CLOs, strip/stack hedges and bond swaps with option toggles come to mind) but let's stick to the basics for now.
(i) Swaps
A swap is one of the most common forms of hedge instrument, and they're used by pretty much everyone that can afford them. The language is complicated but the concept isn't, so pay attention and you'll be fine. This is the most important part of this section so it'll be the longest one.
Swaps are derivative contracts with two counterparties (before you ask, you can't trade 'em on an exchange - they're OTC instruments only). They're used to exchange one cash flow for another cash flow of equal expected value; doing this allows you to take speculative positions on certain financial prices or to alter the cash flows of existing assets or liabilities within a business. "Wait, Fuzz; slow down! What do you mean sets of cash flows?". Fear not, little autist. Ol' Fuzz has you covered.
The cash flows I'm talking about are referred to in swap-land as 'legs'. One leg is fixed - a set payment that's the same every time it gets paid - and the other is variable - it fluctuates (typically indexed off the price of the underlying risk that you are speculating on / protecting against). You set it up at the start so that they're notionally equal and the two legs net off; so at open, the swap is a zero NPV instrument. Here's where the fun starts. If the price that you based the variable leg of the swap on changes, the value of the swap will shift; the party on the wrong side of the move ponies up via the variable payment. It's a zero sum game.
I'll give you an example using the most vanilla swap around; an interest rate trade. Here's how it works. You borrow money from a bank, and they charge you a rate of interest. You lock the rate up front, because you're smart like that. But then - quelle surprise! - the rate gets better after you borrow. Now you're bagholding to the tune of, I don't know, 5 bps. Doesn't sound like much but on a billion dollar loan that's a lot of money (a classic example of the kind of 'small, deep hole' that's terrible for profits). Now, if you had a swap contract on the rate before you entered the trade, you're set; if the rate goes down, you get a payment under the swap. If it goes up, whatever payment you're making to the bank is netted off by the fact that you're borrowing at a sub-market rate. Win-win! Or, at least, Lose Less / Lose Less. That's the name of the game in hedging.
There are many different kinds of swaps, some of which are pretty exotic; but they're all different variations on the same theme. If your business has exposure to something which fluctuates in price, you trade swaps to hedge against the fluctuation. The valuation of swaps is also super interesting but I guarantee you that 99% of you won't understand it so I'm not going to try and explain it here although I encourage you to google it if you're interested.
Because they're OTC, none of them are filed publicly. Someeeeeetimes you see an ISDA (dsicussed below) but the confirms themselves (the individual swaps) are not filed. You can usually read about the hedging strategy in a 10-K, though. For what it's worth, most modern credit agreements ban speculative hedging. Top tip: This is occasionally something worth checking in credit agreements when you invest in businesses that are debt issuers - being able to do this increases the risk profile significantly and is particularly important in times of economic volatility (ctrl+f "non-speculative" in the credit agreement to be sure).
(ii) Forwards
A forward is a contract made today for the future delivery of an asset at a pre-agreed price. That's it. "But Fuzzy! That sounds just like a futures contract!". I know. Confusing, right? Just like a futures trade, forwards are generally used in commodity or forex land to protect against price fluctuations. The differences between forwards and futures are small but significant. I'm not going to go into super boring detail because I don't think many of you are commodities traders but it is still an important thing to understand even if you're just an RH jockey, so stick with me.
Just like swaps, forwards are OTC contracts - they're not publicly traded. This is distinct from futures, which are traded on exchanges (see The Ballad Of Big Dick Vick for some more color on this). In a forward, no money changes hands until the maturity date of the contract when delivery and receipt are carried out; price and quantity are locked in from day 1. As you now know having read about BDV, futures are marked to market daily, and normally people close them out with synthetic settlement using an inverse position. They're also liquid, and that makes them easier to unwind or close out in case shit goes sideways.
People use forwards when they absolutely have to get rid of the thing they made (or take delivery of the thing they need). If you're a miner, or a farmer, you use this shit to make sure that at the end of the production cycle, you can get rid of the shit you made (and you won't get fucked by someone taking cash settlement over delivery). If you're a buyer, you use them to guarantee that you'll get whatever the shit is that you'll need at a price agreed in advance. Because they're OTC, you can also exactly tailor them to the requirements of your particular circumstances.
These contracts are incredibly byzantine (and there are even crazier synthetic forwards you can see in money markets for the true degenerate fund managers). In my experience, only Texan oilfield magnates, commodities traders, and the weirdo forex crowd fuck with them. I (i) do not own a 10 gallon hat or a novelty size belt buckle (ii) do not wake up in the middle of the night freaking out about the price of pork fat and (iii) love greenbacks too much to care about other countries' monopoly money, so I don't fuck with them.
(iii) Collars
No, not the kind your wife is encouraging you to wear try out to 'spice things up' in the bedroom during quarantine. Collars are actually the hedging strategy most applicable to WSB. Collars deal with options! Hooray!
To execute a basic collar (also called a wrapper by tea-drinking Brits and people from the Antipodes), you buy an out of the money put while simultaneously writing a covered call on the same equity. The put protects your position against price drops and writing the call produces income that offsets the put premium. Doing this limits your tendies (you can only profit up to the strike price of the call) but also writes down your risk. If you screen large volume trades with a VOL/OI of more than 3 or 4x (and they're not bullshit biotech stocks), you can sometimes see these being constructed in real time as hedge funds protect themselves on their shorts.
(3) All About ISDAs, CDS and Synthetic CDOs
You may have heard about the mythical ISDA. Much like an indenture (discussed in my post on $F), it's a magic legal machine that lets you build swaps via trade confirms with a willing counterparty. They are very complicated legal documents and you need to be a true expert to fuck with them. Fortunately, I am, so I do. They're made of two parts; a Master (which is a form agreement that's always the same) and a Schedule (which amends the Master to include your specific terms). They are also the engine behind just about every major credit crunch of the last 10+ years.
First - a brief explainer. An ISDA is a not in and of itself a hedge - it's an umbrella contract that governs the terms of your swaps, which you use to construct your hedge position. You can trade commodities, forex, rates, whatever, all under the same ISDA.
Let me explain. Remember when we talked about swaps? Right. So. You can trade swaps on just about anything. In the late 90s and early 2000s, people had the smart idea of using other people's debt and or credit ratings as the variable leg of swap documentation. These are called credit default swaps. I was actually starting out at a bank during this time and, I gotta tell you, the only thing I can compare people's enthusiasm for this shit to was that moment in your early teens when you discover jerking off. Except, unlike your bathroom bound shame sessions to Mom's Sears catalogue, every single person you know felt that way too; and they're all doing it at once. It was a fiscal circlejerk of epic proportions, and the financial crisis was the inevitable bukkake finish. WSB autism is absolutely no comparison for the enthusiasm people had during this time for lighting each other's money on fire.
Here's how it works. You pick a company. Any company. Maybe even your own! And then you write a swap. In the swap, you define "Credit Event" with respect to that company's debt as the variable leg . And you write in... whatever you want. A ratings downgrade, default under the docs, failure to meet a leverage ratio or FCCR for a certain testing period... whatever. Now, this started out as a hedge position, just like we discussed above. The purest of intentions, of course. But then people realized - if bad shit happens, you make money. And banks... don't like calling in loans or forcing bankruptcies. Can you smell what the moral hazard is cooking?
Enter synthetic CDOs. CDOs are basically pools of asset backed securities that invest in debt (loans or bonds). They've been around for a minute but they got famous in the 2000s because a shitload of them containing subprime mortgage debt went belly up in 2008. This got a lot of publicity because a lot of sad looking rednecks got foreclosed on and were interviewed on CNBC. "OH!", the people cried. "Look at those big bad bankers buying up subprime loans! They caused this!". Wrong answer, America. The debt wasn't the problem. What a lot of people don't realize is that the real meat of the problem was not in regular way CDOs investing in bundles of shit mortgage debts in synthetic CDOs investing in CDS predicated on that debt. They're synthetic because they don't have a stake in the actual underlying debt; just the instruments riding on the coattails. The reason these are so popular (and remain so) is that smart structured attorneys and bankers like your faithful correspondent realized that an even more profitable and efficient way of building high yield products with limited downside was investing in instruments that profit from failure of debt and in instruments that rely on that debt and then hedging that exposure with other CDS instruments in paired trades, and on and on up the chain. The problem with doing this was that everyone wound up exposed to everybody else's books as a result, and when one went tits up, everybody did. Hence, recession, Basel III, etc. Thanks, Obama.
Heavy investment in CDS can also have a warping effect on the price of debt (something else that happened during the pre-financial crisis years and is starting to happen again now). This happens in three different ways. (1) Investors who previously were long on the debt hedge their position by selling CDS protection on the underlying, putting downward pressure on the debt price. (2) Investors who previously shorted the debt switch to buying CDS protection because the relatively illiquid debt (partic. when its a bond) trades at a discount below par compared to the CDS. The resulting reduction in short selling puts upward pressure on the bond price. (3) The delta in price and actual value of the debt tempts some investors to become NBTs (neg basis traders) who long the debt and purchase CDS protection. If traders can't take leverage, nothing happens to the price of the debt. If basis traders can take leverage (which is nearly always the case because they're holding a hedged position), they can push up or depress the debt price, goosing swap premiums etc. Anyway. Enough technical details.
I could keep going. This is a fascinating topic that is very poorly understood and explained, mainly because the people that caused it all still work on the street and use the same tactics today (it's also terribly taught at business schools because none of the teachers were actually around to see how this played out live). But it relates to the topic of today's lesson, so I thought I'd include it here.
Work depending, I'll be back next week with a covenant breakdown. Most upvoted ticker gets the post.
*EDIT 1\* In a total blowout, $PLAY won. So it's D&B time next week. Post will drop Monday at market open.
submitted by fuzzyblankeet to wallstreetbets [link] [comments]

6 Price Action Retracement Entry Types You Need To Know

You've presumably heard "retracement" or "follow" much of the time in case you're keen on exchanging the monetary business sectors. Be that as it may, do you really understand what value retracements are, the reason they're so significant and how to appropriately exploit them? Maybe not, yet regardless of whether you do, the present exercise will reveal new insight into how to use these incredibly amazing business sector occasions…
A retracement in a market is a pretty simple idea to characterize and comprehend. Basically, it's actually what it seems like: a period when cost remembers back on an ongoing move, either up or down. Consider "remembering your means"; returning a similar way you came. It's fundamentally an inversion of an ongoing value move.
For what reason are retracements significant? For various reasons: They are occasions to enter the market at a "superior value", they take into account ideal stop misfortune arrangement, improved danger prize and then some. A remember passage is more traditionalist than a "market section" for instance and is viewed as a "more secure" passage type. Eventually, the objective of a dealer is get the best passage cost and oversee hazard on a par with conceivable while additionally expanding restores; the retracement section is a device that permits you to do every one of the three of these things.
This exercise will cover all parts of exchanging retracements and will assist you with understanding them better and put them to use to ideally improve your general exchanging execution.
Presently, how about we examine a portion of the Pros and Cons of retracement exchanging before we take a gander at some model graphs…
Professionals of Retracement Trading
We should discuss a portion of the many "Geniuses" of retracement exchanging. Frankly, retracement exchanging is fundamentally how you exchange like an expert rifleman, which, on the off chance that you've followed me for any timeframe, you know is my favored strategy for exchanging.
Higher Probability Entries – The very idea of a draw back or backtrack implies that cost is probably going to keep moving toward the underlying move when the follow closes. Henceforth, on the off chance that you see a solid value activity signal at a level after a retracement, it's high-likelihood passage since all signs are highlighting value bobbing starting there. Presently, it doesn't generally occur, however hanging tight for a remember to a level with a sign, is the most elevated likelihood way you can exchange. Markets pivot back to the "signify" or "normal" cost again and again; this is clear by taking a gander at any value outline for a couple of moments. Along these lines, when you see this revolution or backtrack occur, begin searching for a section point there in light of the fact that it's a lot higher-likelihood passage point than just entering "at market" like most brokers do.
Less Premature Stop-Outs – A retracement permits greater adaptability with stop misfortune arrangement. Essentially, in that you can put the prevent further away from any territory on the diagram that is probably going to be hit (if the exchange you're taking is to exercise by any stretch of the imagination). Setting prevents further away from key levels or moving midpoints or further away from a pin bar high or low for instance, gives the exchange a higher possibility of working out.
Visit توقعات الذهب اليوم
Better Risk Rewards – Retracement passages hypothetically permit you to put a "more tight" stop misfortune on an exchange since you're entering more like a key level or you're entering at a pin bar half level on an exchange section stunt passage for instance. In this way, should you decide to do as such, you can put a stop a lot nearer than if you entered an exchange that didn't occur after a follow or on the off chance that you entered a pin bar exchange at the high or low of the pin, for instance. Model: a 100 pip stop and 200 pip target can undoubtedly turn into a 50 pip stop and 250 pip focus on a follow passage. Note: you don't have to put a more tight stop, it's discretionary, however the choice IS There on a backtrack section in the event that you need it. The other option, utilizing a standard width stop has the benefit of diminishing the odds of an untimely stop out.
A danger prize can likewise be somewhat expanded regardless of whether you utilize a standard stop misfortune, rather than a "more tight one". Model: a 100 pip stop and a 200 pip target can without much of a stretch become a 100 pip stop and a 250 pip target. Why? This is on the grounds that a remember passage lets you enter the market when it has "more space" to run toward you, because of the way that cost has pulled back and it consequently has more separation to move before it follows again when contrasted with in the event that you entered at a "more awful cost" further up or down.
Cons of Retracement Trading
Obviously I will be straightforward with you and told you a portion of the "cons" of retracement exchanging, there are a not many that you ought to know about. Notwithstanding, this doesn't mean you shouldn't attempt to learn retracement exchanging and add it to your exchanging "tool stash", in light of the fact that the geniuses FAR exceed the cons.
More Missed Trades: Good exchanges will "move away" now and then when hanging tight for a retracement that doesn't occur, for instance. This can test your nerves and exchanging attitude and will bother even the best dealers. In any case, trust me, passing up exchanges isn't the most exceedingly terrible thing on the planet and it's smarter to pass up certain exchanges than to over-exchange, that is without a doubt.
Less Trades in General – A great deal of the time, advertises just don't remember enough to trigger the more moderate passage that returns with a force. All things being equal, they may simply prop up with insignificant retracements. This implies you will have less opportunities to exchange by and large when contrasted with somebody who isn't essentially hanging tight for follows.
Because of the over two focuses, retracement exchanging can be disappointing and takes unimaginable order. In any case, in the event that you build up this order you'll be WELL in front of the majority of losing dealers thus retracement exchanging can assist you with building up the control you should need to prevail at exchanging regardless of what passage technique you wind up utilizing.
Retracements Provide Flexibility in Stop Loss Placements
Setting your stop misfortune at some unacceptable point can get you taken out of an exchange rashly, that you in any case were spot on. By figuring out how to sit tight for market pull backs or retracements, you won't just enter the market at a higher-likelihood point, however you'll likewise have the option to put your stop misfortune at a lot more secure point on the diagram.
Regularly, dealers get debilitate in light of the fact that they get halted out of an exchange that actually they were spot on. Putting a stop misfortune at some unacceptable point on a diagram can get you removed from an exchange before the market truly gets an opportunity to get moving toward you. A retracement presents a clever answer for this issue by permitting you to put a more secure and more extensive stop misfortune on an exchange, giving you a superior possibility at bringing in cash on that exchange.
At the point when a market follows or pulls back, particularly inside a moving business sector, it is giving you an occasion to put your stop misfortune at a point on the outline that is significantly more averse to take you out of an exchange. Since most remembers occur into help or opposition levels, you can put the stop misfortune further past that level (more secure) which is fundamentally less inclined to be hit than if it was nearer to the level. Utilizing what I call a "standard" stop misfortune (not a tight one) in this case will give you the most obvious opportunity at keeping away from an untimely take out of an exchange.
submitted by LondonForex to u/LondonForex [link] [comments]

H1 Backtest of ParallaxFX's BBStoch system

Disclaimer: None of this is financial advice. I have no idea what I'm doing. Please do your own research or you will certainly lose money. I'm not a statistician, data scientist, well-seasoned trader, or anything else that would qualify me to make statements such as the below with any weight behind them. Take them for the incoherent ramblings that they are.
TL;DR at the bottom for those not interested in the details.
This is a bit of a novel, sorry about that. It was mostly for getting my own thoughts organized, but if even one person reads the whole thing I will feel incredibly accomplished.

Background

For those of you not familiar, please see the various threads on this trading system here. I can't take credit for this system, all glory goes to ParallaxFX!
I wanted to see how effective this system was at H1 for a couple of reasons: 1) My current broker is TD Ameritrade - their Forex minimum is a mini lot, and I don't feel comfortable enough yet with the risk to trade mini lots on the higher timeframes(i.e. wider pip swings) that ParallaxFX's system uses, so I wanted to see if I could scale it down. 2) I'm fairly impatient, so I don't like to wait days and days with my capital tied up just to see if a trade is going to win or lose.
This does mean it requires more active attention since you are checking for setups once an hour instead of once a day or every 4-6 hours, but the upside is that you trade more often this way so you end up winning or losing faster and moving onto the next trade. Spread does eat more of the trade this way, but I'll cover this in my data below - it ends up not being a problem.
I looked at data from 6/11 to 7/3 on all pairs with a reasonable spread(pairs listed at bottom above the TL;DR). So this represents about 3-4 weeks' worth of trading. I used mark(mid) price charts. Spreadsheet link is below for anyone that's interested.

System Details

I'm pretty much using ParallaxFX's system textbook, but since there are a few options in his writeups, I'll include all the discretionary points here:

And now for the fun. Results!

As you can see, a higher target ended up with higher profit despite a much lower winrate. This is partially just how things work out with profit targets in general, but there's an additional point to consider in our case: the spread. Since we are trading on a lower timeframe, there is less overall price movement and thus the spread takes up a much larger percentage of the trade than it would if you were trading H4, Daily or Weekly charts. You can see exactly how much it accounts for each trade in my spreadsheet if you're interested. TDA does not have the best spreads, so you could probably improve these results with another broker.
EDIT: I grabbed typical spreads from other brokers, and turns out while TDA is pretty competitive on majors, their minors/crosses are awful! IG beats them by 20-40% and Oanda beats them 30-60%! Using IG spreads for calculations increased profits considerably (another 5% on top) and Oanda spreads increased profits massively (another 15%!). Definitely going to be considering another broker than TDA for this strategy. Plus that'll allow me to trade micro-lots, so I can be more granular(and thus accurate) with my position sizing and compounding.

A Note on Spread

As you can see in the data, there were scenarios where the spread was 80% of the overall size of the trade(the size of the confirmation candle that you draw your fibonacci retracements over), which would obviously cut heavily into your profits.
Removing any trades where the spread is more than 50% of the trade width improved profits slightly without removing many trades, but this is almost certainly just coincidence on a small sample size. Going below 40% and even down to 30% starts to cut out a lot of trades for the less-common pairs, but doesn't actually change overall profits at all(~1% either way).
However, digging all the way down to 25% starts to really make some movement. Profit at the -161.8% TP level jumps up to 37.94% if you filter out anything with a spread that is more than 25% of the trade width! And this even keeps the sample size fairly large at 187 total trades.
You can get your profits all the way up to 48.43% at the -161.8% TP level if you filter all the way down to only trades where spread is less than 15% of the trade width, however your sample size gets much smaller at that point(108 trades) so I'm not sure I would trust that as being accurate in the long term.
Overall based on this data, I'm going to only take trades where the spread is less than 25% of the trade width. This may bias my trades more towards the majors, which would mean a lot more correlated trades as well(more on correlation below), but I think it is a reasonable precaution regardless.

Time of Day

Time of day had an interesting effect on trades. In a totally predictable fashion, a vast majority of setups occurred during the London and New York sessions: 5am-12pm Eastern. However, there was one outlier where there were many setups on the 11PM bar - and the winrate was about the same as the big hours in the London session. No idea why this hour in particular - anyone have any insight? That's smack in the middle of the Tokyo/Sydney overlap, not at the open or close of either.
On many of the hour slices I have a feeling I'm just dealing with small number statistics here since I didn't have a lot of data when breaking it down by individual hours. But here it is anyway - for all TP levels, these three things showed up(all in Eastern time):
I don't have any reason to think these timeframes would maintain this behavior over the long term. They're almost certainly meaningless. EDIT: When you de-dup highly correlated trades, the number of trades in these timeframes really drops, so from this data there is no reason to think these timeframes would be any different than any others in terms of winrate.
That being said, these time frames work out for me pretty well because I typically sleep 12am-7am Eastern time. So I automatically avoid the 5am-6am timeframe, and I'm awake for the majority of this system's setups.

Moving stops up to breakeven

This section goes against everything I know and have ever heard about trade management. Please someone find something wrong with my data. I'd love for someone to check my formulas, but I realize that's a pretty insane time commitment to ask of a bunch of strangers.
Anyways. What I found was that for these trades moving stops up...basically at all...actually reduced the overall profitability.
One of the data points I collected while charting was where the price retraced back to after hitting a certain milestone. i.e. once the price hit the -61.8% profit level, how far back did it retrace before hitting the -100% profit level(if at all)? And same goes for the -100% profit level - how far back did it retrace before hitting the -161.8% profit level(if at all)?
Well, some complex excel formulas later and here's what the results appear to be. Emphasis on appears because I honestly don't believe it. I must have done something wrong here, but I've gone over it a hundred times and I can't find anything out of place.
Now, you might think exactly what I did when looking at these numbers: oof, the spread killed us there right? Because even when you move your SL to 0%, you still end up paying the spread, so it's not truly "breakeven". And because we are trading on a lower timeframe, the spread can be pretty hefty right?
Well even when I manually modified the data so that the spread wasn't subtracted(i.e. "Breakeven" was truly +/- 0), things don't look a whole lot better, and still way worse than the passive trade management method of leaving your stops in place and letting it run. And that isn't even a realistic scenario because to adjust out the spread you'd have to move your stoploss inside the candle edge by at least the spread amount, meaning it would almost certainly be triggered more often than in the data I collected(which was purely based on the fib levels and mark price). Regardless, here are the numbers for that scenario:
From a literal standpoint, what I see behind this behavior is that 44 of the 69 breakeven trades(65%!) ended up being profitable to -100% after retracing deeply(but not to the original SL level), which greatly helped offset the purely losing trades better than the partial profit taken at -61.8%. And 36 went all the way back to -161.8% after a deep retracement without hitting the original SL. Anyone have any insight into this? Is this a problem with just not enough data? It seems like enough trades that a pattern should emerge, but again I'm no expert.
I also briefly looked at moving stops to other lower levels (78.6%, 61.8%, 50%, 38.2%, 23.6%), but that didn't improve things any. No hard data to share as I only took a quick look - and I still might have done something wrong overall.
The data is there to infer other strategies if anyone would like to dig in deep(more explanation on the spreadsheet below). I didn't do other combinations because the formulas got pretty complicated and I had already answered all the questions I was looking to answer.

2-Candle vs Confirmation Candle Stops

Another interesting point is that the original system has the SL level(for stop entries) just at the outer edge of the 2-candle pattern that makes up the system. Out of pure laziness, I set up my stops just based on the confirmation candle. And as it turns out, that is much a much better way to go about it.
Of the 60 purely losing trades, only 9 of them(15%) would go on to be winners with stops on the 2-candle formation. Certainly not enough to justify the extra loss and/or reduced profits you are exposing yourself to in every single other trade by setting a wider SL.
Oddly, in every single scenario where the wider stop did save the trade, it ended up going all the way to the -161.8% profit level. Still, not nearly worth it.

Correlated Trades

As I've said many times now, I'm really not qualified to be doing an analysis like this. This section in particular.
Looking at shared currency among the pairs traded, 74 of the trades are correlated. Quite a large group, but it makes sense considering the sort of moves we're looking for with this system.
This means you are opening yourself up to more risk if you were to trade on every signal since you are technically trading with the same underlying sentiment on each different pair. For example, GBP/USD and AUD/USD moving together almost certainly means it's due to USD moving both pairs, rather than GBP and AUD both moving the same size and direction coincidentally at the same time. So if you were to trade both signals, you would very likely win or lose both trades - meaning you are actually risking double what you'd normally risk(unless you halve both positions which can be a good option, and is discussed in ParallaxFX's posts and in various other places that go over pair correlation. I won't go into detail about those strategies here).
Interestingly though, 17 of those apparently correlated trades ended up with different wins/losses.
Also, looking only at trades that were correlated, winrate is 83%/70%/55% (for the three TP levels).
Does this give some indication that the same signal on multiple pairs means the signal is stronger? That there's some strong underlying sentiment driving it? Or is it just a matter of too small a sample size? The winrate isn't really much higher than the overall winrates, so that makes me doubt it is statistically significant.
One more funny tidbit: EUCAD netted the lowest overall winrate: 30% to even the -61.8% TP level on 10 trades. Seems like that is just a coincidence and not enough data, but dang that's a sucky losing streak.
EDIT: WOW I spent some time removing correlated trades manually and it changed the results quite a bit. Some thoughts on this below the results. These numbers also include the other "What I will trade" filters. I added a new worksheet to my data to show what I ended up picking.
To do this, I removed correlated trades - typically by choosing those whose spread had a lower % of the trade width since that's objective and something I can see ahead of time. Obviously I'd like to only keep the winning trades, but I won't know that during the trade. This did reduce the overall sample size down to a level that I wouldn't otherwise consider to be big enough, but since the results are generally consistent with the overall dataset, I'm not going to worry about it too much.
I may also use more discretionary methods(support/resistance, quality of indecision/confirmation candles, news/sentiment for the pairs involved, etc) to filter out correlated trades in the future. But as I've said before I'm going for a pretty mechanical system.
This brought the 3 TP levels and even the breakeven strategies much closer together in overall profit. It muted the profit from the high R:R strategies and boosted the profit from the low R:R strategies. This tells me pair correlation was skewing my data quite a bit, so I'm glad I dug in a little deeper. Fortunately my original conclusion to use the -161.8 TP level with static stops is still the winner by a good bit, so it doesn't end up changing my actions.
There were a few times where MANY (6-8) correlated pairs all came up at the same time, so it'd be a crapshoot to an extent. And the data showed this - often then won/lost together, but sometimes they did not. As an arbitrary rule, the more correlations, the more trades I did end up taking(and thus risking). For example if there were 3-5 correlations, I might take the 2 "best" trades given my criteria above. 5+ setups and I might take the best 3 trades, even if the pairs are somewhat correlated.
I have no true data to back this up, but to illustrate using one example: if AUD/JPY, AUD/USD, CAD/JPY, USD/CAD all set up at the same time (as they did, along with a few other pairs on 6/19/20 9:00 AM), can you really say that those are all the same underlying movement? There are correlations between the different correlations, and trying to filter for that seems rough. Although maybe this is a known thing, I'm still pretty green to Forex - someone please enlighten me if so! I might have to look into this more statistically, but it would be pretty complex to analyze quantitatively, so for now I'm going with my gut and just taking a few of the "best" trades out of the handful.
Overall, I'm really glad I went further on this. The boosting of the B/E strategies makes me trust my calculations on those more since they aren't so far from the passive management like they were with the raw data, and that really had me wondering what I did wrong.

What I will trade

Putting all this together, I am going to attempt to trade the following(demo for a bit to make sure I have the hang of it, then for keeps):
Looking at the data for these rules, test results are:
I'll be sure to let everyone know how it goes!

Other Technical Details

Raw Data

Here's the spreadsheet for anyone that'd like it. (EDIT: Updated some of the setups from the last few days that have fully played out now. I also noticed a few typos, but nothing major that would change the overall outcomes. Regardless, I am currently reviewing every trade to ensure they are accurate.UPDATE: Finally all done. Very few corrections, no change to results.)
I have some explanatory notes below to help everyone else understand the spiraled labyrinth of a mind that put the spreadsheet together.

Insanely detailed spreadsheet notes

For you real nerds out there. Here's an explanation of what each column means:

Pairs

  1. AUD/CAD
  2. AUD/CHF
  3. AUD/JPY
  4. AUD/NZD
  5. AUD/USD
  6. CAD/CHF
  7. CAD/JPY
  8. CHF/JPY
  9. EUAUD
  10. EUCAD
  11. EUCHF
  12. EUGBP
  13. EUJPY
  14. EUNZD
  15. EUUSD
  16. GBP/AUD
  17. GBP/CAD
  18. GBP/CHF
  19. GBP/JPY
  20. GBP/NZD
  21. GBP/USD
  22. NZD/CAD
  23. NZD/CHF
  24. NZD/JPY
  25. NZD/USD
  26. USD/CAD
  27. USD/CHF
  28. USD/JPY

TL;DR

Based on the reasonable rules I discovered in this backtest:

Demo Trading Results

Since this post, I started demo trading this system assuming a 5k capital base and risking ~1% per trade. I've added the details to my spreadsheet for anyone interested. The results are pretty similar to the backtest when you consider real-life conditions/timing are a bit different. I missed some trades due to life(work, out of the house, etc), so that brought my total # of trades and thus overall profit down, but the winrate is nearly identical. I also closed a few trades early due to various reasons(not liking the price action, seeing support/resistance emerge, etc).
A quick note is that TD's paper trade system fills at the mid price for both stop and limit orders, so I had to subtract the spread from the raw trade values to get the true profit/loss amount for each trade.
I'm heading out of town next week, then after that it'll be time to take this sucker live!

Live Trading Results

I started live-trading this system on 8/10, and almost immediately had a string of losses much longer than either my backtest or demo period. Murphy's law huh? Anyways, that has me spooked so I'm doing a longer backtest before I start risking more real money. It's going to take me a little while due to the volume of trades, but I'll likely make a new post once I feel comfortable with that and start live trading again.
submitted by ForexBorex to Forex [link] [comments]

No, the British did not steal $45 trillion from India

This is an updated copy of the version on BadHistory. I plan to update it in accordance with the feedback I got.
I'd like to thank two people who will remain anonymous for helping me greatly with this post (you know who you are)
Three years ago a festschrift for Binay Bhushan Chaudhuri was published by Shubhra Chakrabarti, a history teacher at the University of Delhi and Utsa Patnaik, a Marxist economist who taught at JNU until 2010.
One of the essays in the festschirt by Utsa Patnaik was an attempt to quantify the "drain" undergone by India during British Rule. Her conclusion? Britain robbed India of $45 trillion (or £9.2 trillion) during their 200 or so years of rule. This figure was immensely popular, and got republished in several major news outlets (here, here, here, here (they get the number wrong) and more recently here), got a mention from the Minister of External Affairs & returns 29,100 results on Google. There's also plenty of references to it here on Reddit.
Patnaik is not the first to calculate such a figure. Angus Maddison thought it was £100 million, Simon Digby said £1 billion, Javier Estaban said £40 million see Roy (2019). The huge range of figures should set off some alarm bells.
So how did Patnaik calculate this (shockingly large) figure? Well, even though I don't have access to the festschrift, she conveniently has written an article detailing her methodology here. Let's have a look.
How exactly did the British manage to diddle us and drain our wealth’ ? was the question that Basudev Chatterjee (later editor of a volume in the Towards Freedom project) had posed to me 50 years ago when we were fellow-students abroad.
This is begging the question.
After decades of research I find that using India’s commodity export surplus as the measure and applying an interest rate of 5%, the total drain from 1765 to 1938, compounded up to 2016, comes to £9.2 trillion; since $4.86 exchanged for £1 those days, this sum equals about $45 trillion.
This is completely meaningless. To understand why it's meaningless consider India's annual coconut exports. These are almost certainly a surplus but the surplus in trade is countered by the other country buying the product (indeed, by definition, trade surpluses contribute to the GDP of a nation which hardly plays into intuitive conceptualisations of drain).
Furthermore, Dewey (2019) critiques the 5% interest rate.
She [Patnaik] consistently adopts statistical assumptions (such as compound interest at a rate of 5% per annum over centuries) that exaggerate the magnitude of the drain
Moving on:
The exact mechanism of drain, or transfers from India to Britain was quite simple.
Convenient.
Drain theory possessed the political merit of being easily grasped by a nation of peasants. [...] No other idea could arouse people than the thought that they were being taxed so that others in far off lands might live in comfort. [...] It was, therefore, inevitable that the drain theory became the main staple of nationalist political agitation during the Gandhian era.
- Chandra et al. (1989)
The key factor was Britain’s control over our taxation revenues combined with control over India’s financial gold and forex earnings from its booming commodity export surplus with the world. Simply put, Britain used locally raised rupee tax revenues to pay for its net import of goods, a highly abnormal use of budgetary funds not seen in any sovereign country.
The issue with figures like these is they all make certain methodological assumptions that are impossible to prove. From Roy in Frankema et al. (2019):
the "drain theory" of Indian poverty cannot be tested with evidence, for several reasons. First, it rests on the counterfactual that any money saved on account of factor payments abroad would translate into domestic investment, which can never be proved. Second, it rests on "the primitive notion that all payments to foreigners are "drain"", that is, on the assumption that these payments did not contribute to domestic national income to the equivalent extent (Kumar 1985, 384; see also Chaudhuri 1968). Again, this cannot be tested. [...] Fourth, while British officers serving India did receive salaries that were many times that of the average income in India, a paper using cross-country data shows that colonies with better paid officers were governed better (Jones 2013).
Indeed, drain theory rests on some very weak foundations. This, in of itself, should be enough to dismiss any of the other figures that get thrown out. Nonetheless, I felt it would be a useful exercise to continue exploring Patnaik's take on drain theory.
The East India Company from 1765 onwards allocated every year up to one-third of Indian budgetary revenues net of collection costs, to buy a large volume of goods for direct import into Britain, far in excess of that country’s own needs.
So what's going on here? Well Roy (2019) explains it better:
Colonial India ran an export surplus, which, together with foreign investment, was used to pay for services purchased from Britain. These payments included interest on public debt, salaries, and pensions paid to government offcers who had come from Britain, salaries of managers and engineers, guaranteed profts paid to railway companies, and repatriated business profts. How do we know that any of these payments involved paying too much? The answer is we do not.
So what was really happening is the government was paying its workers for services (as well as guaranteeing profits - to promote investment - something the GoI does today Dalal (2019), and promoting business in India), and those workers were remitting some of that money to Britain. This is hardly a drain (unless, of course, Indian diaspora around the world today are "draining" it). In some cases, the remittances would take the form of goods (as described) see Chaudhuri (1983):
It is obvious that these debit items were financed through the export surplus on merchandise account, and later, when railway construction started on a large scale in India, through capital import. Until 1833 the East India Company followed a cumbersome method in remitting the annual home charges. This was to purchase export commodities in India out of revenue, which were then shipped to London and the proceeds from their sale handed over to the home treasury.
While Roy's earlier point argues better paid officers governed better, it is honestly impossible to say what part of the repatriated export surplus was a drain, and what was not. However calling all of it a drain is definitely misguided.
It's worth noting that Patnaik seems to make no attempt to quantify the benefits of the Raj either, Dewey (2019)'s 2nd criticism:
she [Patnaik] consistently ignores research that would tend to cut the economic impact of the drain down to size, such as the work on the sources of investment during the industrial revolution (which shows that industrialisation was financed by the ploughed-back profits of industrialists) or the costs of empire school (which stresses the high price of imperial defence)

Since tropical goods were highly prized in other cold temperate countries which could never produce them, in effect these free goods represented international purchasing power for Britain which kept a part for its own use and re-exported the balance to other countries in Europe and North America against import of food grains, iron and other goods in which it was deficient.
Re-exports necessarily adds value to goods when the goods are processed and when the goods are transported. The country with the largest navy at the time would presumably be in very good stead to do the latter.
The British historians Phyllis Deane and WA Cole presented an incorrect estimate of Britain’s 18th-19th century trade volume, by leaving out re-exports completely. I found that by 1800 Britain’s total trade was 62% higher than their estimate, on applying the correct definition of trade including re-exports, that is used by the United Nations and by all other international organisations.
While interesting, and certainly expected for such an old book, re-exporting necessarily adds value to goods.
When the Crown took over from the Company, from 1861 a clever system was developed under which all of India’s financial gold and forex earnings from its fast-rising commodity export surplus with the world, was intercepted and appropriated by Britain. As before up to a third of India’s rising budgetary revenues was not spent domestically but was set aside as ‘expenditure abroad’.
So, what does this mean? Britain appropriated all of India's earnings, and then spent a third of it aboard? Not exactly. She is describing home charges see Roy (2019) again:
Some of the expenditures on defense and administration were made in sterling and went out of the country. This payment by the government was known as the Home Charges. For example, interest payment on loans raised to finance construction of railways and irrigation works, pensions paid to retired officers, and purchase of stores, were payments in sterling. [...] almost all money that the government paid abroad corresponded to the purchase of a service from abroad. [...] The balance of payments system that emerged after 1800 was based on standard business principles. India bought something and paid for it. State revenues were used to pay for wages of people hired abroad, pay for interest on loans raised abroad, and repatriation of profits on foreign investments coming into India. These were legitimate market transactions.
Indeed, if paying for what you buy is drain, then several billions of us are drained every day.
The Secretary of State for India in Council, based in London, invited foreign importers to deposit with him the payment (in gold, sterling and their own currencies) for their net imports from India, and these gold and forex payments disappeared into the yawning maw of the SoS’s account in the Bank of England.
It should be noted that India having two heads was beneficial, and encouraged investment per Roy (2019):
The fact that the India Office in London managed a part of the monetary system made India creditworthy, stabilized its currency, and encouraged foreign savers to put money into railways and private enterprise in India. Current research on the history of public debt shows that stable and large colonies found it easier to borrow abroad than independent economies because the investors trusted the guarantee of the colonist powers.

Against India’s net foreign earnings he issued bills, termed Council bills (CBs), to an equivalent rupee value. The rate (between gold-linked sterling and silver rupee) at which the bills were issued, was carefully adjusted to the last farthing, so that foreigners would never find it more profitable to ship financial gold as payment directly to Indians, compared to using the CB route. Foreign importers then sent the CBs by post or by telegraph to the export houses in India, that via the exchange banks were paid out of the budgeted provision of sums under ‘expenditure abroad’, and the exporters in turn paid the producers (peasants and artisans) from whom they sourced the goods.
Sunderland (2013) argues CBs had two main roles (and neither were part of a grand plot to keep gold out of India):
Council bills had two roles. They firstly promoted trade by handing the IO some control of the rate of exchange and allowing the exchange banks to remit funds to India and to hedge currency transaction risks. They also enabled the Indian government to transfer cash to England for the payment of its UK commitments.

The United Nations (1962) historical data for 1900 to 1960, show that for three decades up to 1928 (and very likely earlier too) India posted the second highest merchandise export surplus in the world, with USA in the first position. Not only were Indians deprived of every bit of the enormous international purchasing power they had earned over 175 years, even its rupee equivalent was not issued to them since not even the colonial government was credited with any part of India’s net gold and forex earnings against which it could issue rupees. The sleight-of-hand employed, namely ‘paying’ producers out of their own taxes, made India’s export surplus unrequited and constituted a tax-financed drain to the metropolis, as had been correctly pointed out by those highly insightful classical writers, Dadabhai Naoroji and RCDutt.
It doesn't appear that others appreciate their insight Roy (2019):
K. N. Chaudhuri rightly calls such practice ‘confused’ economics ‘coloured by political feelings’.

Surplus budgets to effect such heavy tax-financed transfers had a severe employment–reducing and income-deflating effect: mass consumption was squeezed in order to release export goods. Per capita annual foodgrains absorption in British India declined from 210 kg. during the period 1904-09, to 157 kg. during 1937-41, and to only 137 kg by 1946.
Dewey (1978) points out reliability issues with Indian agriculutural statistics, however this calorie decline persists to this day. Some of it is attributed to less food being consumed at home Smith (2015), a lower infectious disease burden Duh & Spears (2016) and diversified diets Vankatesh et al. (2016).
If even a part of its enormous foreign earnings had been credited to it and not entirely siphoned off, India could have imported modern technology to build up an industrial structure as Japan was doing.
This is, unfortunately, impossible to prove. Had the British not arrived in India, there is no clear indication that India would've united (this is arguably more plausible than the given counterfactual1). Had the British not arrived in India, there is no clear indication India would not have been nuked in WW2, much like Japan. Had the British not arrived in India, there is no clear indication India would not have been invaded by lizard people, much like Japan. The list continues eternally.
Nevertheless, I will charitably examine the given counterfactual anyway. Did pre-colonial India have industrial potential? The answer is a resounding no.
From Gupta (1980):
This article starts from the premise that while economic categories - the extent of commodity production, wage labour, monetarisation of the economy, etc - should be the basis for any analysis of the production relations of pre-British India, it is the nature of class struggles arising out of particular class alignments that finally gives the decisive twist to social change. Arguing on this premise, and analysing the available evidence, this article concludes that there was little potential for industrial revolution before the British arrived in India because, whatever might have been the character of economic categories of that period, the class relations had not sufficiently matured to develop productive forces and the required class struggle for a 'revolution' to take place.
A view echoed in Raychaudhuri (1983):
Yet all of this did not amount to an economic situation comparable to that of western Europe on the eve of the industrial revolution. Her technology - in agriculture as well as manufacturers - had by and large been stagnant for centuries. [...] The weakness of the Indian economy in the mid-eighteenth century, as compared to pre-industrial Europe was not simply a matter of technology and commercial and industrial organization. No scientific or geographical revolution formed part of the eighteenth-century Indian's historical experience. [...] Spontaneous movement towards industrialisation is unlikely in such a situation.
So now we've established India did not have industrial potential, was India similar to Japan just before the Meiji era? The answer, yet again, unsurprisingly, is no. Japan's economic situation was not comparable to India's, which allowed for Japan to finance its revolution. From Yasuba (1986):
All in all, the Japanese standard of living may not have been much below the English standard of living before industrialization, and both of them may have been considerably higher than the Indian standard of living. We can no longer say that Japan started from a pathetically low economic level and achieved a rapid or even "miraculous" economic growth. Japan's per capita income was almost as high as in Western Europe before industrialization, and it was possible for Japan to produce surplus in the Meiji Period to finance private and public capital formation.
The circumstances that led to Meiji Japan were extremely unique. See Tomlinson (1985):
Most modern comparisons between India and Japan, written by either Indianists or Japanese specialists, stress instead that industrial growth in Meiji Japan was the product of unique features that were not reproducible elsewhere. [...] it is undoubtably true that Japan's progress to industrialization has been unique and unrepeatable
So there you have it. Unsubstantiated statistical assumptions, calling any number you can a drain & assuming a counterfactual for no good reason gets you this $45 trillion number. Hopefully that's enough to bury it in the ground.
1. Several authors have affirmed that Indian identity is a colonial artefact. For example see Rajan 1969:
Perhaps the single greatest and most enduring impact of British rule over India is that it created an Indian nation, in the modern political sense. After centuries of rule by different dynasties overparts of the Indian sub-continent, and after about 100 years of British rule, Indians ceased to be merely Bengalis, Maharashtrians,or Tamils, linguistically and culturally.
or see Bryant 2000:
But then, it would be anachronistic to condemn eighteenth-century Indians, who served the British, as collaborators, when the notion of 'democratic' nationalism or of an Indian 'nation' did not then exist. [...] Indians who fought for them, differed from the Europeans in having a primary attachment to a non-belligerent religion, family and local chief, which was stronger than any identity they might have with a more remote prince or 'nation'.

Bibliography

Chakrabarti, Shubra & Patnaik, Utsa (2018). Agrarian and other histories: Essays for Binay Bhushan Chaudhuri. Colombia University Press
Hickel, Jason (2018). How the British stole $45 trillion from India. The Guardian
Bhuyan, Aroonim & Sharma, Krishan (2019). The Great Loot: How the British stole $45 trillion from India. Indiapost
Monbiot, George (2020). English Landowners have stolen our rights. It is time to reclaim them. The Guardian
Tsjeng, Zing (2020). How Britain Stole $45 trillion from India with trains | Empires of Dirt. Vice
Chaudhury, Dipanjan (2019). British looted $45 trillion from India in today’s value: Jaishankar. The Economic Times
Roy, Tirthankar (2019). How British rule changed India's economy: The Paradox of the Raj. Palgrave Macmillan
Patnaik, Utsa (2018). How the British impoverished India. Hindustan Times
Tuovila, Alicia (2019). Expenditure method. Investopedia
Dewey, Clive (2019). Changing the guard: The dissolution of the nationalist–Marxist orthodoxy in the agrarian and agricultural history of India. The Indian Economic & Social History Review
Chandra, Bipan et al. (1989). India's Struggle for Independence, 1857-1947. Penguin Books
Frankema, Ewout & Booth, Anne (2019). Fiscal Capacity and the Colonial State in Asia and Africa, c. 1850-1960. Cambridge University Press
Dalal, Sucheta (2019). IL&FS Controversy: Centre is Paying Up on Sovereign Guarantees to ADB, KfW for Group's Loan. TheWire
Chaudhuri, K.N. (1983). X - Foreign Trade and Balance of Payments (1757–1947). Cambridge University Press
Sunderland, David (2013). Financing the Raj: The City of London and Colonial India, 1858-1940. Boydell Press
Dewey, Clive (1978). Patwari and Chaukidar: Subordinate officials and the reliability of India’s agricultural statistics. Athlone Press
Smith, Lisa (2015). The great Indian calorie debate: Explaining rising undernourishment during India’s rapid economic growth. Food Policy
Duh, Josephine & Spears, Dean (2016). Health and Hunger: Disease, Energy Needs, and the Indian Calorie Consumption Puzzle. The Economic Journal
Vankatesh, P. et al. (2016). Relationship between Food Production and Consumption Diversity in India – Empirical Evidences from Cross Section Analysis. Agricultural Economics Research Review
Gupta, Shaibal (1980). Potential of Industrial Revolution in Pre-British India. Economic and Political Weekly
Raychaudhuri, Tapan (1983). I - The mid-eighteenth-century background. Cambridge University Press
Yasuba, Yasukichi (1986). Standard of Living in Japan Before Industrialization: From what Level did Japan Begin? A Comment. The Journal of Economic History
Tomblinson, B.R. (1985). Writing History Sideways: Lessons for Indian Economic Historians from Meiji Japan. Cambridge University Press
Rajan, M.S. (1969). The Impact of British Rule in India. Journal of Contemporary History
Bryant, G.J. (2000). Indigenous Mercenaries in the Service of European Imperialists: The Case of the Sepoys in the Early British Indian Army, 1750-1800. War in History
submitted by GaslightEveryone to u/GaslightEveryone [link] [comments]

Trading Ideas For Next Week [Week 2] (Part 1)

Trading Ideas For Next Week [Week 2] (Part 1)
Due to popular demand I've decided to bring this series back for a week 2 and I'll continue to release 3-5 trading ideas every Saturday. How do you guys feel about the name of this series? Would you like me to change the name to something like "Setup Saturdays" or are you guys cool with the current naming scheme?
So this week I wanted to be a lot more in depth in my analysis and setups since I didn't think I was super clear last week with my reasoning on some the setups. I want these posts to be as beginner friendly as possible because there's a lot more beginners in this Subreddit than I had realized. I want you to use this as an educational tool and not as a signal service as a result I'm going to give you possible trade setups and I want you to be the judge of whether you should enter once/if price gets to that point since I feel like that will benefit beginners in the long run. I got a couple questions about top down time frame analysis so that'll be a focus of today's post. Scroll down to NZDJPY if you really want an in-depth look at how I perform top down time frame analysis.
I'll include a picture of a chart and my TradingView chart so if you want to zoom in and out of the chart you'll have that ability to do so.
Quick Disclaimer: Some of the charts pricing might be off by a bit since I started working on this during the New York session on Friday. If any of the charts are impacted in a way that alters the setup I'll be sure to update the charts before I post this on Saturday. Just gotta hope that hope that Powell doesn't break the market or else I might have to redo this entire post.
AUDUSD:

AUDUSD Daily
TradingView Link For Daily: https://www.tradingview.com/chart/AUDUSD/Wb5K2bS8-AUDUSD-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Which way is the trend pointing? It looks like it's pointing up which we can see with the green trend line but how about we zoom in to the 4 hour char to see if that's actually the case.
Tip: When drawing a trend line, especially on the daily and higher time frames, remember to hit as many wicks as possible since they are relevant and not just some anomaly you can ignore.

AUDUSD 4 Hour
TradingView Link For 4 Hour: https://www.tradingview.com/chart/AUDUSD/aah8294z-AUDUSD-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: When we got close to where we are with price and we draw a Fibonacci Retracement from the point where price took off to the point where price peaked we can see that price came down to .5 Fibonacci level where it then started going up again. Coincidence? Possibly. As a result I believe that price could continue higher and it would be justified if it did. However, if we look at the trend lines we can see that price appears to have broke put of of our major trend line (Green) which means that price could fall to the downside if it's actually a breakout. Price then appears like it would then adhere to the new minor trend line (Red). There's also the possibility that this was just a fake breakout and price could go up and adhere to green trend line. I'm going to have a selling bias on this trade since price looks like it double topped at the highs of this year and it looks like we could see price fall. I'm leaning towards the drop of price due to the symmetrical triangle pattern created by the major and minor trend line and looks like price is going to get pushed down which we should get an idea of soon.
Tip: Every time price makes a large move and falls/rises after making a peak/valley always pull out the Fibonacci retracement tool to see if price will bounce from the .382, .5, or .618 levels as they are the most significant levels. This can tell you if you're going to likely get a trend continuation.

AUDUSD 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/AUDUSD/IHgrnfYs-AUDUSD-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: I drew out multiple different scenarios which I think can play out since like I said before we're not trying to predict a single movement but we're preparing to be reactive to an ideal condition which may be thrown at us. Remember that major trend line we drew in on the daily chart well it's going to play a large role here. This trend line has been in the making since March so we're not just going to brush it off. The trend line appears to have been broken and we seem to be sticking that minor trend line after the break of the symmetrical triangle pattern. After the break of the symmetrical triangle pattern price usually gets pushed heavily to one side and it looks like price is wanting to get pushed to the downside. As a result, I'm going to really keep on eyes on scenario the blue arrows display since I think it's the most probable. Looking at the scenario there are going to be two potentially good entry points for a sell. The first being when price goes up to retest the green trend line which would also serve as a bounce from our red trend line. Once we get that bounce we could enter in for a sell with a take profit hopefully somewhere around the .66 area. Another good entry would be when price breaks the zone of support of .68 and after it retests it. Wait for a confirmation candlestick pattern showing price will fall when retesting (i.e. railroad track, bullish engulfment candle, evening star, shooting star, etc.). Look for these candlestick patterns on the 15 minute chart. Once you got the confirmation take the sell and ride price down to the .66 zone. The other scenario that could occur is we could see price go back into the green trend line by breaking the red trend line (Orange Arrows). If this occurs we want to catch the retest bounce of the red trend line and ride price up to the high of the year which is at .702. At that point price could break the resistance at which point we could catch the retest of the zone and ride price up. Or it could go up to .702 create a triple top and fall. If you get a candlestick confirmation saying it'll fall then take a sell at the high of the year.
NZDUSD:
If there's something I really like in Forex it's definitely got to be harmonic patterns due to their high accuracy. NZDUSD just recently completed one of them and this is a really good indicator of what price is going to do.

NZDUSD Daily
TradingView Chart For Daily: https://www.tradingview.com/chart/NZDUSD/zQpHzUcK-NZDUSD-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Yes, we have trend line that says that price is going up however I make exceptions for Harmonic patterns since they are accurate about 80%-90% of the time. The pattern you see above is know as a Bearish Bat Pattern. Like the name says it's an indicator that price is going to go Bearish so although the trend line is going up I'm going to have a bearish bias on this trade.

NZDUSD 4 Hour
TradingView Chart For 4 Hour: https://www.tradingview.com/chart/NZDUSD/C29kpCyO-NZDUSD-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Not really much to add here just tossed on a Fibonacci retracement tool from where price took off to the peak just to check for any potential support from any of the major levels which we don't appear to have. We'll go a lot more in-depth on this pair on the 1 hour chart since that's where things get interesting.

NZDUSD 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/NZDUSD/dKJatcM7-NZDUSD-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Looking at price we can see that since June 11th price has been trading in a boxed consolidation range. Again I drew out the possibilities I believe could be ideal for us. Remember that I said Harmonics work 80%-90%. Well that means that they fail 10%-20% of the time which is definitely not something we can neglect. We can see that there's a descending triangle which price is reaching the end of. This means that price is getting ready to move to one direction since big moves always come after consolidation. If it moves to upside wait for price to close above the the spot marked D then you can enter for a buy and ride price up to the .67525 zone where price could break to upside or bounce back down (Orange Arrow). Remember to wait for it to actually close above point D since it could create a triple top and drive price back down. It's the same procedure as AUDUSD here if it makes this move where if it breaks it then catch the retest and if it looks like it's wanting to fall down wait for a confirmation pattern. If it breaks the box to the downside and breaks the support zone then take a sell and ride price down to the trend line at which point you should close the trade as there's a chance price could move against you and it's best to secure profits while you can. Once at the trend line it could bounce and if it does you should be able to ride price up to that .67525 zone (Green Arrow). If price breaks the trend line then wait for the retest and you should be able to ride price down pretty far (Red Arrows). I think you should be able to ride it down to .5918 zone but you'll have to keep your on it.
EURNZD:

EURNZD Daily
TradingView Link For Daily: https://www.tradingview.com/chart/EURNZD/jzgmGcRe-EURNZD-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Well we got a pretty clear descending channel and price looks like it's at the top part of the channel currently so we're going to want to look for some optimal selling conditions due to the down trend.

EURNZD 4 Hour
TradingView Link For 4 Hour: https://www.tradingview.com/chart/EURNZD/YzOpvcH7-EURNZD-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Looking at the 4 hour chart we can see that there appears to be a symmetrical triangle coming to it's end meaning price is getting ready to get pushed to a side. I believe it'll break the triangle and fall to the downside so once you see it break it would be a good idea to take a sell and ride price down to that support zone at 1.7187. Price could also briefly break to the upside then bounce off the top of the channel and it does take a trade from the bounce and ride price down to the same support zone. At that point, I'll leave it up to you to determine how you think price will go and what you should be looking for. Consider it to be a little quiz if you want to think of it like that. You've got my charts so use them as a reference since I've already marked some crucial support/resistance zones which we should keep our on for the next couple weeks.

EURNZD 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/EURNZD/ICWvgEsg-EURNZD-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: There's nothing that special on the one hour chart that I have to point out since I think we pretty much got all the big stuff out of the way on our analysis of the 4 hour chart. Be sure to get a good sell in there since there are two potentially good setups which I've outlined for you. Also be sure to be careful and wait for the bounce of the channel if price goes that way since there's a chance price could break the channel and I don't want you to take a loss because you were impatient.
NZDJPY:
This pair is going to be really fun since we're going to be looking through a lot of time frames so if you really want to learn about a top down approach to analyzing time frames and trends then pay very close attention to how I break down this trade.

NZDJPY Monthly
TradingView Link For Monthly: https://www.tradingview.com/chart/NZDJPY/jZh4F2Jv-NZDJPY-Monthly-For-Reddit-Post-6-20-U-AD3133/
Analysis: Yes, we're actually going to be looking at the monthly chart. I bet you guys don't do that very often. Looking at it we can see that price has been following a clear down trend line since late 2014. If you look at the wick of this month's candle you can see that it appears to have touched the trend line meaning we could see a good opportunity to catch a sell since it had just recently bounced off. Let's take a look at lower time frames to see if this continues to be true.

NZDJPY Weekly
TradingView Link For Weekly: https://www.tradingview.com/chart/NZDJPY/dpvI29BB-NZDJPY-Weekly-For-Reddit-Post-6-20-U-AD3133/
Analysis: When zooming into the weekly we can see that using the wicks of the candles we can actually draw a channel for the low portion that runs pretty much in parallel to the trend line we drew on the monthly chart. We can see that price clearly bounced from the trend line and I think this gives us good reason to believe in the coming weeks we could see the price drop. Also looking at the Bollinger Bands we can see that price also bounced from the top band which also supports a drop of price. Let's go into the daily to see if we can get a better idea.

NZDJPY Daily
TradingView Link For Daily: https://www.tradingview.com/chart/NZDJPY/NbWLURkU-NZDJPY-Daily-For-Reddit-Post-6-20-U-AD3133/
Analysis: Looking at the daily time frame we can see that price is currently consolidated and remember big moves always come after consolidation. If you look closely however you can see that price looks like it's about to break the 200 day EMA (Orange line). If it breaks the EMA we could see price drop pretty far at an accelerated rate. Besides those couple observations there's not much else going on with the daily chart.

NZDJPY 4 Hour
TradingView Link For 4 Hour: https://www.tradingview.com/chart/NZDJPY/d1kaogH5-NZDJPY-4-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Would you look at that, it looks like we got a descending triangle on the 4 hour chart which looks like it's coming to an end. Looking at price it looks like it's wanting to push to the downside. Once you get a break below the lows of the day of June 11th I think it would be a safe bet to take a sell trade and ride it down for 66.825 for this week. If it breaks the 66.825 support zone then I'll definitely take a sell and try to ride price down to the bottom of the channel which we drew on the weekly chart. There's also the possibility that price could take support at any of these support zones and then head back up to test the top of the channel. At which point I'll be looking to get into a sell at the top of the channel but I won't ride price up to the channel since at this current point in time I feel like there's a large amount of risk in that.

NZDJPY 1 Hour
TradingView Link For 1 Hour: https://www.tradingview.com/chart/NZDJPY/83b47mFS-NZDJPY-1-Hour-For-Reddit-Post-6-20-U-AD3133/
Analysis: Not much more to add here since I think by this point we got the entire story so I'm not going to say much more about the 1 hour chart since I think the analysis for the 4 hour chart also sums this up pretty well.
Well that was a lot of information to go through and I hope you found some value in this since it took me quite a few hours to put this together for you guys. Truth be told, I spent most of Friday working on this so I hope at least one person finds some value in which case I'll consider it a win.
So you guys tired of me yet or do you want me to continue this series for a week 3? It takes a lot of time and effort to put this together so I'll only do it if people want it or else I'll pretty much feel like I wasted my time. I might put together a little lesson on how to use the COT in order to catch some big reversal moves in the market since the COT pretty much tells you what the hedge funds are doing and you also want to trade with the hedge funds and institutions. It'll probably take a couple weeks since I'll have to compile some data together and wait for a setup before putting that out but I'll be working on it. Are there any other things you may want explained? Let me know and I'll try to find setups which contain the topic you may want more details on. I hope you have a great trading week!
submitted by AD3133 to Forex [link] [comments]

Back Testing VAR Introduction Value at Risk (VaR) Backtest (FRM T5-04) - YouTube FRM: VaR model backtest IS FOREX TRADING RISKY GAMBLING AND HOW TO BACK TEST - YouTube Backtesting Forex MT4 Expert Advisor Backtesting And Download 17 Value at Risk VaR, Back Testing, Stop Loss e Stress ...

How to backtest forex and read the result Backtesting is a means of testing a trading strategy before it is applied to a live trading account. The purpose of backtesting is to try to find out earlier how the strategy is performing, if the backtesting results provide satisfaction it will be used or tested in a live account. Many traders experience failure when they make trades, one of which is ... If you have heard of Forex backtesting, but always wondered how to do it, then this guide is for you. Just like everything in trading and in life, there is no one-size-fits-all. Backtesting will not work for every trader or every trading system. However, there is nothing that I have seen that has universally helped more people become successful in trading, than backtesting. I consider it vital ... What is Backtesting in Forex? In forex, backtesting is when you apply historical currency pair price data to your strategy to evaluate and gauge the effectiveness of the strategy. The assumption behind backtesting is that what worked in the past can also work well in the future. This means that if a strategy is profitable based on past market conditions, there’s a chance that it will be ... Backtesting Value at Risk Models. February 2020; Authors: Sanel Halilbegovic. 18.4; International BURCH University ; Nedim Čelebić. 11.79; International BURCH University; Adisa Omerbegovic ... Forex backtesting shows you the validity of your strategy and gives you the information you need to make it better. Even more importantly, it helps you understand your strategy and what you can expect from it. The latter is crucial because no matter how awesome an analyst you become, you will never be able to anticipate the future with certainty. However, if you know what you can expect in the ... Manually Backtesting a Forex Strategy. Manual backtesting is when you manually scroll the chart on your trading platform to a previous period, and then manually go forward, bar by bar, with the “forward” arrow on your keyboard. Doesn’t sound exciting? Well, this the best way to see how your strategy will perform in various market conditions, and where it needs improvement. There are four ... So I decided to revisit the Forex backtesting software landscape this year and take a good hard look at all of the viable options out there. Maybe there's something that's better, and at a cheaper price. If there is, then I would love to recommend it to my readers as a better solution…or at least a viable alternative. To that end, I researched all of the manual Forex backtesting software ...

[index] [16212] [25090] [16974] [5350] [27608] [13692] [25673] [12301] [26108] [22763]

Back Testing VAR Introduction

A backtest compares actual OBSERVED exceptions (aka, failures or exceedences) to EXPECTED; e.g., we observed losses in excess of VaR four (4) days last year but we only expected 2-3. For more ... CPA 20 Módulo 7 Value At Risk (VAR) Models - Duration: 1 ... Backtesting Trading Strategies in Just 8 Lines of Code - Duration: 4:14. MATLAB 4,935 views. 4:14. Mix Play all Mix - Udacity YouTube; Metric 1 RMS ... 14 day RISK FREE TRIAL on investing and trading HERE: http://training.tieronetrading.com/trial For my #1 podcast go to: iTunes: http://bit.ly/alwaysfreepodca... Back Testing VAR Introduction training at PACEgurus by Vamisdhar Ambatipudi. for more details call + 91 98480 12123 or mail at [email protected] When we specify something like a 95% value at risk or 95% VaR, we mean that 95% is the confidence level and, therefore, 5% is the significance level. That me... Forex MT4 Expert Advisor Backtesting And Download Download : https://www.iqindicator.ml/forex-jacaranda-expert-advisor/ DISCLAIMER: May note be suitable for ...

http://arab-binary-option.meetthimb.ml