Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Volume Negative

  0

0
Raju Harchandani
2010-09-24 22:43:22


Sir,
I have Quantshare loaded on 2 pCS and the problem seems to be on both....Volume in certain scrips and views arbitrarily is shown downward(negative)...in another view tfor the same tick/bar it shows as positive (value displayed on top is the same though)



QuantShare
2010-09-25 05:08:52

  0

The bar is shown downward, however the volume is not negative.
This occurs if you plot on the same pane two or more indicators where each indicator plot style is set to "StyleOwnScale", one of these indicators have negative values and the volume indicator is shown using "ChartBar" style.

To fix this, simply update the style of the volume indicator from "StyleOwnScale" to "StyleSymbolNone".



Raju Harchandani
2010-09-25 06:30:49

  0

I tried that in the formula below


**************************************************************************************
PlotCandleStick("Quotes", colorBrown|255|colorViolet|255|0, StyleSymbolVdash|StyleWidth2);
m = macd();
s = macdSignal(14);
r=rsi(14);
UpdateColor(1, colorBlack);
UpdateColor(m > 0 and m > s, colorGreen);
UpdateColor(m > 0 and m > s and r > 70, colorBlue);
UpdateColor(m < 0 and m < s, colorRed);
UpdateColor(m < 0 and m < s and r <30, colorBrown);
PlotArrow(m > 0 and m > s and r > 70, "", BelowLow, colorDarkGreen);
PlotArrow(m < 0 and m < s and r < 30, "", AboveHigh, colorRed);

Plot(volume, "Volume", colorOrange|26, ChartBar, StyleOwnScale);

****************************
Did not work
The upper graph disappeared (the Candlesticks etc)

Also I wanted the bars with rsi=50 to have adiff colored arrow so i used the following in the blank line above
PlotArrow(m > 0 and m > s and r = 50, "", BelowLow, colorViolet);

I don't get any change in the graph....Help
Actually I want that with the 2 conditions(m>0 and m>s) the rsi decreases from 70 to 50 then the 50 should have a down arrow of Violet Color
Better still if the word "Sell" in Red Comes on top of this bar(asking for too much ain't I)

Likewise with the 2 conditions(m<0 and m<s) the rsi increases from 30 to 50 then the bar should have a up arrow of Cyan Color
Better still if the word "Buy" in Blue Comes on top of this bar

Thanx

Raju



QuantShare
2010-09-25 07:02:28

  0

Best Answer
I did use this exact formula and everything was ok. Are you sure this is the exact formula?

See what happens if you change the first line to:
PlotCandleStick("Quotes", colorBrown|255|colorViolet|255|0, StyleSymbolVdash|StyleWidth2|StyleOwnScale);

The relative strength index RSI values are almost never exactly equal to 50. You should use this formula instead:
PlotArrow(m > 0 and m > s and r < 50.1 and r > 49.9, "", BelowLow, colorViolet);

And here is the formula for the word SELL on top of this bar:
PlotSymbol(m > 0 and m > s and r < 50.1 and r > 49.9, "SELL", 1, 0, AboveHigh, colorRed, colorRed, PlotSymbolCircle);

For the "Buy" and Cyan Color:
PlotArrow(m < 0 and m < s and r < 50.1 and r > 49.9, "", AboveHigh, colorCyan);
PlotSymbol(m < 0 and m < s and r < 50.1 and r > 49.9, "BUY", 1, 0, BelowLow, colorGreen, colorGreen, PlotSymbolCircle);



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
Positive Volume Index
Cross Above 200 SMA on Average Volume Strategy
Volume * Price Momentum Oscillator
Up/Down Volume Spread

How-to Lessons
How to change volume bar colors when the price closes down
How to create volume bar charts
How to create trading rules based on Put and Call volume data
How to create a screen
How to filter stocks in a market composite

Related Forum Threads
Average Volume
Volume all equal
Intraday Volume Discrepancies
^VIX and Volume for S&P
On Balance Volume Sign Changes

Blog Posts
How to create a trading indicator that uses stock news
4 different weighted index calculation methods
Different periodicities and chart bar types in QuantShare Trading...
Download Trading Data using the Post-Script
Screening with the composite indicators









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items