Author: No Copyright - WarnSoft
swap

This tool is designed to provide traders with immediate, real-time information regarding financing costs directly on their trading charts. Instead of requiring the user to navigate through complex menus or external data feeds, it automatically extracts and displays two critical pieces of financial data: the Long Swap and the Short Swap rates for the specific asset being viewed.

How it Works

The script functions as an automated information display. Every time the platform refreshes or updates, the tool performs a background check on the current market symbol. It identifies the specific costs associated with "carrying" a position overnight:

  • Swap Long: This informs you of the interest rate or fee applied if you hold a "Buy" position (Long) over a period where the market settles.
  • Swap Short: This informs you of the interest rate or fee applied if you hold a "Sell" position (Short) over a period where the market settles.

Key Benefits for Traders

  • Instant Visibility: The data is projected directly onto the chart interface, allowing for quick decision-making without manual searching.
  • Accuracy: By pulling data directly from the market information of the symbol, it ensures that the costs displayed are current and specific to the pair or asset you are trading.
  • Simplicity: It eliminates the need for manual calculations, helping traders better understand the "cost of carry" when planning swing trades or long-term positions.
10 Views
0 Downloads
0 Favorites
swap
#property copyright "No Copyright - WarnSoft"
#property link      "N/A"
#property indicator_chart_window

int start() {

Comment("Swap Long: ",MarketInfo(Symbol(),MODE_SWAPLONG),"\nSwap Short: ",MarketInfo(Symbol(),MODE_SWAPSHORT));
 return(0);
  
  }

Comments