Where: [[EntryIndex]] - a numerical expression, specifying the number of trade (zero-based).
==== Notes ==== This function can only be used in signals:'''EntryIndex''' - a numerical expression, specifying the number of trade (zero-based).
== Notes == * This function can only be used in signals. * To retrieve the total number of trades in open position use [[OpenEntriesCount]] . ==== Example ==== * Use [[OpenEntryProfit]] to get the open profit for the whole position.