Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487522
05/26/23 10:59
05/26/23 10:59
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
You can find the commissions in the Commission field in AssetsFix.csv. They are also available on the rate card on the FXCM website.

Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487529
05/30/23 08:19
05/30/23 08:19
Joined: May 2023
Posts: 23
Hamburg, Germany
M
Martin_HH Offline OP
Newbie
Martin_HH  Offline OP
Newbie
M

Joined: May 2023
Posts: 23
Hamburg, Germany
Thanks for the reply. Yes, I am aware, but the comissions for my traded instruments are zero, see:

Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Market,Multiplier,Commission,Symbol
AUD/USD,0.653930,0.000070000,-0.3309,0.08490,0.0001000,0.092914,-6.05,0,1000,0.0,AUD/USD
EUR/USD,1.07579,0.000080000,-2.228,1.053,0.0001000,0.092914,-3.33,0,1000,0.0,EUR/USD
GBP/USD,1.23702,0.000100000,-1.254,0.5646,0.0001000,0.092914,-3.77,0,1000,0.0,GBP/USD
GER30,15840.10,1.30000,-0.2783,0.02783,1.000,0.10000,-6.48,0,1.00,0.0,GER30
NAS100,13563.78,1.00000,-0.2876,0.07421,1.000,0.092914,-5.48,0,1.00,0.0,NAS100
SPX500,4112.23,0.500000,-0.8627,0.2226,0.1000,0.092914,-5.71,0,1.00,0.0,SPX500
USD/CAD,1.35959,0.000170000,-0.7104,0.2004,0.0001000,0.068376,-3.58,0,1000,0.0,USD/CAD
USD/JPY,139.17,0.0110000,1.873,-3.916,0.01000,0.066849,-3.58,0,1000,0.0,USD/JPY
XAU/USD,1963.20,0.310000,-0.6250,0.2588,0.01000,0.0092914,-5.76,0,1.00,0.0,XAU/USD

The AssetsFix file was updated via the API of FXCM (and my Broker does not show any commissions for this trades)

I could find a possible reason for the wrong profit in the html sheet. I recognised it several times when I manually stop the position. Again, today I closed manually a Long position with a little win, Zorro shows a loss with almost the same amount.
Therefore, the issue I recognised seems to be for Long and Short positions with a manual close.

When I do not close it manually and it will be stopped out by the Zorro script, it seems to work correctly. Is there a possible issue with the plugin for FXCM?

Last edited by Martin_HH; 05/30/23 08:22.
Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487533
05/31/23 08:07
05/31/23 08:07
Joined: May 2023
Posts: 23
Hamburg, Germany
M
Martin_HH Offline OP
Newbie
Martin_HH  Offline OP
Newbie
M

Joined: May 2023
Posts: 23
Hamburg, Germany
Today, again. My Zorro script produced a nice entry for NAS100. My script had a stop and a trail. But, I wanted to secure the win and I put a trailing/ Stop order via the Broker platform.
So I was stopped out with 228 EUR win. Zorro html shows -230 EUR as a loss. Does it come with a mismatch of a Zorro "virtuell" trailing stop and the Broker one, which produces a real limit order?

Zorro works perfectly well. I used to work with Pine Script and it cost me ages to programme something which was not even similiar. This issue is a reporting issue only. I would assume that is an issue with the plugin?

For my markets the fees are included inside the spread and as I said commissions are zero.

Last edited by Martin_HH; 05/31/23 08:48.
Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487538
06/02/23 11:39
06/02/23 11:39
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Now I understand your problem. If you want to close a trade, close it by Zorro, not manually. NEVER set manually stops or the like. Otherwise the trade will be out of sync between Zorro and broker, and you get wrong results. I also do not really believe that your commissons are zero. Better find out the correct values, and fix your asset list. Unless FXCM likes you so much that they let you trade for free.

Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487553
06/05/23 05:48
06/05/23 05:48
Joined: May 2023
Posts: 23
Hamburg, Germany
M
Martin_HH Offline OP
Newbie
Martin_HH  Offline OP
Newbie
M

Joined: May 2023
Posts: 23
Hamburg, Germany
Danke, also for the Black Book.

Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1