Click here to Login





                                                   Change volume color based on criterion

  0

0
schhay
2012-08-18 05:22:14


How do add volume criterion to change its color? Say change color of volume bar to purple if it's the greatest in last 50 days.
I can then use UpdateColor() to change the color.



QuantShare
2012-08-18 17:34:48

  0


schhay
2012-08-18 23:46:31

  0

I'm aware of the link you suggested, but I'm asking how do I get the highest volume bar in 50 days colored differently. I tried both max() and _max(), but neither works.


QuantShare
2012-08-19 15:47:42

  0

To get the highest volume bar in 50 days:

a = hhv(volume, 50);




schhay
2012-08-20 02:26:03

  0

that works. 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
Rate of Change Volume
Stock Ranking using Rate of Change and SMA Volume
Better Volume Indicator
Volume Accumulation Trend Line
Enhanced Candlestick Chart with Volume Variation

How-to Lessons
How to create trading rules based on Put and Call volume data
How to change volume bar colors when the price closes down
How to dynamically change the number of positions in a portfolio?
How to create volume bar charts
How to quickly select stocks based on the last value of a databas...

Related Forum Threads
Change of color in point graph
change color of Ichimoku Cloud and plot the cloud in future 26 ba...
how to add buy condition when the color change
How to change font size on docking window?
Cross Hairs Color

Blog Posts
Different Types of Trading Indicators: Trend, Momentum, Volatilit...
Ranking stocks based on their correlation with the S&P 500 Index
Backtesting a Strategy Based on Bond and Stock Index ETFs
Update Chart Layout based on Active Ticker Symbol - Part 2
Update Chart Layout based on Active Ticker Symbol









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.