♥ 0 |
Hey Pete! How can you turn your study into a scan query? Thanks for the great videos and tutorials!
Marked as spam
|
Private answer
Hello, although the study is set 2200 to 1100 and overnight when I look at the study code to use it for a scan it shows the below. Now I can change the times but the Default “SameDay” , “OverNight” is confusing, in fact I tried removing “SameDay” and get an error. I’m trying to make this a new high new low after hours scanner, can this be done just by changing these parameters? input marketOpen = 0930;
Marked as spam
|
|||||||
Private answer
Hi Is it possible to create a dynamic watchlist with ThinkScript that’ll show all tickers that have reached a new high/low 1. for X period, eg. 52 week, daily, weekly, etc Option 1 is my main objective, the others are bonus tx Marked as spam
|
|||||||
Private answer
Ok, we will not be posting the entire code here. Because we want to be sure that folks watch the entire video so they understand what it does and how to adjust it’s inputs. This is very important because if you don’t know how to adjust the inputs you will be lost. This code is published as version one and version two. The original version is found here: And version two is found here: Here are the step-by-step instructions to convert version two into a scan. The scan it to be run on an intraday time frame. Select a time frame based on how often you want the scan to pick up new intraday highs and lows.
The “#” sign is used as a comment marker. So you can switch this from scanning for new highs to scanning for new lows by moving the “#” sign for the appropriate “plot scan” statement. When using this to create a custom scan, the inputs will need to be adjusted within the code itself.
So you will need to manually adjust the marketOpen and marketClose directly within the code. If you need to switch the intraDaySpan from “SameDay” to “OverNight” you will need to move the word “Default” in front of whichever setting you want. I understand there are a lot of modifications here. So if you get hung up on something just post in the comments below and I will clarify things further if needed. Marked as spam
|
Please log in to post questions.
Yes, it should work. Although I have not tested it. Keep in mind the scan is going to use local time and not exchange time. So the time you use for marketOpen and marketClose should be adjusted accordingly. As for the intraDaySpan. In order to change that setting in the scan, delete the word Default from in front of ”SameDay” and add it after the comma and before the word ”OverNight”
Let us know how it works.