How can I get the highest price reached by position (to calculate profit loss)

 

Hi all,

How can I get the highest price reached by position (to calculate profit loss)

Tureng - reached - Turkish English Dictionary
  • tureng.com
History reached Meanings of "reached" in Turkish English Dictionary : 1 result(s) Category English Turkish Meanings of "reached" with other terms in English Turkish Dictionary : 14 result(s...
 
You know when you opened/closed. Find the bar indexes. Find the highest high.
 

is there any function or approach like

Tick.highestprice ?

or PositionGetDouble(POSITION_HIGHEST) ?

Reason: