Hi PRC Team, I want to measure my target profit from the highest high or lowest low as measured after the trade and not from the entry price. I tried the following but it did not work: If (highest[barindex - tradeindex](high)) - close >= 50 Then Exitshort at market Endif If close - (lowest[barindex - tradeindex](low)) >= 50 Then Sell at market Endif