Click here to Login





                                                   Volume by price formula

  0

0
Barbecue
2015-07-07 10:39:05


Hello,
reading the manual I came across the Profiles section and more to the point to this formula:

Volume by price graph (daily chart)
PlotProfile("volume", 0, 1, 100, colorRed, colorRed, OperationSum);

Which is really helpful in highlighting support and resistance. However, If I'm reading it right, there is a no way to weigh in more recent price/volume action to this graph. So if a stock has been trading thinly in the past year I won't see a bar for that price. Is there a way to change parameters so that I can see the price/volume action for instance for the past 6 months ? Or any other combination ? What parameters should be changed ?
Thanks a lot !



QuantShare
2015-07-07 13:11:34

  1

You can for example display volume profile for each year by typing:
PlotProfile("volume", year() != ref(year(), 1), 1, 100, colorRed, colorRed, OperationSum);

Note that the first parameter is a formula and you can add any QS formula you want.
Example:
PlotProfile("close - open", year() != ref(year(), 1), 1, 100, colorRed, colorRed, OperationSum);



Barbecue
2015-07-13 12:47:46

  0

At first I didn't see any data because the bars were at the beginning of the year. Thanks !


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
Price and Volume Trend
Volume * Price Momentum Oscillator
Volume near Price Level - Detect Strong Support & Resistance Area...
Large price and volume gain after consolidation
Short Term Volume and Price Oscillator

How-to Lessons
How to change volume bar colors when the price closes down
How to detect whether price movements are predictable or not
How to create a formula
How to create trading rules based on Put and Call volume data
How to create volume bar charts

Related Forum Threads
Volume at Price for intraday chart
Add a trading system to the price volume chart
Volume plotted on price screen
Volume at Price
How do I refer to the close price of another symbol in a formula?

Blog Posts
Different Types of Trading Indicators: Trend, Momentum, Volatilit...
Working with the formula editor
How to filter quotes data from high and low price spikes
Quantitative Analysis: Price Channels
How to make sure your Historical Price Data is Split Adjusted









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.