PosTradeExitPrice: Difference between revisions
From MultiCharts
m
→Notes
mNo edit summary |
m (→Notes) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 17: | Line 17: | ||
== Notes == | == Notes == | ||
This function can only be used in signals. | * This function can only be used in signals. | ||
* To retrieve the total number of trades in specified position use [[PosTradeCount]]. | |||
* Use [[PosTradeEntryPrice]] to get the entry price for an order. | |||
* Use [[ExitPrice]] to get the (average) exit price for the whole position. | |||
== Example == | == Example == | ||
<syntaxhighlight>PosTradeExitPrice(0, 1);</syntaxhighlight> | <syntaxhighlight>PosTradeExitPrice(0, 1);</syntaxhighlight> |