Moderators: mrtools, xard777, Banzai

NO LINKS, SOURCE CODE REQUESTS OR MODIFICATION OF DECOMPILED INDICATORS. To avoid post deletion please follow the rules.

#1
Hi

I created a small EA that compute the Cost Of Trading in realtime
you need to use "ticks based on history" mode

Cost Of Trading depends on two factors :
1) The spread of the asset of course
2) The volatility of the asset (if there is higher volatility, the profits will be higher, so positions will be smaller thus less cost) and its price

This shows that some assets aren't worth trying (indices) while other are cheap enough (forex, stocks, crypto)
formula is simply:

Code: Select all

`` cost_[i] = spread / ((atr /c)*100.0);``

you can put any asset in the settings

here is an example of output:
from 2/6/2021 to 11/3/2021 :
(first value is the current price of trading, mean is the mean from the beginning

Code: Select all

``````Cost of asset AUDUSD = 46.17 (mean = 11.97)
Cost of asset AUDCAD = 141.2 (mean = 56.09)
Cost of asset UK100 = 1327.74 (mean = 688.89)
Cost of asset US30 = 838.06 (mean = 1434.11)
Cost of asset US500 = 131.3 (mean = 276.77)
Cost of asset ABT.NYSE = 41.69 (mean = 63.11)
Cost of asset ANTM.NYSE = 305.17 (mean = 266.7)
Cost of asset DRE.NYSE = 41.51 (mean = 43.81)
Cost of asset CAT.NYSE = 172.87 (mean = 133.12)
Cost of asset LTCUSD = 45.46 (mean = 72.2)

``````
if you want the code let me know

### Re: [EA] Cost Of Trading

#2
what the heck, here is the code

Jeff

EDIT: US30 (1434.11) is 100 times more expensive than AUDUSD (11.97 ) !! for the period tested
think about it, you need a 100 times better edge if you trade US30
which is huge...
I don't see how people can be profitable with indexes this must be impossible, unless you trade VERY slowly (like weekly or monthly maybe)
1. ### Similar Topics

11 Replies 3525 Views

by alijvhr, Fri May 14, 2021 5:17 pm in Trading Systems

11 Replies
3525 Views
2. #### Logic Day Trading v1.2

16 Replies 1401 Views

by trader2000, Mon Aug 23, 2021 8:35 pm in MT4 Indicators

16 Replies
1401 Views
3. #### What trading system is this?

13 Replies 4719 Views

by Mukhari325, Mon Mar 22, 2021 8:24 pm in Trading Systems

13 Replies
4719 Views