Download MetaTrader 5
To add comments, please log in or register
Take active part in the life of the community. Improve your rating!
Automated-Trading 2013.12.24 10:40 

Spread Indicator:

Spread Indicator - displays current spread in the chart window.

The indicator can be placed on any pair on chart window. The font colour and indicator's display position can be changed on the fly. Pips can be normalized too.

Spread Indicator MQL5

Author: Mirza Baig

Sergey Golubev
Sergey Golubev 2014.01.13 07:43  

Forum on trading, automated trading systems and testing trading strategies

Indicators: spread_on_chart

newdigital, 2014.01.12 08:59

What Does a Spread Tell Traders?

  • Spreads are based off the Buy and Sell price of a currency pair.
  • Costs are based off of spreads and lot size.
  • Spreads are variable and should be referenced from your trading software.

Spreads and Forex

Every market has a spread and so does Forex. A spread is simply defined as the price difference between where a trader may purchase or sell an underlying asset. Traders that are familiar with equities will synonymously call this the Bid: Ask spread.

Below we can see an example of the spread being calculated for the EURUSD. First we will find the buy price at 1.35640 and then subtract the sell price of 1.32626. What we are left with after this process is a reading of .00014. Traders should remember that the pip value is then identified on the EURUSD as the 4th digit after the decimal, making the final spread calculated as 1.4 pips.

Now we know how to calculate the spread in pips, let’s look at the actual cost incurred by traders.

Spreads Costs and Calculations

Since the spread is just a number, we now need to know how to relate the spread into Dollars and Cents. The good news is if you can find the spread, finding this figure is very mathematically straight forward once you have identified pip cost and the number of lots you are trading.

Using the quotes above, we know we can currently buy the EURUSD at 1.3564 and close the transaction at a sell price of 1.35474.That means as soon as our trade is open, a trader would incur 1.4 pips of spread. To find the total cost, we will now need to multiply this value by pip cost while considering the total amount of lots traded. When trading a 10k EURUSD lot with a $1 pip cost, you would incur a total cost of $1.40 on this transaction.

Remember, pip cost is exponential. This means you will need to multiply this value based off of the number of lots you are trading. As the size of your positions increase, so will the cost incurred from the spread.

Changes in the Spread

It is important to remember that spreads are variable meaning they will not always remain the same and will change sporadically. These changes are based off of liquidity, which may differ based off of market conditions and upcoming economic data. To reference current spread rates, always reference your trading platform.

Sergey Golubev
Sergey Golubev 2014.01.30 09:37  

Forum on trading, automated trading systems and testing trading strategies

Scripts: News VLine

newdigital, 2014.01.30 09:25

Forex Spreads and the News (based on dailyfx article)

  • Spreads are based off the Buy and Sell price of a currency pair.
  • Spreads are variable and can change during news.
  • Watch for normalization of spreads, shortly after economic events.

Financial markets have the ability to be drastically effected by economic news releases. News events occur throughout the trading week, as denoted by the economic calendar, and may increase market volatility as well as increase the spreads you see on your favorite currency pairs.

It is imperative that new traders become familiar with what can happen during these events. So to better prepare you for upcoming news, we are going to review what happens to Forex spreads during volatile markets.

Spreads and the News

News is a notorious time of market uncertainty. These releases on the economic calendar happen sporadically and depending if expectations are met or not, can cause prices to fluctuate rapidly. Just like retail traders, large liquidity providers do not know the outcome of news events prior to their release! Because of this, they look to offset some of their risk by widening spreads.

Above is an example of spreads during the January NFP employment number release. Notice how spreads on the Major Forex pairs widened. Even though this was a temporary event, until the market normalizes traders will have to endure wider costs of trading.

Dealing with the Spread

It is important to remember that spreads are variable, meaning they will not always remain the same and will change as liquidity providers change their pricing. Above we can see how quickly spreads normalize after the news. In 5 minutes, the spreads on the EURUSD moved from 6.4 pips back to 1.4 pips. So where does that leave traders wanting to execute orders around the news?

Traders should always consider the risk of trading volatile markets. One of the options for trading news events is to immediately execute orders at market in hopes that the market volatility covers the increased spread cost. Or, traders can wait for markets to normalize and then take advantage of added liquidity once market activity subsides.

Marie Mire-de-Vie
Marie Mire-de-Vie 2014.04.05 16:02  

Spread Indicator:

Author: Mirza Baig

Simple and practical indicator to keep an eye on the spread.
CPU75 2016.07.26 11:40  
It seems it does not align to the right, only to the left. You can set a fixed distance from left but it's a problem when maximizing and minimizing windows, as spread dissapear from view.... :(
Doerk Hilger
Doerk Hilger 2016.07.28 08:06  
Where do you get the spread from? From the market info? If so, then it's wrong. 
To add comments, please log in or register