Can this be converted to using ApplyStop()

I've spent a lot of time trying to use ApplyStop and gave up and used the following instead to apply a stop at the low of the bar before the entry bar.

Is this something that can be done via ApplyStop?

initialStopLocation = ValueWhen(Buy==1, Ref(Low,-1), 1); // Initial stop is prior bar low. 
Sell = low<initialStopLocation;
SellPrice = IIf( High>=initialStopLocation, initialStopLocation, Open);


Yes it can, please read the Knowledge Base that covers exactly that

The Knowledge Base has plenty of examples and knowledge articles to check

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.