Hello
Is there a way to display RSI indicator using candlesticks? as you can see on the attachement (prorealtime platform)
thanks
[/img]
To display RSI with candlestick [SOLVED]
- CrazyNasdaq
- Posts: 321
- Joined: 02 Sep 2009
- Location: ITALY
- Has thanked: 98 times
- Been thanked: 89 times
Re: To display RSI with candlestick
Here is what you search
Code: Select all
{RSI candlestick by CrazyNasdaq 20150725}
inputs:
Length( 14 ),
OverSold( 30 ),
OverBought( 70 ),
OverSColor( red ),
OverBColor( blue ),
Up.color(rgb(50,205,50)),
Dn.color(red);
variables: var0(0), var1(0), var2(0), var3(0), color(0) ;
var0 = RSI( open, Length ) ;
var1 = RSI( High, Length ) ;
var2 = RSI( Low, Length ) ;
var3 = RSI( close, Length ) ;
if var0 > var3 then color = Dn.color;
if var0 < var3 then color = Up.color;
Plot1(Overbought, "Over Bought", OverSColor );
Plot2(OverSold, "Over Sold", OverBColor);
Plot3(var0, "Open RSI", color); // plot style as left tick
Plot4(var1, "High RSI"); // plot style as bar high
Plot5(var2, "Low RSI"); // plot style as bar low
Plot6(var3, "Close RSI", color); // plot style as right tick
Re: To display RSI with candlestick
Hi CrazyNasdaq!
thank you for your help
When I try to set your RSI, it doesn't display like your's, ie, I don't see candle wick, instead I juste see some dots above or below candlestick
What is your Multichart version please? (I use 9.1 beta / build 11373)
thank you for your help
When I try to set your RSI, it doesn't display like your's, ie, I don't see candle wick, instead I juste see some dots above or below candlestick
What is your Multichart version please? (I use 9.1 beta / build 11373)
- CrazyNasdaq
- Posts: 321
- Joined: 02 Sep 2009
- Location: ITALY
- Has thanked: 98 times
- Been thanked: 89 times
Re: To display RSI with candlestick [SOLVED]
Hi hendrix,Hi CrazyNasdaq!
thank you for your help
When I try to set your RSI, it doesn't display like your's, ie, I don't see candle wick, instead I juste see some dots above or below candlestick
What is your Multichart version please? (I use 9.1 beta / build 11373)
that's because you use point bars /range bars and with them you affects the logic of RSI which looks for a ratio between >>> Average of x days' up closes / Average of x days' down closes where up close or down close are calculated by the difference from open and close (positive or negative)
Point bar is a kind of bar where you always have "OPEN" upper or lower then previous "CLOSE" bar which generates the new bar. This behaviour affects the logic of RSI function when you calculate it on High or LOW RSI candlestick
Try that code with a different kind of bar (time, volume, ticks ecc....) and you will find the wicks you are looking for