Indicators: Rollover Cost Table - swap mode from the symbol, triple-swap day from the broker

Rollover Cost Table - swap mode from the symbol, triple-swap day from the broker:

An MQL5 indicator that draws a table on the chart with one row per open position and shows what one more night of holding it costs, in the deposit currency where the symbol's swap mode allows it. The swap mode and the two rates come from the symbol's own specification, and so does the triple-swap weekday; no rate is typed into the code. Where the symbol charges in points, a horizon column turns that night into the number of normal nights needed to repay one round turn, and a figure the terminal cannot supply is a dash with a reason, never a zero.

Rollover Cost Table - swap mode from the symbol, triple-swap day from the broker

Author: Jevon Naldo Yoshield