+1 888 340 6572

4.6.3 Strategy Performance: Difference between revisions

From MultiCharts
No edit summary
No edit summary
Line 72: Line 72:
Now our position is the following:
Now our position is the following:
<syntaxhighlight>
<syntaxhighlight>
CurrentPosition.Value = 50
CurrentPosition.Value = 90
CurrentPosition.Side = EMarketPositionSide.Long
CurrentPosition.Side = EMarketPositionSide.Long
CurrentPosition.OpenLots = 50
CurrentPosition.OpenLots = 90
CurrentPosition.ClosedTrades[] – one element (EntryOrder = Buy for 10, ExitOrder =Sell for 10)
CurrentPosition.ClosedTrades[] – one element (EntryOrder = Buy for 10, ExitOrder =Sell for 10)
CurrentPosition.OpenTrades[] – one element (EntryOrder = Buy for 90, ExitOrder = null)
CurrentPosition.OpenTrades[] – one element (EntryOrder = Buy for 90, ExitOrder = null)