How to give a trade a label / name

Posted By: Raven478

How to give a trade a label / name - 09/11/21 19:10

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
Posted By: Zheka

Re: How to give a trade a label / name - 09/11/21 19:47

Call algo("xxx") before enterLong() , with an algo name depending on trade type and check TradeAlgo in the tmf.
Posted By: Raven478

Re: How to give a trade a label / name - 09/11/21 20:16

Much appreciated!
© 2024 lite-C Forums