Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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