Backtesting Conditional Order buy and sell signals


Category:
0
0

I have been able to create a ThinkScript Buy-Sell Study . It is used to create Conditional Orders.  Nice thing about this study is that it allows me to view how the Buy Sell routine would have performed on the Historical Chart.

The upper Chart shows SMA(9), SMI(200)  , HeikenAshi CrossOverPoints

The Middle chart is Volume

The Lower Window Shows Up and Down Trend Lines and The Green and Red Spikes Shows potential BUY and SELL points.  I am using a Sequential Conditional Order

Which means that After the first BUY occurs any BUYs after it are ignored until A SELL has occur.  I am using 3 full round trips in the Order.

Take a look at the Image below:  This would be an example Historical testing.

The Red and Green Spikes indicate where my Sequenciel Conditional Order will place Market Orders.  My Sequential Order currently just contains three round trip Buy-Sell pairs.  What do you think?  It’s still a work In progress.  Suggestions would be appreciated.

 

Attachments:
Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on September 2, 2022 8:13 pm
169 views
0
Hi Marty, how is your Buy-Sell study working out? I am interested in the concept. Regards, Brian
( at December 30, 2022 4:26 pm)
0
Private answer

This website provides many resources showing how to back-test trading setups. We have an entire category of tutorial videos dedicated to this topic. You will find those video listed here:

https://www.hahn-tech.com/category/tos/strategies-tos/

The videos are listed on the left-hand sidebar menu of that page and they are listed in the order they should be viewed.

You will find the video named "Thinkorswim AutoTrade Almost" actually demonstrates exactly what you are asking for. And you will find a code template provided with that video which can be used to convert your Conditional Order into a chart strategy for back-testing.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on September 2, 2022 9:19 pm