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)
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".
**************************************************************************************
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);
****************************
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
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);