Hi, I need to access the close price from a trade object. Manual says:
GetPrice method is available for OPEN POSITIONS only, when called on closed trade returns Null value
But it doesn't say how to access close price in a closed trade or if that is possible.
The following code tries to reiniciate trades previously closed by Money Management reasons. Static var is true in Closed symbols that need to be reopened. Restart day is TRUE on the first bar allowed to reiniciate the trades.
How can I access the close price (see the question marks in the code) from bo.EnterTrade?
I am not very familiar with CBT so forgive me if my question is very basic or if it is based on incorrect assumptions.