Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by Grant. 02/24/26 22:21
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (Martin_HH, monarch, Grant, qin), 5,285 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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: 787
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 787
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