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,559 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 1 posts
    2. attach_file 2 attachments




 
Search this Thread
  #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?
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Ceasefire in Name Only: Three Numbers That Define the Ir …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #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


© 2026 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 - Downloads - Top
no new posts