- Questions
- Strategy Guide
Votes
Answers
Views
Question
0
1
485
asked 4 years ago by David M
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
1
271
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
1
190
asked 4 years ago by Tod Kemper
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
1
62
asked 4 years ago by Collin Clay
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
1
106
asked 4 years ago by S V
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
1
466
asked 4 years ago by Tom Danaher
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
1
140
asked 4 years ago by Tom Danaher
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...
1
2
410
asked 4 years ago by Mehnaz Singh
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...
0
1
172
asked 4 years ago by Frank Abraham
Category:
Strategy Guide
Hello Pete, I am backtesting a strategy using ThinkorSwim. The strategy is such that when a condition is satisfied at the open of the current bar (period), a buy order is placed at the same time. When the strategy is inspected visually, the graph sho...
0
1
337
asked 4 years ago by Eric Bach
Category:
Strategy Guide
Is it possible to create an order entry or close to trigger when a bar/candle "closes"above a certain price on that time-frame? Not if it hits a certain price but actually closes above/below the set price....Thanks