PureBytes Links
Trading Reference Links
|
Thank you Joris.
--- In amibroker@xxxxxxxxxxxxxxx, "Joris Schuller" <jschuller@xxx> wrote:
>
> r1 = Param( "Fast avg", 5, 2, 200, 1 );
> r2 = Param( "Slow avg", 35, 2, 200, 1 );
> r3 = Param( "MA-Pos osc", 7, 2, 200, 1 );
> r4 = Param( "MA-Neg osc", 20, 2, 200, 1 );
> Osc=OscP( r1,r2);
> Plot(Osc, _DEFAULT_NAME( ),IIf(OscP( r1,r2)>0,5,4) , styleNoTitle |
> ParamStyle(" Histogram style", styleHistogram | styleNoLabel,
> maskHistogram));
> PosNegMA = IIf(Osc>=0,r3,r4);
> Plot(MA(Osc,PosNegMA ),"",IIf(OscP(r1,r2)>0,5,4),1);
>
>
>
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
> Of kml_soni1973
> Sent: Sunday, December 27, 2009 10:35 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Need help for price oscillator
>
>
>
>
>
> Hi,
> Not like that. I want one moving averages for positive and one for negative
> oscillator i.e one moving average for positive oscillator value and one
> moving average for negative oscillator value. Now I hope you understand What
> I have need.
>
> Regard,
> Kamal
>
> --- In amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com> , cas
> soni <soni67c@> wrote:
> >
> > Hello kamal,
> > you want something like this ?
> >
> > r1 = Param( "Fast avg", 5, 2, 200, 1 );
> > r2 = Param( "Slow avg", 35, 2, 200, 1 );
> > Plot(OscP( r1,r2), _DEFAULT_NAME( ),IIf(OscP( r1,r2)>0,5,4) , styleNoTitle
> | ParamStyle(" Histogram style", styleHistogram | styleNoLabel,
> maskHistogram));
> > Plot(MA(OscP(r1,r2),5),"",IIf(OscP(r1,r2)>0,5,4),1);
> >
> > Thank you
> >
> > --- On Sun, 27/12/09, kml_soni1973 <kml_soni1973@> wrote:
> >
> > From: kml_soni1973 <kml_soni1973@>
> > Subject: [amibroker] Need help for price oscillator
> > To: amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com>
> > Date: Sunday, 27 December, 2009, 7:25 AM
> >
> >
> >
> >
> >
> >
> >
> > Â
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Hello,
> >
> > I want to add 2 moving averages for oscillator i.e separate moving average
> for positive and negative signal. Follwing are the oscillator formula:-
> >
> > r1 = Param( "Fast avg", 5, 2, 200, 1 );
> >
> > r2 = Param( "Slow avg", 35, 2, 200, 1 );
> >
> > Plot(OscP( r1,r2), _DEFAULT_NAME( ), ParamColor(" Histogram color",
> colorCustom12 ), styleNoTitle | ParamStyle(" Histogram style",
> styleHistogram | styleNoLabel, maskHistogram ) );
> >
> > Please help me in this regard.
> >
> >
> >
> > Regards,
> >
> > Kamal
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> http://in.yahoo.com/
> >
>
------------------------------------
**** 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:
amibroker-digest@xxxxxxxxxxxxxxx
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/
|