Swap coasts

Hallo,

Would it be possible to take the daily SWAP coasts into account as additional trading costs in the calculations? Similar to the commissions as $ per LOT which are deducted from profit at the change of the day. This can be very important for many strategies and can very much determine the real success of a strategy. In the example, 1.1 shows profit, but in reality it is not. This contrasts with about $ 1.8 - $ 2 swap coasts and thus the profit is actually a loss. However, this is significant with many strategies found and their assessment as really profitable or not. When calculating and evaluating scalping strategies, this is a disaster and leads to total loss in real trading. Can you maybe add something like that? Maybe at the point in the settings where the coasts commissions are set? Please see my attachments.

Attachments
SWAP Coasts missing.png
(101.09 KiB)
Example.png
(31.14 KiB)
  • Votes +4
  • Project Extending SQ
  • Type Feature
  • Status New
  • Priority Normal

History

s
#1

SuperWutsch

17.05.2020 15:13

Task created

s
#2

SuperWutsch

17.05.2020 15:18
II forgot: the swap coasts have to be set differently for long and short, but that should be logical.
h
#3

hankeys

18.05.2020 08:50
but how you want to setup the swaps? they are changing in times and for every broker they are different
s
#4

SuperWutsch

20.05.2020 20:25

Attachment ME_SWAPS long and short formulas.mq4 added

Attachment SQX ME_Model 125 SWAP Idea.png added

The BrokerServerTime is generally determined by the format recorded in the DataManager when the tick data is downloaded. (GMT / DST)

The time when each broker calculates his swaps can be requested from the broker or read on his website. You can also display the SWAP rates for each symbol on the website of each broker. There you can also see whether the broker specifies the swaps in points or in currency. This makes it easy to fix the settings.

I use € as the account currency so my formulas convert the swaps into €. They may not be perfect and I am not a good coder, but in principle they work. I have attached these to you for a better understanding, which may also help. You can do that better than me, but it is my idea to maybe realize it or at least to take a path in the right direction.


in the appendix calculate my formulas for swap and calculate in my € currency for you for information.


Attention: in my formulas the functions for "..Total_Buy_Size" and so on, but you see what I mean and you can code this self


But please see my picture in attached I have designed there my ideas as best as I can in your SQX background. So you mean easy what I mean.

Rr
#5

Partizanas

03.06.2020 11:57
Voted for this task.
m
#6

Martin

29.08.2020 13:45
Voted for this task.
b
#7

bentra

08.11.2020 02:57
Realized a significant discrepancy between mt4+TDS  and SQX was from the swap, 1.6 PF goes to 1.4 PF when swap is factored in for an H1 strategy. Almost opened my own feature request but I found this one already going.
jc
#8

jason

25.02.2021 13:56
Voted for this task.

Votes: +4

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please