Strategy Guide (193)

Votes
Answers
Views
Question
0
votes
1
answer
89
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, Do you know if there is a way to add a date range to a strategy for execution of orders and backtesting? Example: Oil goes up every year sometime between January 1 and February 15th. I would like to have this date range as part of a strategy...
0
votes
1
answer
92
views
asked 4 years ago by
Category: Strategy Guide
I've had some good luck poking around in here but am having trouble adapting my strategy code. Some background of a similar dummy strategy: Entry Conditions (if ANY of the following is valid): Daily 50SMA crossed above 200SMA OR Daily 50SMA > Dail...
0
votes
1
answer
84
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, The following  if then statement contains two conditions and it's not working. It's probably a beginner error :). I want buy order if close is < SMA 150 with SMA 10  rising in the last period. This is what i wrote: def scan = (if close &l...
0
votes
1
answer
151
views
asked 4 years ago by
Category: Strategy Guide
I use a simple strategy where in an uptrend if an inside bar appears I buy the break of the top of that bar on the next candle.  I then put my stop loss at the bottom of the inside bar and create a price target equal to the size of the inside bar abo...
0
votes
1
answer
139
views
asked 4 years ago by
Category: Strategy Guide
I just watched your video,  Thinkorswim Strategy Guide on youtube (Aug. 8, 2015). I never saw the attached file. It mentioned that it was on the Google drive. Is there a way that I can get the file that goes with that video?  
0
votes
1
answer
122
views
asked 4 years ago by
Category: Strategy Guide
I have a customer order template saved that is has few conditions. Saves well and also can trigger order just fine the first time based on the conditions correctly. The next time when I use the saved custom order template, what I notice is that it re...
0
votes
1
answer
154
views
asked 4 years ago by
Category: Strategy Guide
Conditional orders with study do not trigger in ONDEMAND mode. Is this normal? Also, in ONDEMAND mode we cannot go into  conditional wizard to enter studies. Is this normal?
0
votes
1
answer
94
views
asked 4 years ago by
Category: Strategy Guide
Hi, So, how to set the conditional order to not stop after the firs trigger? Can we set it such that it will keep triggering orders until we manually stop or set another condition for stop? Thanks! Andrew
0
votes
1
answer
315
views
asked 4 years ago by
Category: Strategy Guide
Hi Despite reading all the related material on Internet and ToS, I am having trouble understanding and executing orders on ToS. Basically I want to execute a long position. So I enter a Buy order for for 254.40 with OCO so that there is stop limit or...
0
votes
1
answer
502
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, Thanks for all the great resources.  I am new to thinkscript and have been working on a EMA cross strategy in TOS that I have pieced together from several different resources online.  Below is the entire script: input tradeSize = 100; def si...