You could probably just use ApplyStop with a dynamic stop level. e.g. (untested)
ApplyStop(stopTypeLoss, stopModePoint, BuyPrice - Low, ...); Alternatively, you could try ValueWhen combined with ExRem e.g. (untested) Sell = Low < ValueWhen(ExRem(Buy, Sell), Low); Mike --- In [email protected], "rise_t575" <ris...@...> wrote: > > Hello, > > What would be the correct code for this? > > Is this one 100% correct: > > Sell = L < Ref(L, - BarsSince(Buy)); > > Or do I have to use the the EXREM() function somewhere within the formula (I > don't have any experience with this one)? > > Thanks in advance! >
