Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,103 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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