Click here to Login




A simple but useful way to display distances in a chart

Updated on 2009-08-15





Have you ever looked at a chart and wondered what the return of a particular stock is during a period. Of course it is easy to calculate that return, you just need to note the stock price on the start date and the end date and use your favorite formula: ((second / first) - 1) * 100.

There is another and better way to do this, and all it takes is two seconds. The idea is that since a drawing tool needs that you define some points on a chart in order to be created, these points will be used to calculate and plot distances.

There are two kinds of distances, the x-distance which is a number of bars and y-distance which is the percentage or the raw move from one point to another one.

Now to illustrate this, select a chart. We will use a line drawing tool to display distances. Select the line drawing tool. Click on the chart then click on another location to draw the line. After you defined these two points, right click on that line and then select the 'distances' tab in the line settings form.



You can choose whether to display the X-axis distance (number of bars) and the Y-axis distance (percentage or raw move). As you check or uncheck these distance checkboxes, notice how the line distances changes accordingly. The distances displayed on a chart change dynamically when you rescale, move your line or change the start or end point positions.

The line draw tool is not the only drawing tool that can display distances, in fact every drawing tool can do the same, for instance if you draw a triangle, there will be three points: A, B and C. If you choose to display distances, the chart will display the distance of A to B, B to C and C to A.

You can set a drawing tool to display distances by default, that is each time you use it, by opening the setting form, updating the fields as you want them to be, then clicking on 'save settings'.











no comments (Log in)

QuantShare Blog
QuantShare
Search Posts




QuantShare
Recent Posts

Create Graphs using the Grid Tool
Posted 1237 days ago

Profile Graphs
Posted 1342 days ago

QuantShare
Previous Posts

Limit and Market orders
Posted 5373 days ago

Ranking system calculation methods
Posted 5382 days ago

RSS feeds transformation
Posted 5386 days ago

Stocks: Market Capitalization
Posted 5388 days ago

Ranking System Engine
Posted 5390 days ago

How to deal with StockTwits data
Posted 5400 days ago


More Posts

Back







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.