|// RSIc
// courtesy by Dimitri Tsokakis


*procedure* RSIc( n )
{
*C* = RSIa( *C*, n );
*O* = RSIa( *O*, n );
*H* = RSIa( *H*, n );
*H* = IIf( *H* < Max( *C*, *O* ), Max( *C*, *O* ), *H* );
*L* = RSIa( *L*, n );
*L* = IIf( *L* > Min( *C*, *O* ), Min( *C*, *O* ), *L* );
}


n = Param( "n", 10, 5, 30, 5 );//RSI sensitivity
RSIc( n );
Plot( *C*, "RSIc(" + n + ")", 1, 64 );|


Le 27/08/2010 17:50, Tomasz Janeczko a écrit :

Hello,

Read the docs (again). AddToComposite allows to store OHLC V and OI fields by specifying second parameter.

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-08-27 17:44, mikk12345 wrote:
> HI,
>
> I would like to create a ticker that has the (open/rsi(14),high/rsi(14),Low/rsi(14), close/rsi(14) and have it displayed as a candlestick.
>
> It seems that addtocomposite can only create line charts with a single value. Is there a solution?
>
>
> Thanks
>
> Mikey.
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>



Reply via email to