Trailing stop at previous bar low


Category:
0
0

Hello Pete

Had a question on Trailing orders in Tos.

Is there any way to trail the order based on the low of the previous candle?

As you can see in the attached pictures the low of the candle with Crosshair is 1.87 and as the stock moves up then the Stop should be moved up to the low of the previous candle and as the low of the RED candle breaks 3.49 then it should be stopped out.

Thanks.

Attachments:
Marked as spam
Posted by (Questions: 9, Answers: 8)
Asked on November 14, 2018 2:16 pm
1154 views
0
Private answer

I updated the title of your question to more clearly explain the context of your request. This is will assist others with similar questions to locate this post using the search fields.

Since you have posted this in the Strategy Guide topic I interpret that to mean your request is for a solution using the Conditional Order editor. So you are not actually talking about modifying an existing order that has already been submitted. Need to keep that clear so everyone understands the scope and application.

Having said that I can anticipate the next question that comes to mind. No, it is not possible to use any code in Thinkorswim to modify any order that has been submitted.

So what you need here is a very simple condition. You will enter a sell at market order and then access the Conditional Order editor. You can easily construct this without writing a single line of code.

Two screenshots below shows how to set it up. The blue spikes at the bottom are showing where the condition is true and the order would have been sent to market. Notice here I have used the close crossing below the low of the previous candle. In a live market this will execute on the first trade that occurs below the low of the previous candle. Even if the close of that candle later turns back above the previous candle’s low.

Attachments:
Marked as spam
Posted by (Questions: 37, Answers: 4084)
Answered on November 14, 2018 3:35 pm
0

Great, Thanks.!

( at November 16, 2018 10:10 am)