+1 888 340 6572

OpenEntryMaxProfit

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns a numerical value, indicating maximal value of OpenEntryProfit for the time from entry order execution.

Usage

OpenEntryMaxProfit(EntryIndex)

Where:

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

OpenEntryMaxProfit(0);

Will return a value of 124.00 for the maximum profit of the current open position for the first trade.