Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,786 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Trade messages show Risk 0 #487708
08/07/23 05:55
08/07/23 05:55
Joined: Apr 2019
Posts: 53
Canada
A
aelagha Offline OP
Junior Member
aelagha  Offline OP
Junior Member
A

Joined: Apr 2019
Posts: 53
Canada
Hi there,

When trades are entered, long or short, Risk is 0 in hte log message, despite I do set Stop before entry. With VErbose = 3, entry, stop loss and take profit are correct, but I am not sure why the trade entry message shows Risk 0. Here is an example:

[396: Thu 08-10-02 09:36] 38.10/38.10\38.04/38.04 -0.0
[QQQ-NQTV::S39604] Short 1@38.04 Risk 0 p Bid 38.04 at 09:36:00
Stop 38.27 Trail 0.0 TP 35.96 Com 0000 Mrg 38.04 Net 0

[397: Thu 08-10-02 09:37] -0.25 -0.0100 0/2 38.04/38.05\38.00/38.05 -0.0

I would of expected Risk to be (Stop-Entry=38.27-38.04=0.23 or 23p). PIP is set to 0.01 in the assetlist.

Global Risk and RISKLIMIT variables are left at their default.

Any idea or thought what I am missing?

Thanks

Re: Trade messages show Risk 0 [Re: aelagha] #487732
08/17/23 08:28
08/17/23 08:28
Joined: Jul 2000
Posts: 28,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
Frankfurt
Risk is not in pip, but in account currency. If it's less than 1, it probably prints as 0.


Moderated by  Petra 

Gamestudio download | 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