Indicator(osc.) values as OCHL bars

 

i'm trying 2 present indicator values not as line(histo) but as bars (like price bars OCHL)

not bad to know what was going on till bar closed - how ind. values wore changing on current bar, how signals wore formed, why they appear and disappeared

on picture - various mods of JMAdeviation (NK Library) - attempt to show RSI values as bars.

so far not so good: even if we set bars to show iRSI price COHL - actual movement of indicator value on zero bar -about twice as much as it remains on the chart; (basically: open=iRSI(NULL,0,14,PRICE_OPEN,bar)-50; close=iRSI(NULL,0,14,PRICE_CLOSE,bar)-50;.....etc) but how to catch HH and LL?

So, question still remains - is it possible to present ind.(osc) values as OCHL bars?

p.s. indi on the picture (modifyed JmaDeviation) - only demonstrates the idea (basically boolsht indi - not yet any good 4 real use and would be only stupid and dangerous to post it sorry )

Files:
 

trying all kinds of this:

high1 = iHigh( NULL, 0, pos);

close1=iClose( NULL, 0, pos);

open1 =iOpen( NULL, 0, pos);

low1=iLow( NULL, 0, pos);

// open1=Open[pos];

// close1=Close[pos];

// high1=High[pos];

// low1=Low[pos];

RSI_Buf1 [pos] = iRSIOnArray(open1, 0, RSI_Period, pos);

RSI_Buf2 [pos]= iRSIOnArray(close1, 0, RSI_Period, pos);

RSI_Buf3 [pos]= iRSIOnArray(high1, 0, RSI_Period, pos);

RSI_Buf4 [pos]= iRSIOnArray(low1, 0, RSI_Period, pos);

doesn't help, dem...

 

strange situation: who knows won't tell - that's OK, but nobody even criticizing - that's unusual... ...

 

i still didn't got it right

simple JFatlDeviation from NKlibrary, just RSI instead of price - but don't wanna go...

basically what you see - is only RSI HLchannel + previous & current bar rsi close values - doesn't give you whole picture what was going on with RSI values from bar open to close - real values was at least twice as much

(there is no High or Low (HH or LL) RSI values on the chart (like price HandL) - there is only current rsi value of RSI priceHigh , and RSI PriceLow - like MA hiLo channel)

without being able to get real values on the chart - no sense to build whole indi which will only show what we already have...

may be some day someone will be more lucky then me - we'll have something to post...

NK(Nikolay Kositsin's) library & instruction 4 installation - in Digital Filters thread

 

An interesting indicator, thanks.

Here is another interesting indicator to share.

Reason: