- Questions
- Strategy Guide
Votes
Answers
Views
Question
0
1
66
asked 7 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
1
1504
asked 7 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
354
asked 7 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
143
asked 7 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
2
811
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...
1
3
4313
asked 7 years ago by Daisy
Category:
Strategy Guide
Hi Pete, I watched your tutorial on how to do semi-auto orders on tos yesterday. I have a custom studies, which I want to place my conditional order based. But when I followed the step and put below script into New Studies, it just says "expected dou...
1
2
2389
asked 7 years ago by StockTrader
Category:
Strategy Guide
Hi Pete and All, i have a custom study that generates buy and sell signals based on Rsi and MACD and EMAs my problem is when i create an order and Reference the study when the Buy singal is true the order goes off ok the first time and the trade is a...
0
1
56
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
1
240
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
138
asked 7 years ago by nonameblitz
Category:
Strategy Guide
Good Morning! This is great! After watching your "Autotrade almost" video I decided to put together something and noticed it works - but once its triggered it executes not on the opening of the next bar. Instead it executes sometime on the current ba...