Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 728 guests, and 2 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
How to give a trade a label / name #484126
09/11/21 19:10
09/11/21 19:10
Joined: Sep 2021
Posts: 13
-
R
Raven478 Offline OP
Newbie
Raven478  Offline OP
Newbie
R

Joined: Sep 2021
Posts: 13
-
Hello smile,

I would like to know if it is possible to give a trade a label or name, I know this might sound ambiguous to the "*TRADE" pointer but what I want to know is if its possible to store a name in the trade before calling enterLong/enterShort or even after by using the *TRADE pointer?

This name will then be used in the TMF function to conditionally check certain things about that trade depending on the name / label.

Kind Regards

Re: How to give a trade a label / name [Re: Raven478] #484127
09/11/21 19:47
09/11/21 19:47
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
Call algo("xxx") before enterLong() , with an algo name depending on trade type and check TradeAlgo in the tmf.

Re: How to give a trade a label / name [Re: Zheka] #484128
09/11/21 20:16
09/11/21 20:16
Joined: Sep 2021
Posts: 13
-
R
Raven478 Offline OP
Newbie
Raven478  Offline OP
Newbie
R

Joined: Sep 2021
Posts: 13
-
Much appreciated!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1