spread_on_chart - MetaTrader 4 script | Forex indicator download - MT4/MT5 resources


Since 2008, most trading centers have adopted "floating" spreads. The spreads tend to be wider at night. There is a wide spread in the news.
It is enough for the spread to increase, so some trading systems cannot be profitable in this case. The stop loss level can be increased several times, which may cause Expert Advisors with fixed stop loss and take profit values to not work properly.
The strategy tester of the MetaTrader 4 client terminal uses the last known values of spreads, stop loss levels and freeze levels, and the results depend on these values. This MetaTrader 5 Strategy Tester client uses historical spread values and there are corresponding fields in the historical data price structure.
The spread_on_chart indicator displays the following values on the chart:
It updates every tick.
Input parameters:


Attachment download
📎 spread_on_chart.mq4 (3.03 KB)
Source: MQL5 #11455
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •