We recommend:

  1. Home
  2. Scripts
  3. Script for calculating swap in points and deposit currency DaVinci Swap Counter

Script for calculating swap in points and deposit currency DaVinci Swap Counter

script своп

Description of the script

We present to your attention a very simple script that displays a swap for currency pairs from the market watch window, or all available instruments of a broker. Values are displayed in both points and money.

This information will be useful to you if you open orders during the Asian trading session and transfer positions to rollover. It will allow you to calculate the amount that the broker will have to pay if you are not using the Swap free trading account type.

Setting up the script:

ViewAllSymbolIf set to true, then the script will take data for all instruments available to the broker. If false, only data from the market watch window will be displayed.

An example of the script:

The script is simply transferred to the chart and after calculations an information window with data appears::

скрипт своп

From this window, you can understand that the day of the triple swap accrual is Wednesday.

Four columns follow:

  • Symbol
  • TickValue
  • SWAP_Long($)
  • SWAP_Short($)

The data in brackets calculate the swap in the deposit currency.

Remember to multiply your result by three on the day of the triple swap charge..

That’s all folks, all profits!

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

Menu