♥ 0 |
Hi Pete! I’m trying to create a custom study to add to a preexisting scanner to hopefully later get alerts when this new condition is met. So, I’d like to get alerts when any of the stocks that the scan gets has a 1-min bar above 8,000 in volume. The idea is to try to catch stocks that start moving with higher volume in premarket. I’ve been trying to use the “if/then” conditions but I really can’t make it work. Also, I tried to add it as a custom study to the preexisting scan but it doesn’t seem to work. How should I setup the alerts? Thanks so much!
Marked as spam
|
Private answer
This scan can be very simply created with just a few clicks of the mouse using the Condition Wizard. Check the free tutorial for examples of constructing various scans: https://www.hahn-tech.com/thinkorswim-condition-wizard/ When creating this scan using the Condition Wizard it takes just a few clicks of the mouse and produces the following statement:
Perhaps you are leaving out some important details that might explain why such a simple scan as this does not match what you are trying to achieve? Or you may just be overthinking the solution. Marked as spam
|
Please log in to post questions.
There is nothing in the code that forces it to work in premarket.
The only way to get a scan to work for premarket hours is to check the box for "EXT" next to where you set the time frame for the study filter. If you have ensured that box is already checked then break the code down into is smallest components and test each element of the scan separately until you find out which portion is causing the failure.
I never have charts open before markets open so I can't test this myself. But this is the way it has always worked in the past. But if it were me and I wanted to test this with 100% certainty I would run the following scan:
volume is greater than 0
Got it? Troubleshooting techniques like this are common tools for developers. Reduce every element to the very minimum and if it still doesn't work the problem is further upstream (meaning if volume greater than zero fails to work you need to contact TDA support because their tool is broken).