NexusFi: Find Your Edge


Home Menu

 





scan for stocks whose price is above 3 MA and VWAP


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,130 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 1 posts
    2. attach_file 2 attachments




 
Search this Thread

scan for stocks whose price is above 3 MA and VWAP

  #1 (permalink)
Cytocine
Lexington + KY
 
Posts: 1 since Dec 2020
Thanks Given: 0
Thanks Received: 0

I was looking for a TOS script that scans and alerts the stocks whose price is above 5, 10 and 20 SMA and VWAP at 5 minutes for intraday and day for a longer time frame.

I know it can be done for a one time frame using the default study Movingavgcrossover but how to do it for multiple timeframe and VWAP. Please look into the attached images for example.

Thanks



Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Quantum physics & Trading dynamics
The Elite Circle
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
 
  #2 (permalink)
 trepidation 
San Jose, California
 
Experience: Intermediate
Platform: Sierra Chart
Posts: 139 since Apr 2018
Thanks Given: 25
Thanks Received: 167

 
Code
def ma5 = SimpleMovingAvg(length=5);
def ma10 = SimpleMovingAvg(length=10);
def ma20 = SimpleMovingAvg(length=20);

plot result =  ma5 < close AND ma10 < close AND ma20 < close AND vwap < close;

Create two custom filters in your Scan tab and set one to 5M and the other to Day.




You can then save this as a watchlist and then set the watchlist to alert you on changes.

Reply With Quote
Thanked by:




Last Updated on December 27, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts