- Questions
- Strategy Guide
Votes
Answers
Views
Question
0
1
214
asked 7 years ago by Jeffrey Latinville
Category:
Strategy Guide
Tags:
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...
0
1
46
asked 7 years ago by [email protected]
Category:
Strategy Guide
Hello. I am interested in whether there is an opportunity in thinkorswim to set a certain limit on the number of trades during one trading session. For example, the strategy makes five trades during session, but only the first three must be done. How...
0
2
766
asked 7 years ago by Daisy Liu
Category:
Strategy Guide
Hi Pete, Inspired by your think or swim strategy tutorial, I wrote a simple ATR strategy to backtest the data. (I understand I can’t do conditional orders based on ATR trailing stop.) But when I checked the buy and sell signals on the chart, I...
0
1
139
asked 6 years ago by arik Sheffer
Category:
Strategy Guide
Hi Pete, I'm trying to write a script for almost online buying but couldn't locate the buy signal to be on the right bar. It apears on the next bar. The right bar is the one with the dark_green point. Can you explain how do I create an online buying ...
0
1
348
asked 6 years ago by Chidi Nwaogwugwu
Category:
Strategy Guide
Hi Subscriber and I love your videos. I was looking for a way of using only a buy signal strategy, for example MACDStrat and only using long entries (MACDStratLE) and then looking at the profit at the end of the year. I can do the strategy but cannot...
0
1
1443
asked 6 years ago by Scott Blomenkamp
Category:
Strategy Guide
Hi Pete, hope you can guide me on this I am sure this is a simple one. I thought my label is correct but I get a error. Here is the code. input length = 10; def N = reference ATR(length = length); def trailStopPrice = close + (2*N); #def trailStopPri...
0
1
62
asked 6 years ago by James Green
Category:
Strategy Guide
This is complex in my head, but surely there is a simple solution. I am working on exit orders for back testing. Specifically I want to exit when one of two or more conditions presents itself first, exiting at a hard target OR when another particular...
0
2
166
asked 6 years ago by Eman Trader
Category:
Strategy Guide
Thanks for excellent videos especially Autotrade Almost! Inside there was a way to configure an entry/exit if for example MACD crosses and EMA's cross within X bars But within the bars, it doesn't consider which order. It can enter at the MACD cross ...
0
2
563
asked 6 years ago by Jonathan Jackson
Category:
Strategy Guide
I HAVE BEEN TRYING TO FIGURE OUT HOW TO CREATE THIS STRATEGY ON TOS AND THIS IS WHAT I HAVE SO FAR. THE RULES ARE 1ST THEN THE CODE: 5 EMA: blue line 10 EMA: red line RSI (10) applied to the median price (HL/2) Entry Rules BUY when the 5 EMA crosses...
0
2
312
asked 6 years ago by Steven Castro
Category:
Strategy Guide
Hello Pete I'm new to TOS platform, Saw your web site, very nicely put together. I don't have much programming experience, i was able to write this one line code with help of the strategy builder, there seems to be something wrong with the code sin...