Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, Ayumi), 773 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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