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

[amibroker] Re: Guppy code- sqeeze and prices is above guppies



PureBytes Links

Trading Reference Links

HI Paul:

Thanks for your interest..i want to code the guppy convergence..when the guppies are coming together...coz many a times we see that after convergeing the guppies moves out from each other and prices go up....

Any idea how to code this?


--- In amibroker@xxxxxxxxxxxxxxx, "Paul Ho" <paul.tsho@xxx> wrote:
>
> Can you write down the squeeze in English. I presume Guppysqueeze should be an array of values either 0 or 1, but EMA(C-30) - EMA(C, 60) is a floating point array and EMA(C,60) - EMA(C,60) will always be 0.
> /Paul.
> --- In amibroker@xxxxxxxxxxxxxxx, "shahariar4" <shahariar4@> wrote:
> >
> > Dear All:
> > 
> > Below is a code of guppy MA's...
> > Can anyonepls help how to code the guppy sqeeze and prices above the guppies?
> > 
> > I have tried this:
> > 
> > Guppysqeeze= (( EMA( C, 30 )-( EMA( C, 60 )or  (EMA( C, 60 )-( EMA( C, 60 ))<2;
> > 
> > 
> > Another thing i am trying is to set one of my buy condition as
> > 
> > when price is trading above the guppies,fo rthis itried-
> > 
> > PT= ( EMA( C, 5 )> ( EMA( C, 30 ) or ( EMA( C, 60 );
> > 
> > Are the ways i am trying are okay or it should be done any other ways..Could anyone pls tell?
> > 
> > _SECTION_BEGIN("Guppy"); 
> > Plot( EMA( C, 30 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart Style", styleLine|styleNoLabel, mask = maskAll) ); 
> > Plot( EMA( C, 35 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart Style", styleLine|styleNoLabel, mask = maskAll) );
> > Plot( EMA( C, 40 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart Style", styleLine|styleNoLabel, mask = maskAll) );
> > Plot( EMA( C, 45 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart Style", styleLine|styleNoLabel, mask = maskAll) );
> > Plot( EMA( C, 50 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart Style", styleLine|styleNoLabel, mask = maskAll) );
> > Plot( EMA( C, 50 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart Style", styleLine|styleNoLabel, mask = maskAll) );
> > Plot( EMA( C, 60 ),"", ParamColor( "Color", colorYellow ), ParamStyle("Chart Style", styleLine|styleNoLabel, mask = maskAll) );
> > _SECTION_END();
> >
>




------------------------------------

**** 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

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/