How can I backtest a strategy going long or short separately?


Category:
0
0

Hello,

Is it possible to backtest a strategy while going long and short separately using the FlotingPL study? For example, I would like to backtest RSIStrat two different ways: 1) using FlotingPL going long only 2) using FlotingPL going short only

As of right now, I am only able to test the RSIStrat while going both long and short.
Would it be possible using a custom coded FloatingPL?
Would it be more effective to edit the strategy itself?

Any help would be greatly appreciated!
Thanks.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on September 3, 2017 3:13 pm
240 views
0
Private answer

Assumption #1: you have watched all our videos in the Strategy topic.

The back testing has nothing to do with customizing the floating P/L graph. It cannot be customized.  Since you did not mention the name of a specific video or provide a link to one, I must assume the RSIstrat is one included with Thinkorswim.

From your description it sounds like the RSIstrat is what’s called a Stop-And-Reverse. If so, you may be able to configure it for long only trades by adjusting the order types in the strategy settings. For example, change the “Sell Auto” order to “Sell To Close”.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on September 3, 2017 4:33 pm
0
This is exactly what I was looking for. Thank you very much.
( at September 4, 2017 12:12 pm)