Best Forex Backtesting Software for Manual Testing ...

Backtestimg software

Does anyone know about some good free backtesting software ?
submitted by 47FromTheMud to Forex [link] [comments]

Website listing probability of various indicators?

Hi everyone,
Hope you're having a good day.
I'm looking to tweak my trading strategy so that my trade execution becomes more dependant on a simple probability percentage which will ideally be a combination of different indicators.
Does anyone know if there is a website/post that has listed the probability of various 'common' indicators/buy signals? This would be on a very macro scale & include all major currency pairs, but I'm just curious to know if something like this exists before I begin my own research & back testing.
If there is no specific site with such data available, I would also love to be pointed in the direction of any sites that you consider useful that contains useful historical forex data.
Cheers!
submitted by Brickfieldpark to Forex [link] [comments]

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]

Is forex tick data streamed from one broker enough to gauge an approximation of the "real volume"?

Forex is decentralized so it's very hard to gauge the real volume of the pairs. I can't imagine streaming tick data from multiple major forex brokers to aggregate their data just to determine the volume. It'd be too much work for an individual trader like me, and too much work for my computer, too.
So I was instead thinking of using the tick data streamed from the one broker that I'm using to derive approximate volume, which I hope will be close enough to the actual volume.
I thought of a few ways to use the tick data streamed from my broker's MT4:
A. calculate the sum of the number of ticks from a given time window (ex: number of ticks from the last 30 seconds)
B. calculate the sum of the "Volume" values of the ticks from a given time window (in this case, the "Volume" means MQL4's built-in variable Volume, not the actual volume)
And then do some further calculations, such as generating moving averages on A or B.
One possible problem that will probably degrade the quality of the above calculations would be that MT4's EA can drop newer ticks if the previous onTick() event is still running when the newer ticks arrive.
I am not using any live data yet. Currently, I'm only using historical tick data downloaded from truefx.com and histdata.com to do my back tests; both websites' tick data seem to be good enough for me.
Has anyone used tick volume from a single data source to derive approximate volume with acceptable level of accuracy successfully? How reliable is my method of gauging forex volume?
submitted by twistedmush to algotrading [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]

Biweekly Trading Update #3: Trading without Indicators

Over the weekend my trading strategy changed drastically. At first I decided to let indicators completely rule my trading strategy; however, I quickly ran into issues with that ideology. My trading turned into gambling, and could easily be replicated by a simple program. To combat this issue I pushed back-testing indicators from the prior weekend to after I solidify my technical, sentimental, and fundamental analysis. I started learning Naked Forex, order flow analysis, and price action analysis over the weekend, and have started practicing them during the weekday. Although my win percentage is fairly low, I found that my analysis is getting stronger with each trade I take.
My first trade was on the 30 min EUUSD chart. I saw that the market was entering an ascending triangle and started to expect a bullish breakout. I looked at the market sentiment on fxdaily, and saw that most of the market was bearish. I assumed that the bearish presence in the market were the retail traders, and assumed that the market would move in the opposite direction of their expectations. I used order flow analysis to find the momentum and projection of the market, and ended up placing a buy stop in order to catch the market on the expected breakout. One thing I did not factor was multiple time frame analysis. I did not see that the market had entered a channel, and that I placed a trade when it had hit the resistance level. The price reached my buy stop, but proceeded to drop until it hit my stop loss.
As I went back to analyze my technical analysis, I found that I misread the order flow. I also realized that there were many parts of technical analysis that I didn't factor in, such as multiple time frame analysis, major support/resistance levels, and Fibonacci levels. I also decided to take more precaution when looking at the market sentiment, and try back-testing that data before basing another trade off of it.
Although this trade was a loser, I still learned a great deal from it, and feel like I benefited more than my previous trades. The chart analysis was tough to begin, but progressively got easier as I looked for more and more trades. For the time being I decided to stick with the EUUSD, and exclusively look for repeating market behavior and reactions in order to strengthen my market sense and improve my technical analysis before I start back-testing and using indicators. I also have started to pay more attention to candlestick patterns and their link to trend behavior.
Overall I believe that improving my technical analysis is a step in the right direction for my trading journey. I finally feel like i'm trading with my own mind rather than being overly reliant on the indicators on my chart.
submitted by Aman-1127 to Forex [link] [comments]

I Automated & Backtested ParallaxFX Strategy

I am a Software Engineer / Data Scientist and I decided to give a go at automating a strategy based on the ParallaxFX strategy floating around and backtests the results, also due to some inspiration by Vanguer
 
I backtested on the majors 4H timeframe between January 2015 to January 2020.
 
I am only considering trades from the top and bottom bands for now.
 
My trading criteria is:
 
Upper Band
Indecision candle
Setup candle
 
Lower Band
Indecision candle
Setup candle
 
Entry: 38.2 Fib
Stop Loss: 100 Fib
Take Profit: -161.8 Fib
RRR: 3.23
 
If a candle meets my trade criteria I open the trade and forget about it.
 
I started with a balance of 500 EUR and a risk of 1%. The results use compound gain / loss and I only considered one currency pair at a time.
 
The results were not that impressive...
EUUSD
AUD/USD
GBP/USD
NZD/USD
USD/CAD
USD/CHF
 
Due to this being automated I can test a variety of parameters pretty quickly and come back with trading screenshots, results, etc.
 
I am considering a higher timeframe but the number of trades is already fairly low.
 
Here is a link to a Google Drive (https://drive.google.com/drive/folders/16cO0ZSCGakkbK90lh-FBIC3ZJIxOj9fI?usp=sharing) with screenshots from each trade and a log of the system as it makes the trades. The candles highlighted in yellow / purple are where the trade is entered. I do not have the picture marked as a win / lose but it should be obvious by the candle formation.
submitted by TribeFX to Forex [link] [comments]

Is forex tick data streamed from one broker enough to gauge an approximation of the "real volume"?

Forex is decentralized so it's very hard to gauge the real volume of the pairs. I can't imagine streaming tick data from multiple major forex brokers to aggregate their data just to determine the volume. It'd be too much work for an individual trader like me, and too much work for my computer, too.
So I was instead thinking of using the tick data streamed from the one broker that I'm using to derive approximate volume, which I hope will be close enough to the actual volume.
I thought of a few ways to use the tick data streamed from my broker's MT4:
A. calculate the sum of the number of ticks from a given time window (ex: number of ticks from the last 30 seconds)
B. calculate the sum of the "Volume" values of the ticks from a given time window (in this case, the "Volume" means the MQL4's built-in variable Volume, not the actual volume)
And then do some further calculations, such as generating moving averages on A or B.
One possible problem that will probably degrade the quality of the above calculations would be that MT4's EA can drop newer ticks if the previous onTick() event is still running when the newer ticks arrive.
I am not using any live data yet. Currently, I'm only using historical tick data downloaded from truefx.com and histdata.com to do my back tests; both websites' tick data seem to be good enough for me.
Has anyone used tick volume from a single data source to derive approximate volume with acceptable level of accuracy successfully? How reliable is my method of gauging forex volume?
submitted by twistedmush to Forex [link] [comments]

Is forex tick data streamed from one broker enough to gauge an approximation of the "real volume"?

Forex is decentralized so it's very hard to gauge the real volume of the pairs. I can't imagine streaming tick data from multiple major forex brokers to aggregate their data just to determine the volume. It'd be too much work for an individual trader like me, and too much work for my computer, too.
So I was instead thinking of using the tick data streamed from the one broker that I'm using to derive approximate volume, which I hope will be close enough to the actual volume.
I thought of a few ways to use the tick data streamed from my broker's MT4:
A. calculate the sum of the number of ticks from a given time window (ex: number of ticks from the last 30 seconds)
B. calculate the sum of the "Volume" values of the ticks from a given time window (in this case, the "Volume" means MQL4's built-in variable Volume, not the actual volume)
And then do some further calculations, such as generating moving averages on A or B.
One possible problem that will probably degrade the quality of the above calculations would be that MT4's EA can drop newer ticks if the previous onTick() event is still running when the newer ticks arrive.
I am not using any live data yet. Currently, I'm only using historical tick data downloaded from truefx.com and histdata.com to do my back tests; both websites' tick data seem to be good enough for me.
Has anyone used tick volume from a single data source to derive approximate volume with acceptable level of accuracy successfully? How reliable is my method of gauging forex volume?
submitted by twistedmush to quant [link] [comments]

Day #2 of my Forex Journey

Real quick before I get into my next steps of my FX Journey, id like to say thank you to all the people who commented on my last post! All of the tips I got were really eye-opening and introduced me to different parts of FX trading that I didn't even know existed. So thank you so much, and I hope to get more interesting feedback from you guys in the future! Also Im going to probably change my writing frequency from daily to biweekly. I think writing about every little trade is not going to be as beneficial to me as writing about my overall progress at certain points throughout the week.
I started this trading day out by learning up on order flow. A whole bunch of you guys suggested really interesting youtubers to watch, and I started with Mr. pip's series on order flow. After I finished up watching a few of his videos, I started to tweak my trading plan so that I could get in some chart time. I changed currency pair from EUUSD to the AUD/USD, the time frame from the 4 hour to the 1 hour, and my indicators from RSI, Stochastic, 2 SMAs and ADX to ATR, RSI, and Ichimoku Kinko Hyo. I also added a little fundamental analysis in my trading plan because I think that I am being far too reliant on my indicators. I planned to check the economic calendar and determine the general trend of the currency pairs that are strongly correlated to the AUD/USD before I began my chart analysis. In addition to all of my analysis, I tried to practice using the techniques I learned in Mr. Pip's videos and analyze the order flow of the chart. Even if my analysis of order flow is wrong, as long as I am getting practice I am learning.
Eventhough I planned to use today to back-test indicators and find a solid new plan, I did not have enough time. I ended up getting on my demo account really late in the day, and started to force myself to enter a trade. Destructive habits like this could lead into some massive issues when I eventually get into live trading. To combat this harmful attitude specifically, I will restrict myself to trading on certain parts of the day (for example session overlaps, news releases, and earlier in the day). Despite this mistake I still continued with my trading strategy. I calculated all the currency correlations for AUS/USD using the past weeks economic data, and set my indicators in place. After checking the overall trend of the most strongly correlated pairs (Positive: EUUSD, GPB/USD, Negative: USD/CAD, USD/JPY) I started to analyze the order flow. All the correlated currencies, except for EUUSD, indicated that the AUD/USD would fall, while my order flow analysis indicated the opposite. Seeing as though I am extremely new to order flow, I dismissed this analysis, and ended up forcing a trade on the AUD/USD going short when my indicators seemed to line up correctly. I learned from last time that I should not alter or close my trade purely based on emotion, and to just wait till the market hits my stop loss or take profit. I included a trailing stop loss of 60 pips this time, but I have no evidence to base that number range on. The trade is currently open and I am down about 30 pips.
Although I am not labeling this trade as a loser yet, I can definitely see a lot of holes in my trading strategy. The most obvious mistake in my eyes right now is my use of indicators. Currently all my trades are purely based on what my indicators say, and since I do not have any back-tested data to support the credibility of my indicators, it feels a lot like strategic gambling. Another issue is that I feel far too reliant on indicators alone. I think that if I can find ways to include various types of analysis efficiently and evenly in my trading plan I will become a much more skillful and well-rounded trader. In order to combat these two issues I will begin forming various types of trading strategies this weekend and back-test them all extensively. I also plan on researching more on price action, order flow, and Naked Forex.
Once again any and all feedback is welcome. I am just beginning Forex, but it had been a huge passion of mine and I don't plan on stopping anytime soon.
submitted by Aman-1127 to Forex [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]

Is forex tick data streamed from one broker enough to gauge an approximation of the "real volume"?

Forex is decentralized so it's very hard to gauge the real volume of the pairs. I can't imagine streaming tick data from multiple major forex brokers to aggregate their data just to determine the volume. It'd be too much work for an individual trader like me, and too much work for my computer, too.
So I was instead thinking of using the tick data streamed from the one broker that I'm using to derive approximate volume, which I hope will be close enough to the actual volume.
I thought of a few ways to use the tick data streamed from my broker's MT4:
A. calculate the sum of the number of ticks from a given time window (ex: number of ticks from the last 30 seconds)
B. calculate the sum of the "Volume" values of the ticks from a given time window (in this case, the "Volume" means MQL4's built-in variable Volume, not the actual volume)
And then do some further calculations, such as generating moving averages on A or B.
One possible problem that will probably degrade the quality of the above calculations would be that MT4's EA can drop newer ticks if the previous onTick() event is still running when the newer ticks arrive.
I am not using any live data yet. Currently, I'm only using historical tick data downloaded from truefx.com and histdata.com to do my back tests; both websites' tick data seem to be good enough for me.
Has anyone used tick volume from a single data source to derive approximate volume with acceptable level of accuracy successfully? How reliable is my method of gauging forex volume?
submitted by twistedmush to Daytrading [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]

Trading economic news

The majority of this sub is focused on technical analysis. I regularly ridicule such "tea leaf readers" and advocate for trading based on fundamentals and economic news instead, so I figured I should take the time to write up something on how exactly you can trade economic news releases.
This post is long as balls so I won't be upset if you get bored and go back to your drooping dick patterns or whatever.

How economic news is released

First, it helps to know how economic news is compiled and released. Let's take Initial Jobless Claims, the number of initial claims for unemployment benefits around the United States from Sunday through Saturday. Initial in this context means the first claim for benefits made by an individual during a particular stretch of unemployment. The Initial Jobless Claims figure appears in the Department of Labor's Unemployment Insurance Weekly Claims Report, which compiles information from all of the per-state departments that report to the DOL during the week. A typical number is between 100k and 250k and it can vary quite significantly week-to-week.
The Unemployment Insurance Weekly Claims Report contains data that lags 5 days behind. For example, the Report issued on Thursday March 26th 2020 contained data about the week ending on Saturday March 21st 2020.
In the days leading up to the Report, financial companies will survey economists and run complicated mathematical models to forecast the upcoming Initial Jobless Claims figure. The results of surveyed experts is called the "consensus"; specific companies, experts, and websites will also provide their own forecasts. Different companies will release different consensuses. Usually they are pretty close (within 2-3k), but for last week's record-high Initial Jobless Claims the reported consensuses varied by up to 1M! In other words, there was essentially no consensus.
The Unemployment Insurance Weekly Claims Report is released each Thursday morning at exactly 8:30 AM ET. (On Thanksgiving the Report is released on Wednesday instead.) Media representatives gather at the Frances Perkins Building in Washington DC and are admitted to the "lockup" at 8:00 AM ET. In order to be admitted to the lockup you have to be a credentialed member of a media organization that has signed the DOL lockup agreement. The lockup room is small so there is a limited number of spots.
No phones are allowed. Reporters bring their laptops and connect to a local network; there is a master switch on the wall that prevents/enables Internet connectivity on this network. Once the doors are closed the Unemployment Insurance Weekly Claims Report is distributed, with a heading that announces it is "embargoed" (not to be released) prior to 8:30 AM. Reporters type up their analyses of the report, including extracting key figures like Initial Jobless Claims. They load their write-ups into their companies' software, which prepares to send it out as soon as Internet is enabled. At 8:30 AM the DOL representative in the room flips the wall switch and all of the laptops are connected to the Internet, releasing their write-ups to their companies and on to their companies' partners.
Many of those media companies have externally accessible APIs for distributing news. Media aggregators and squawk services (like RanSquawk and TradeTheNews) subscribe to all of these different APIs and then redistribute the key economic figures from the Report to their own subscribers within one second after Internet is enabled in the DOL lockup.
Some squawk services are text-based while others are audio-based. FinancialJuice.com provides a free audio squawk service; internally they have a paid subscription to a professional squawk service and they simply read out the latest headlines to their own listeners, subsidized by ads on the site. I've been using it for 4 months now and have been pretty happy. It usually lags behind the official release times by 1-2 seconds and occasionally they verbally flub the numbers or stutter and have to repeat, but you can't beat the price!
Important - I’m not affiliated with FinancialJuice and I’m not advocating that you use them over any other squawk. If you use them and they misspeak a number and you lose all your money don’t blame me. If anybody has any other free alternatives please share them!

How the news affects forex markets

Institutional forex traders subscribe to these squawk services and use custom software to consume the emerging data programmatically and then automatically initiate trades based on the perceived change to the fundamentals that the figures represent.
It's important to note that every institution will have "priced in" their own forecasted figures well in advance of an actual news release. Forecasts and consensuses all come out at different times in the days leading up to a news release, so by the time the news drops everybody is really only looking for an unexpected result. You can't really know what any given institution expects the value to be, but unless someone has inside information you can pretty much assume that the market has collectively priced in the experts' consensus. When the news comes out, institutions will trade based on the difference between the actual and their forecast.
Sometimes the news reflects a real change to the fundamentals with an economic effect that will change the demand for a currency, like an interest rate decision. However, in the case of the Initial Jobless Claims figure, which is a backwards-looking metric, trading is really just self-fulfilling speculation that market participants will buy dollars when unemployment is low and sell dollars when unemployment is high. Generally speaking, news that reflects a real economic shift has a bigger effect than news that only matters to speculators.
Massive and extremely fast news-based trades happen within tenths of a second on the ECNs on which institutional traders are participants. Over the next few seconds the resulting price changes trickle down to retail traders. Some economic news, like Non Farm Payroll Employment, has an effect that can last minutes to hours as "slow money" follows behind on the trend created by the "fast money". Other news, like Initial Jobless Claims, has a short impact that trails off within a couple minutes and is subsequently dwarfed by the usual pseudorandom movements in the market.
The bigger the difference between actual and consensus, the bigger the effect on any given currency pair. Since economic news releases generally relate to a single currency, the biggest and most easily predicted effects are seen on pairs where one currency is directly effected and the other is not affected at all. Personally I trade USD/JPY because the time difference between the US and Japan ensures that no news will be coming out of Japan at the same time that economic news is being released in the US.
Before deciding to trade any particular news release you should measure the historical correlation between the release (specifically, the difference between actual and consensus) and the resulting short-term change in the currency pair. Historical data for various news releases (along with historical consensus data) is readily available. You can pay to get it exported into Excel or whatever, or you can scroll through it for free on websites like TradingEconomics.com.
Let's look at two examples: Initial Jobless Claims and Non Farm Payroll Employment (NFP). I collected historical consensuses and actuals for these releases from January 2018 through the present, measured the "surprise" difference for each, and then correlated that to short-term changes in USD/JPY at the time of release using 5 second candles.
I omitted any releases that occurred simultaneously as another major release. For example, occasionally the monthly Initial Jobless Claims comes out at the exact same time as the monthly Balance of Trade figure, which is a more significant economic indicator and can be expected to dwarf the effect of the Unemployment Insurance Weekly Claims Report.
USD/JPY correlation with Initial Jobless Claims (2018 - present)
USD/JPY correlation with Non Farm Payrolls (2018 - present)
The horizontal axes on these charts is the duration (in seconds) after the news release over which correlation was calculated. The vertical axis is the Pearson correlation coefficient: +1 means that the change in USD/JPY over that duration was perfectly linearly correlated to the "surprise" in the releases; -1 means that the change in USD/JPY was perfectly linearly correlated but in the opposite direction, and 0 means that there is no correlation at all.
For Initial Jobless Claims you can see that for the first 30 seconds USD/JPY is strongly negatively correlated with the difference between consensus and actual jobless claims. That is, fewer-than-forecast jobless claims (fewer newly unemployed people than expected) strengthens the dollar and greater-than-forecast jobless claims (more newly unemployed people than expected) weakens the dollar. Correlation then trails off and changes to a moderate/weak positive correlation. I interpret this as algorithms "buying the dip" and vice versa, but I don't know for sure. From this chart it appears that you could profit by opening a trade for 15 seconds (duration with strongest correlation) that is long USD/JPY when Initial Jobless Claims is lower than the consensus and short USD/JPY when Initial Jobless Claims is higher than expected.
The chart for Non Farm Payroll looks very different. Correlation is positive (higher-than-expected payrolls strengthen the dollar and lower-than-expected payrolls weaken the dollar) and peaks at around 45 seconds, then slowly decreases as time goes on. This implies that price changes due to NFP are quite significant relative to background noise and "stick" even as normal fluctuations pick back up.
I wanted to show an example of what the USD/JPY S5 chart looks like when an "uncontested" (no other major simultaneously news release) Initial Jobless Claims and NFP drops, but unfortunately my broker's charts only go back a week. (I can pull historical data going back years through the API but to make it into a pretty chart would be a bit of work.) If anybody can get a 5-second chart of USD/JPY at March 19, 2020, UTC 12:30 and/or at February 7, 2020, UTC 13:30 let me know and I'll add it here.

Backtesting

So without too much effort we determined that (1) USD/JPY is strongly negatively correlated with the Initial Jobless Claims figure for the first 15 seconds after the release of the Unemployment Insurance Weekly Claims Report (when no other major news is being released) and also that (2) USD/JPY is strongly positively correlated with the Non Farms Payroll figure for the first 45 seconds after the release of the Employment Situation report.
Before you can assume you can profit off the news you have to backtest and consider three important parameters.
Entry speed: How quickly can you realistically enter the trade? The correlation performed above was measured from the exact moment the news was released, but realistically if you've got your finger on the trigger and your ear to the squawk it will take a few seconds to hit "Buy" or "Sell" and confirm. If 90% of the price move happens in the first second you're SOL. For back-testing purposes I assume a 5 second delay. In practice I use custom software that opens a trade with one click, and I can reliably enter a trade within 2-3 seconds after the news drops, using the FinancialJuice free squawk.
Minimum surprise: Should you trade every release or can you do better by only trading those with a big enough "surprise" factor? Backtesting will tell you whether being more selective is better long-term or not.
Hold time: The optimal time to hold the trade is not necessarily the same as the time of maximum correlation. That's a good starting point but it's not necessarily the best number. Backtesting each possible hold time will let you find the best one.
The spread: When you're only holding a position open for 30 seconds, the spread will kill you. The correlations performed above used the midpoint price, but in reality you have to buy at the ask and sell at the bid. Brokers aren't stupid and the moment volume on the ECN jumps they will widen the spread for their retail customers. The only way to determine if the news-driven price movements reliably overcome the spread is to backtest.
Stops: Personally I don't use stops, neither take-profit nor stop-loss, since I'm automatically closing the trade after a fixed (and very short) amount of time. Additionally, brokers have a minimum stop distance; the profits from scalping the news are so slim that even the nearest stops they allow will generally not get triggered.
I backtested trading these two news releases (since 2018), using a 5 second entry delay, real historical spreads, and no stops, cycling through different "surprise" thresholds and hold times to find the combination that returns the highest net profit. It's important to maximize net profit, not expected value per trade, so you don't over-optimize and reduce the total number of trades taken to one single profitable trade. If you want to get fancy you can set up a custom metric that combines number of trades, expected value, and drawdown into a single score to be maximized.
For the Initial Jobless Claims figure I found that the best combination is to hold trades open for 25 seconds (that is, open at 5 seconds elapsed and hold until 30 seconds elapsed) and only trade when the difference between consensus and actual is 7k or higher. That leads to 30 trades taken since 2018 and an expected return of... drumroll please... -0.0093 yen per unit per trade.
Yep, that's a loss of approx. $8.63 per lot.
Disappointing right? That's the spread and that's why you have to backtest. Even though the release of the Unemployment Insurance Weekly Claims Report has a strong correlation with movement in USD/JPY, it's simply not something that a retail trader can profit from.
Let's turn to the NFP. There I found that the best combination is to hold trades open for 75 seconds (that is, open at 5 seconds elapsed and hold until 80 seconds elapsed) and trade every single NFP (no minimum "surprise" threshold). That leads to 20 trades taken since 2018 and an expected return of... drumroll please... +0.1306 yen per unit per trade.
That's a profit of approx. $121.25 per lot. Not bad for 75 seconds of work! That's a +6% ROI at 50x leverage.

Make it real

If you want to do this for realsies, you need to run these numbers for all of the major economic news releases. Markit Manufacturing PMI, Factory Orders MoM, Trade Balance, PPI MoM, Export and Import Prices, Michigan Consumer Sentiment, Retail Sales MoM, Industrial Production MoM, you get the idea. You keep a list of all of the releases you want to trade, when they are released, and the ideal hold time and "surprise" threshold. A few minutes before the prescribed release time you open up your broker's software, turn on your squawk, maybe jot a few notes about consensuses and model forecasts, and get your finger on the button. At the moment you hear the release you open the trade in the correct direction, hold it (without looking at the chart!) for the required amount of time, then close it and go on with your day.
Some benefits of trading this way: * Most major economic releases come out at either 8:30 AM ET or 10:00 AM ET, and then you're done for the day. * It's easily backtestable. You can look back at the numbers and see exactly what to expect your return to be. * It's fun! Packing your trading into 30 seconds and knowing that institutions are moving billions of dollars around as fast as they can based on the exact same news you just read is thrilling. * You can wow your friends by saying things like "The St. Louis Fed had some interesting remarks on consumer spending in the latest Beige Book." * No crayons involved.
Some downsides: * It's tricky to be fast enough without writing custom software. Some broker software is very slow and requires multiple dialog boxes before a position is opened, which won't cut it. * The profits are very slim, you're not going to impress your instagram followers to join your expensive trade copying service with your 30-second twice-weekly trades. * Any friends you might wow with your boring-ass economic talking points are themselves the most boring people in the world.
I hope you enjoyed this long as fuck post and you give trading economic news a try!
submitted by thicc_dads_club to Forex [link] [comments]

Forex Tester 4 Quick Start Guide for Backtesting - YouTube Backtesting and Historical Data Backtesting Forex Strategies in TradingView Part 3: Data ... How to BACKTEST a Forex Trading Strategy - YouTube Metatrader 4 - 99% Back-testing in 5 Simple Steps - YouTube Forex Tester 3 - How To Setup A Project And Back Test

Forex backtesting software is a type of program that allows traders to test potential trading strategies using historical data. The software recreates the behaviour of trades and their reaction to a Forex trading strategy, and the resulting data can then be used to measure and optimise the effectiveness of a given strategy before applying it to real market conditions. Ein Großteil der Daten ist kostenlos verfügbar, aber häufig ungenau. Die verlässlichsten Forex Daten werden auf beliebten Seiten wie Tick Data, Inc. oder CQG Data Factory angeboten. Wie funktioniert Backtesting? Abhängig von der Backtesting Software, die Sie verwenden, erhalten Sie eine Vielzahl von Indikatoren, wie zum Beispiel: 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 ... However, if there is third party data that you would like to use, then you can upload that into Forex Tester to. It really is the best solution. TradingView gives you instant access to data from multiple Forex brokers, which is awesome. But you cannot upload your own data, so that's why it's at number 2. Usability for Manual Backtesting. Forex ... more precise backtesting results: it is extremely important for trading strategies that depend even on small price fluctuations; daily updates: you can even backtest the yesterday’s data; 5-digits historical data ; On top of all these benefits, our VIP data package provides you with the tick-by-tick data with floating spread. By purchasing this package, you receive the most detailed price ... Web-Based Backtesting Forex Simulator Trading Strategy Analytics Try it Free Backtesting Watch Intro Forex Simulator. Develop profitable trading strategies. Whether you want to learn forex trading or to improve a trading strategy. You need the right tools to succeed. We see demo-trading provided by most brokerage firms as a trap. Our team is determined to reveal and resolve the problems with ... 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 ...

[index] [6854] [21633] [24288] [20702] [28044] [18301] [6682] [28031] [12746] [23145]

Forex Tester 4 Quick Start Guide for Backtesting - YouTube

Demonstrates how to back-test your Expert Advisers (EAs) with Metatrader and get 99% modelling quality in 5 simple steps. The back-test is executed with qualit... Learn the fastest way to start backtesting with Forex Tester 4. Try the free Forex Tester 4 demo here: https://tradr.cc/fxt In this video, I'll show you how ... This video will show you How to Backtest a Forex Trading Strategy, as well as 3 TIPS on BACKTESTING... Trading Platform I Use: https://www.tradingview.com/... =====(backtesting forex)===== Backtesting Forex Strategies in TradingView Part 3: Data Results #backtesting on mt4 #backtesting a trading strategy Full Playl... FREE: Advanced Pattern Tutorial - https://www.thetradingchannel.net/optinpage CHECK OUT: EAP Training Program - https://goo.gl/7RrMM5 JOIN: "Advanced Pattern... Back-Testing Jam Session: Backtest Strategy and Test Plan ... How to get FOREX historical data into metatrader? 90% modeling quality - Duration: 36:17. Pedro Balza 1,993 views. 36:17 . No Sex ... Forex Tester 3 is the new release of a top notch back testing software. You can test multiple currency pairs and multiple trading strategies using up to 15 years of FREE historical data.

http://arab-binary-option.lufelfeepunami.tk