Strategy Guide (193)

Votes
Answers
Views
Question
0
votes
1
answer
129
views
asked 3 years 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
138
views
asked 3 years 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
743
views
asked 3 years 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
322
views
asked 2 years 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
223
views
asked 2 years 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
146
views
asked 2 years 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
223
views
asked 2 years 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
67
views
asked 2 years ago by
Category: Strategy Guide
Hi Pete, I have written a simple back testing program for my strategy and I am now stuck. The program works fine, except that if an additional buy condition occurs before my sell condition is triggered, it just ignores the additional sell condition (...
0
votes
1
answer
73
views
asked 2 years ago by
Category: Strategy Guide
Is it possible to determine Intraday volume POC for a given day programmatically? Basically want to input Symbol and Date and get the POC.
0
votes
1
answer
114
views
asked 2 years ago by
Category: Strategy Guide
the strat below exits after RSI2 crosses above 50.  instead, i'd like the strategy to exit after a user-specified number of days, 7, for example.  how would you do that?  thanks! input price = close; input length = 2; input rsiAverageType = AverageTy...