Click here to Login





                                                   Plot Volume with different Colours?

  0

0
Marcus Schöppl
2014-10-22 04:15:49


hello, i�m new at quant share and
want a volume indicator as histogramm that colors the volume green when the close > open (bullisch day)
and draw the colour red when the close < open (bearisch day)

how i do that?

thank you for help!

marcus



Juliettpapa
2014-10-22 08:06:20

  1

Hallo Marcus ;-)

right mouse button on the indicator (or volume) and "add color condition". One for rising values and one for declining.

Look at my video:
http://screencast.com/t/46HAvudXlb

Regards
Joerg





Juliettpapa
2014-10-22 08:29:28

  0

By the way. After doing that, the formula looks like that:

Plot(volume, "Volume", colorDimGray|55, ChartBar, StyleOwnScale);
UpdateColor(volume > ref(volume, 1), colorGreen);
UpdateColor(volume < ref(volume, 1), colorRed);



Marcus Schöppl
2014-10-23 14:14:48

  0

thank you j�rg. it works great. also a little trick, but i don�t the the button in the righ moment :-)


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
Enhanced Candlestick Chart with Volume Variation
Stocks with the highest Volume Increase
Advance Stocks & Volume - Stock that advanced with a volume incre...
Breakout With Volume and liquidity
NYSE - Trading Volume

How-to Lessons
How to plot a stock using different periods in the same chart
How to plot two different time frames in the same chart
How to change volume bar colors when the price closes down
How to plot arrows below/above candlesticks on a chart
How to plot news on a chart?

Related Forum Threads
Intraday data with volume
Help with a Red/Green positive/negative hatched graph?
TO SHARE: Candlestick chart with a few interesting features
Issues with 'company_desc' object/database
plot values on future bars

Blog Posts
Different Types of Trading Indicators: Trend, Momentum, Volatilit...
Long Term Trading with Technical Analysis
How to Optimize a Trading System with Thousands of Billions of Co...
Industry Analysis - How to Compare Stocks with their Industries
Same chart, different symbols









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.