PureBytes Links
Trading Reference Links
|
to show that continuity or lack thereof more simply than with two lines. --- In amibroker@xxxxxxxxxxxxxxx, Howard B <howardbandy@xxx> wrote:
>
> Hi Whitney --
>
> The in-sample results and out-of-sample results are generally not
> comparable.
>
> What problem are you trying to solve?
>
> Thanks,
> Howard
>
>
> On Tue, Apr 7, 2009 at 8:59 AM, whitneybroach <WhitneyBroach@xxx>wrote:
>
> > Somehow I've missed code that combines IS and OS equity into a single
> > line. I'm sure correct code is available somewhere, right?
> >
> > The following code does not do the job. It roughly rescales the start of OS
> > to the last value of IS, but it does not show IS values prior to OS. Can
> > this be done without a loop?
> >
> > ////////////////////////
> > eq_is = Foreign( "~~~ISEQUITY", "Close", Fixup = True );
> > eq_os = Foreign( "~~~OSEQUITY", "Close", Fixup = True );
> > lvis = LastValue( eq_is );
> > eq_diff = lvis - eq_os;
> > eq_combined = eq_is + eq_os - eq_diff;
> > Plot( eq_is, "IS", colorBlack, styleLine );
> > Plot( eq_os, "OS", colorGreen, styleLine );
> > Plot( eq_combined, "IS+OS", colorBlue, styleLine );
> > ///////////////////////
> >
> >
> >
>
------------------------------------
**** 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/
|