Click here to Login








Ratio of open-close to high-low range

by Caleb, 4960 days ago
Share |


The Ratio of open-close to high-low range is a simple technical analysis indicator that uses the four basic elements of a bar candle (Close, open, high and low).

The open-close range is computed by taking the absolute value of the difference between the open price and close price, while the high-low range is the difference between the high price and the low price; no need to take the absolute value here because the high price is always higher than the low price. The ratio simply returns a value that corresponds to the division of the first range (open-close) by the second one (high-low). Values cannot be higher than one because the high-low range is always greater than the open-close range.

The function name of the ratio of open-close to high-low range is "RatioOCHL" and it accepts no arguments or parameters. Values returned by this ratio indicator are choppy and therefore this trading indicator requires a smoothing process, such as applying a simple or exponential moving average.

Based on few backtests I have done, It seems that the indicator is bullish when its 20-Bar simple moving average value is higher than 80. The simulation was performed on few stocks and it generated only 24 trades with an average return of 0.688% and a percentage of winners' value of 70.83%. The holding period is 5 bars for all trades (Buy then sell after 5 bars).
By simply adding another volume-based rule, the trading strategy performance has greatly improved for all backtests I have done. For the last trading system, the number of trades becomes 5 (all winners), the average trade returns increased to 1.321%.
The trading rule was: 20-Bar simple moving average of the volume is higher than 2 times the 5-Bar simple moving average of the volume.




You have to log in to bookmark this object
What is this?
Additional Information




Type: Trading Indicator

Object ID: 686


Country:
All

Market: All

Style:
Technical Analysis

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

How to Create Custom Metrics for Your Trading Positions

How to search for a trading item

How to create market indicators using the composite function - Part 3

How to create market indicators using the composite function - Part 2

Create a Pivot Table that displays the Relative Strength Index - RSI

6 Stock Trading Items Related to the New York Stock Exchange - NYSE

Pivot Tables in QuantShare Trading Software

How to create market indicators using the composite function - Part 1

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






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.