Gamestudio Links
Zorro Links
Newest Posts
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Pause button for evaluation shell?
by jcl. 08/07/26 11:43
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (Quad, AndrewAMD, VizTra, Radar), 848 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ParkerBlair, JackWalker, clausoliver, riggi89, shuhari
19225 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,131
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,131
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