I'd like to set different closing conditions for two different orders. Is it possible to give different "marks" to the two order so the system can differentiate them? Thanks!
- About icustom function
- How to set the close price of bar[2] as stoploss price when opening an order?
- About cycle control, help!
Yes, see article MagicNumber: "Magic" Identifier of the Order
You can use MagicNumber