Scan for close crossing VWAP


Category:
0
0

Hello Pete

I am trying to create a scan that will only show “new” stocks in the last 5 mins that crossed the VWAP.  If they are crossed more than 10 or 15 mins ago above i dont want them to show (ie: false).  It is giving me an error when i try and save it and i could use some help with the true false code

 

Marked as spam
Posted by (Questions: 2, Answers: 3)
Asked on August 9, 2020 12:08 pm
292 views
0
Private answer

No special code required. You can build this using the Condition Wizard. Details here:

https://www.hahn-tech.com/thinkorswim-condition-wizard/

There is no reason to include any time element to this. If you only want to get results for the current 5 min bar crossing the VWAP then you set the Study Filter to 5 min and build a crossover signal for close crossing the VWAP. Just a few clicks of the mouse and you are done.

Screenshots below show how to set this up.

Attachments:
Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on August 9, 2020 2:57 pm
0
pete what i have experience though is stocks that may have crossed 15 mins or longer ago show up in that scan. Is there a way to exclude them so its only the new ones?
( at August 9, 2020 3:12 pm)
0
There is no way that can happen with the scan I provided. The scan can only return a list of stocks that are crossing the VWAP on the current bar. This scan is not even able to look backward in time to find stocks that have crossed the VWAP on previous bars. You can certainly adjust it to do so. But the scan I provided cannot do that in it's current form. After crossing above the VWAP, the stock will fall off the results list as soon as the next bar opens. However if the price crosses back below the VWAP it can appear again in this scan if the price crosses back above it again. But if that is what you are trying to address then you have not fully explained what you are trying to do.
( at August 9, 2020 4:19 pm)