Strategy Guide (178)

Votes
Answers
Views
Question
0
votes
1
answer
121
views
asked 1 year ago by
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
67
views
asked 1 year ago by
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
115
views
asked 1 year ago by
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
172
views
asked 1 year ago by
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
82
views
asked 1 year ago by
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
19
views
asked 1 year ago by
Category: Strategy Guide
Hello, Say I have multiple purchases of a stock over the day, at different prices and volumes. Can thinkscript strategies reference my weighted average position, as part of how it makes decisions for future entries/exits? (for example - averaging dow...
0
votes
1
answer
56
views
asked 1 year ago by
Category: Strategy Guide
Pete, could you show how to enter an intraday conditional buy stop order at high of day when price crosses bollinger high within 2 previous bars after 12 pm est?
0
votes
1
answer
152
views
asked 1 year ago by
Category: Strategy Guide
Hi - I am working on a stategy that buys the3 first green Heikin Ashi candle after X red candles in a row.  Right now the definitions I have scripted are not correctly identifying the candle colors (current  -> want green and prior 1 -&g...
0
votes
1
answer
97
views
asked 1 year ago by
Category: Strategy Guide
Hi -   Is it possible to code up a conditional order to sell 1/2 the position (1/2 of the Buy_To_Open tradeSize) when price crosses above an EMA then then sell the rest of the position when  another condition is true (MACD Cross)? I've watched y...
0
votes
1
answer
52
views
asked 1 year ago by
Category: Strategy Guide
Is there a way to manually (programatically) call addOrder to create orders. I have a script which creates an order based on few variables. Right now I can use it as part of a strategy but I need to run this script (and create orders) on live chart w...