Strategy Guide (178)

Votes
Answers
Views
Question
0
votes
1
answer
18
views
asked 1 month ago by
Category: Strategy Guide
Hello Pete, Thank you for everything that you do. I have been reading through your site and have learned a lot. Really appreciate it. A quick question. I am trying to edit a moving average crossover backtesting strategy where the position is sold whe...
0
votes
1
answer
11
views
asked 2 months ago by
Category: Strategy Guide
I have two criteria that are part of the same strategy. They are similar but different enough that I have defined two separate 'def' in my strategy code. One entry is often "better" than the other ('A' is better than 'B'), but in the right circumstan...
0
votes
1
answer
42
views
asked 3 months ago by
Category: Strategy Guide
Mr Hahn, I am hoping you can help me figure out why my conditional orders are not triggering for TOS. I am trying 2 different types in my live account (for a small amount) until I can get it working. I am using the MACD standard crossover from negati...
0
votes
1
answer
37
views
asked 4 months ago by
Category: Strategy Guide
Hi Pete, Hope you're doing well. I have my entry order figured out, but im having a hard time figuring out how to create an auto trade script exit order with bracket order on TOS that will tell the system to exit/ close my position either to exit for...
0
votes
1
answer
56
views
asked 4 months ago by
Category: Strategy Guide
Hi I am wondering if it is possible to use thinkscript to close all my open positions when my "Net Liquidation" falls to a certain value ? So its like thinkscript will loop through all my open orders, if its a buy order, then sell at market. And if i...
0
votes
1
answer
37
views
asked 6 months ago by
Category: Strategy Guide
If I use, say, a daily MACD strategy that's true at, say, 3:50 pm, can some code get it to buy before end-of-day instead of at the next day's opening?  (Idea comes from: https://www.quantifiedstrategies.com/does-the-macd-indicator-work/)
0
votes
1
answer
57
views
asked 6 months ago by
Category: Strategy Guide
Hi Pete, I'm a day trader. I need help creating a script or conditional order on ToS to automatically close out any position I have open before market close. Sometimes I'm not available to manually close out those position and I don't want to hold my...
0
votes
1
answer
79
views
asked 6 months ago by
Category: Strategy Guide
I am attempting to create a strategy similar to one I saw on youtube (open source). It plots the most recent HH (resets after x bars (say 10) to most recent HH and a possible Entry Price (= L (of the candle w/HH) - 2 * ATR20). I also want to add an U...
0
votes
1
answer
64
views
asked 8 months ago by
Category: Strategy Guide
Hi, I want to make my strategy scale in and scale out. Below is a trite, yet easy example. Scenario: - BUY @ $1.00 GBP/USD for 2 lots. Desire: - SELL @ $1.0010 (ten pips profit) GBP/USD for 1 lot. Effect: The desired effect here is to reduce the tota...
0
votes
1
answer
226
views
asked 9 months ago by
Category: Strategy Guide
Hi Pete, I wondering if it's possible to write a code for a strategy that has the following criteria: Entry: Buy current expiration (or two weeks out series) weekly ATM Call/Put when TTM_Squeeze triggers and both 20 EMA and 50 EMA are above/below eac...
1 2 3 18