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,120 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?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
Battlestations: Show us your trading desks!
26 thanks
The Program
18 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


© 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