[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: candle colors and explorations



PureBytes Links

Trading Reference Links


thanks again Graham,
I think I meant have the H > y/day's C, 
High < Ref(Close,-1)
maybe it'll work better now!  :-D
cheers
Ian


--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> sorry I think these are an exclusive bunch of conditions
> 
> Filter = Open < Ref(Low,-1)
>        AND Close < Ref(Close,-1)
>        AND Close > Open
>        AND Low < Open
>        AND High == Close // High can never be less than Close
>        AND Close < 1.00
>        AND StrLen( Name() ) < 4 // try putting all 3 character 
tickers
> in a group
>        AND RSI( 15 ) > 30
>        AND EMA( Close, 15 ) > Close
> //      AND EMA( Volume, 20 ) > Volume
>        AND Volume < 1000000
>        ;
> 
> On Apr 1, 2005 7:10 AM, Ian <ian@xxxx> wrote:
> > 
> > 
> > hey Joseph,
> > 
> > after some playing round this is working for me:
> > 
> > Uptrend = MA( Close,10 ) < Close;
> > Downtrend = MA( Close,10 ) > Close;
> > Plot( C, "close", IIf( Uptrend, colorGreen, IIf( Downtrend,
> > colorRed, colorBlack )), styleCandle);
> > 
> > I'll keep playing of course.
> > 
> > Just out of interest ... for the sake of tidy, non-redundant 
coding,
> > I'm just wondering if the following exploration code could be
> > written better:
> > 
> > Filter = Open < Ref(Low,-1)
> >        AND Close < Ref(Close,-1)
> >        AND Close > Open
> >        AND Low < Open
> >        AND High <= Close
> >        AND Close < 1.00
> >        AND StrLen( Name() ) < 4
> >        AND RSI( 15 ) > 30
> >        AND EMA( Close, 15 ) > Close
> > //      AND EMA( Volume, 20 ) > Volume
> >        AND Volume < 1000000
> >        ;
> > 
> > AddColumn(C,"close",1.3);
> > AddColumn(L,"low",1.3);
> > AddColumn(V,"volume");
> > 
> > thanks
> > Ian
> > 
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "J. Biran" <jbiran@xxxx> wrote:
> > > Hi,
> > >
> > >
> > >
> > > What defines Rs and Fs in the formula below?
> > >
> > >
> > >
> > >
> > > thanks
> > > Joseph Biran
> > > ____________________________________________
> > >
> > >
> > >
> > >   _____
> > >
> > > From: Graham [mailto:kavemanperth@x...]
> > > Sent: Wednesday, March 30, 2005 2:59 AM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: Re: [amibroker] Re: candle colours and explorations
> > >
> > >
> > >
> > > sorry meant to mention I find bars better for this purpose as 
you
> > can
> > > still see the daily direction from the open & close points. I
> > changed
> > > to candle as you mentioned using them.
> > >
> > >
> > > On Wed, 30 Mar 2005 18:57:22 +0800, Graham <kavemanperth@xxxx>
> > > wrote:
> > > > I use this in a chart showing trends
> > > >
> > > >
> > > Plot(C,"close",IIf(Rs,colorGreen,IIf
> > (Fs,colorRed,colorBlack)),styleCan
> > > dle);
> > > >
> > > >
> > > >--- In amibroker@xxxxxxxxxxxxxxx, "Ian" <ian@xxxx> wrote:
> > > >>
> > > >> hi guys,
> > > >>
> > > >> Oz market struggled today but not a bad close after all 
that.
> > > >>
> > > >> I've got 2 questions:
> > > >>
> > > >> 1. Trader Jim Berg has a system of coloured bars (I use 
candles)
> > > >> when they are in a trend (according to his system) all the 
bars
> > are
> > > >> the same colour, instead of up days green down days red 
etc. Is
> > > this
> > > >> possible in AB?
> > > >>
> > > >> 2. Is it possible to go straight to the exploration window
> > without
> > > >> opening the code window first?
> > > >>
> > > >> thanks
> > > >> Ian
> > 
> > 
> > Please note that this group is for discussion between users only.
> > 
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> > 
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> -- 
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/