When placing a "stop-limit" order, I need to find the number of bars between when the order was placed and when the position was opened.
I know there is "barssinceEntry" to find number of bars in position but how would I get bars since order placed?
Thanks!
bars since order placed?? [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: bars since order placed?? [SOLVED]
Hello hairyMug,
That is possible to check if the order is active using the TradeManager and remeber the bar number when it was placed.
That is possible to check if the order is active using the TradeManager and remeber the bar number when it was placed.