Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

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

author EAcpu | 5 reads | 0 comments |

spread_on_chart - indicator for MetaTrader 4

spread_on_chart - indicator for MetaTrader 4

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:

spread_on_chart - indicator for MetaTrader 4spread_on_chart - indicator for MetaTrader 4


Attachment download

📎 spread_on_chart.mq4 (3.03 KB)

Source: MQL5 #11455

Verification code Refresh