Strategy Guide (193)

Votes
Answers
Views
Question
0
votes
1
answer
66
views
asked 7 years ago by
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
votes
1
answer
1504
views
asked 7 years ago by
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
votes
1
answer
354
views
asked 7 years ago by
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
votes
1
answer
143
views
asked 7 years ago by
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
votes
2
answers
811
views
asked 7 years ago by
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
vote
3
answers
4313
views
asked 7 years ago by
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
vote
2
answers
2389
views
asked 7 years ago by
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
votes
1
answer
56
views
asked 7 years ago by
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
votes
1
answer
240
views
asked 7 years ago by
Category: Strategy Guide
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
votes
1
answer
138
views
asked 7 years ago by
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...