Click here to Login





                                                   Top 50 Weekly Increasing Close

  0

0
Bob Marley
2021-04-22 11:52:18


How would I write a screener that simply looks for an improving average weekly close over past 30 days?




QuantShare
2021-04-23 14:06:50

  0

You can select weekly as time frame then calculate 4-week moving average
sma(close, 4)

then check if this is improving:

s = sma(close, 4);
filter = s > s[1];

s[1] references the previous bar



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
High to low stock pattern for the close price
Weekly ETF Switch V 1.0
Weekly Entry
U.S. Weekly Leading Index - Economic Indicator
% bars in last N trading days where stock close price increased

How-to Lessons
How to optimize an indicator in your trading system
How to plot two different time frames in the same chart
How to add a trading indicator to a chart
How to associate an index with a list of stocks
How to add a metric in the trading system simulation report

Related Forum Threads
Weekly Bars
weekly screener
Question on Weekly Bars
How do I find the close price for an entry matching a custom DB
Scale_in on Today's close

Blog Posts
Reducing risk and increasing return by combining several trading ...
Trading System: Buy stocks with the highest Sharpe ratio
The Ultimate Guide to Create Trading Systems in QuantShare
Trading orders - Part 2
How to Create Your First Meta-Strategy









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.