position.Reverse() but keep Label
Created at 15 Nov 2019, 05:15
OF
position.Reverse() but keep Label
15 Nov 2019, 05:15
I have several positions with different labels. When I use position.Reverse(); the labels are deleted, so I can`t use a command like var allposcheck = Positions.FindAll(Label)
How to keep the existing label of the positions?
PanagiotisCharalampous
15 Nov 2019, 08:20
Hi office3131,
I cannot reproduce such a behavior. Label should be kept after reversing and this seems to be the case. Can you please provide us more inforrmation so that we can reproduce this behavior like the cBot code?
Best Regards,
Panagiotis
@PanagiotisCharalampous