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,167 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?
Has anyone taken The Confident Trader course from aheadc …
Trading Reviews and Vendors
MC Advanced Simulated Trading.
MultiCharts
is there a better Trade Performance tool for NinjaTrader?
NinjaTrader
Pivot Indicator based on Level2 data
NinjaTrader
Help re translation of ninjascript to EL
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
46 thanks
Tao te Trade: way of the WLD
43 thanks
What is Markets Chat (markets.chat) real-time trading ro …
41 thanks
HumbleTraders next chapter
27 thanks
1 Minute Man
19 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 - Sitemap - Downloads - Top
no new posts