Click here to Login





                                                   Screener ATR percentile filter

  0

0
Glen
2017-11-28 06:15:08


Hi all,

I'm trying to run a filter on selected stocks.

Basically I want to measure if a stock has closed in the top 20 percentile of the last 14 day ATR. So a thrust move with the daily close moving into the top 20th percentile of the ATR (14).

I have come up with this formula, but I don't think it is correct. It is picking up stocks that are closing below the top 20 percentile ATR (14). Is anyone able to see where I am going wrong?


Rule1 = (atr(1)) > (0.8*atr(14));



Thanks very much for all your help.

Cheers
G



QuantShare
2017-11-28 06:46:54

  0

Please use this function to get percentile rank of an indicator over N past bars.
https://www.quantshare.com/item-549-percentile-percent-rank-of-a-trading-indicator



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
Percentile Rank of PEG, Price/Free Cash Flow and Price/Sales
Identify Spilts Screener Script
ATR - Average True Range Drawing Tool
Vertical Horizontal Filter (VHF)
Filter high and low spikes

How-to Lessons
Difference between the watchlist and the screener tools
How to speed up watchlist and screener plug-ins when working with...
How to filter stocks in a market composite
How to create a screen
How to run a screen or a watchlist from a script

Related Forum Threads
use of screener for applied rules
Browse a watchlist or filter
Screener start
referring screener in backtest
Multiple Static Watchlists and Screener

Blog Posts
How to use QuantShare screener to trade penny stocks
How to filter quotes data from high and low price spikes
Trading Indicators using the Rank and Percentile functions
New Ranking and Percentile Composite Functions
Screening with the composite indicators









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.