So I want to an exit order when price pierces the 9 period EMA by 0.25 for example. I can create the order that will exit when 9 period EMA is breached but I cannot get the extra 0.25. I can put an order type trail stop but this doesn't trail the EMA minus 0.25. The offset provisions in the order screen deal with offsetting the number of bars not the price. Its a very simple order but there seems to be no way to make TOS do it. The order needs to move dynamically with the EMA. A simple market order when condition is met is fine with me.
This is the thinkscript conditional order generated for a simple low price break of EMA. I just need to be able to add the dynamic 0.25 below.
Tradestation has this built in and I cannot figure out how to recreate this in ThinkorSwim.
This is the thinkscript conditional order generated for a simple low price break of EMA. I just need to be able to add the dynamic 0.25 below.
Code:
low is less than MovAvgExponential()."AvgExp"
Tradestation has this built in and I cannot figure out how to recreate this in ThinkorSwim.