Trades on terminal window

 

Hi, is there a way to distinguish the trades opened from different experts in the terminal window? If I have many positions at the same time on the same cross, it’s difficult to know immediately the expert that opened that position.

May be there is the possibility to recall the magic number of the expert...

 
 

I'm pretty sure OrderMagicNumber() was invented specifically for this purpose.


Or is this a trick question?

 
Roger wrote >>
Use Comments.

they good but, should one take partial profit via orderClose, the new order with the remaining lots + new ticket, will not have original market order comment field.

only datum that has persistence/is warranted to stay the same is magic# (*)

for sure orderComment works subject to above proviso.

ref: 'Is Magic# only constant value when doing sequence of partial take profits via OrderClose() ?'

.

(*) should one use part volume closes you must search TradePool for the newly opened order with remaining lots... this is where magic# is only link with original position.

this is discussed on forum if you search for it. one ref is above link;

.

above sparked another memory - lol ...

beware that per 'open() -> select() -> modify() -> all Trading Functions return what order opened with. WHY ?' following orderModify code needs to kick ClientTerminal to cause modded order's data refresh so that reflects new datums passed via orderModify.

.

both titbits above may seem archaic but that is the environment we have to use. forewarned = forearmed as some say ;)

Reason: