Strategy Guide (194)

Votes
Answers
Views
Question
0
votes
1
answer
228
views
Category: Strategy Guide
Sir, I used your code from another post to attempt to create a strategy based on Heiken Ashi.   I would like to buy to open on the second green bar, and sell to close on the first following red bar.  And conversely to sell to open on the second red b...
0
votes
1
answer
287
views
Category: Strategy Guide
♥ 1
I am trying to create a conditional order based off this https://usethinkscript.com/threads/bollinger-bands-and-stochastic-scalping-indicator-for-thinkorswim.6/ ----- input tradeSize = 100; def signal = close is less than or equal to BollingerBands()...
0
votes
1
answer
549
views
Category: Strategy Guide
Strategy to buy on open of Monday or first trading day of the week then sell at % gain dictated by user input Hello Pete, I recently watched your "Thinkorswim Strategy Guide" youtube video. I've been trying to search in vain for a way to create a str...
0
votes
1
answer
228
views
Category: Strategy Guide
I was looking for help understanding the default Donchian Strategy Script in TOS:  Specifically what the atrFactor and atrStopFactor represent or are designed to do. input entryLength = 40; input exitLength = 15; input atrLength = 20; input atrFactor...
0
votes
1
answer
212
views
Category: Strategy Guide
I have been trying to figure out how to create a strategy that triggers everytime bollinger bands breakout relative to that of a contraction period, where the bollinger bands contract then as significant moves are made they begin to expand. How would...
0
votes
1
answer
251
views
Category: Strategy Guide
Sorry if its a bit much.... Just finished building a strategy only thing left is to set up how many lots i would like to trade (FX) with it, and I dont know how to begin with that. This is my buy code: (I defined it too) addOrder(OrderType.BUY_TO_OPE...
0
votes
1
answer
200
views
Category: Strategy Guide
Hello, Is it possible to convert a study alert created under marketwatch to a strategy?  Thank Gary H  
0
votes
1
answer
733
views
Category: Strategy Guide
Hi, I am trying to add a custom strategy using the following thinkscript. Buy when the C Wave turns Cyan (expansion) above zero and sell when you get a blue (contraction) C Wave bar.  Can you tell me what code needs to be added so that it only execte...
0
votes
1
answer
183
views
Category: Strategy Guide
Hi Pete, Thanks for your responses for all the questions. I am looking to have the AddOrder during the first hour and also the last hour of the regular market hours. In other words, I would like to backtest my strategy during certain periods of the m...
0
votes
1
answer
159
views
Category: Strategy Guide
Hi Pete, When testing back strategies is there a way to test for specific dates or strategy between specific dates?