Let’s imagine I enter a trade at 12205
I only want to add to the position at prices above the 1st entry
My line of code is
cond1 = close > tradeprice(1)
However, when the first trade is stopped out before adding a second position, the algo, as written, is referencing the stop price and not the original entry price
Rather than referencing tradeprice(1), what should I refer to?
In intuitive terms, I want to reference entryprice1 and never “stopprice1” which if the original entry is stopped out is tradeprice(1)
Many thanks