Very nice. I was thinking about how to add this in the midst of my testing this morning and my way was more complicated and less right. Glad I passed.SteveHopwood wrote:Latest update in post 1.
Add the ability to detect the need for a limit order in the stacking process. Limit order pending lines are LimeGreen/OrangeRed and HasBuyFilled() and its partner have some extra code to use the info in the colour field.
George