♥ 0 |
Hi Pete! I’m trying to run a Gap down scan on TOS with the same format that Barchart offers. I know that i can find the gap downs on TOS but i’m trying to find the size of the gap and can’t seem to find it when i run it on TOS. Can you please help? Thank you 🙂
Marked as spam
|
Private answer
In response to additional information provided by Adrianna on Oct 24th I have assembled some screenshots to show the basic steps for setting this up. Before proceeding make sure you have watched the following video: https://www.hahn-tech.com/thinkorswim-custom-watch-list-columns/ These are the steps required:
The last screenshot shows a chart of ANF indicating the gap size calculation. Marked as spam
|
|||||
Private answer
by the way Barchart.com takes the difference between the current session’s open and the previous session’s low price Marked as spam
|
|||||
Private answer
hi, this is great. Ok, so i’ve added it to my scan but i don’t know where to find it since i can’t name my “custom study” so when i click on the customize, i get a list but i don’t know where to find it to add it. I tried to name the custom and couldn’t so i’m thinking that i’m doing something wrong. Can you please help. Marked as spam
|
|||||
Private answer
Well we would need to know how the gap down is measured by Barchart.com in order to get an exact match. The other point to make is this solution would need to be implemented in a custom column of a watchlist. Since you don’t what to scan for a value but rather display it. So we’ll need to move this post out of the Stock Scanners topic and into the Watchlists topic. The solution should be very simple. Add a custom column to a watchlist set to daily time frame. Then add this code in the editor:
This single line of code will compute the difference between today’s close and yesterday’s close, when applied to a daily time frame. If there is a gap up, the value will be positive. Negative for gaps down. However I believe there is a bit more to this. Do you know exactly how Barchart.com computes their gap value? One might consider using the previous day’s high and the current day’s low for a gap up. Then use previous day’s low and current day’s high for a gap down. Let us know if you can provide more information so we can dial this in further. Marked as spam
|
Please log in to post questions.
WOW! You are awesome!!!! I never though to look at those videos to teach me how to customize i code. You have so much amazing content! Thank you so much! You have no idea how much this helps me out. One last question, if i wanted to add the priors days % range taking the priors days high and low and get a percent. How would I put that into a code?
Very glad this is working for you. Awesome. Regarding that percent range request. I’m going to need to see the math for that. The range is high minus low. But how do you want the percent to be figured into the range?
We can do: (high – low) / high
Or (high – low) / close
Or something else entirely?