Click here to Login





                                                   Screener: average (20 bars) of (close-previous close)>10%

  0

0
Farhad
2021-05-05 02:47:32


Hi,

can you please help me to show, how to build a screener:

average (20 bars) of (close-previous close)>10%

thank you



QuantShare
2021-05-05 14:30:20

  0

Hi,

You can type:
filter = sma(perf(close, 1), 20) > 10;

Since you want to compare against a percentage then I used per (return) instead of close-previous close, which returns of course a value in dollars.




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
Per Symbol Average Output
Average Output Per Month
Average Stock Performance for each U.S Exchange
Derivative Moving Average Strategy
Average Performance of a trading rule during that past N days

How-to Lessons
How to create a moving average of an indicator
How to create a volatility-based Stop - Dynamic stop based on the...
How to calculate the average of a time series using the money man...
How to create a screen
How to create histogram charts

Related Forum Threads
Average Volume
average composite index
delay in moving average
Rising moving average
Displaced moving average

Blog Posts
Using Average True Range to Measure Intraday Volatility
Trading System: Moving average crossover and few others buy and s...
Custom Indicator: Moving average spread
The average maximum drawdown metric
How to turn any ordinary trading strategy into a very profitable ...









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.