@Miket You can backtest any studies by using the Strategy functionality on TOS.How do you guys backtest a strategy on ThinkorSwim? I'd like to take a look at the results for the Sequence Counter found in TOS.
Here is a very simple example of a strategy
Bullish when price closes above the 34 EMA and bearish when prices closes below the 34 EMA
input length = 34; input price = close; plot EMA = ExpAverage(price, length); EMA.AssignValueColor(if EMA > EMA then Color.Green else Color.Red); AssignPriceColor(if EMA > EMA then Color.Green else Color.Red); AddOrder(OrderType.BUY_AUTO, EMA crosses above EMA); AddOrder(OrderType.Sell_AUTO, EMA crosses below EMA);
Right click the mouse and select "Show report"
You will then see a table of your buy/sell strategy with date of trade, price as well as P/L from that strategy