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

Re: [amibroker] Addtocomposite



PureBytes Links

Trading Reference Links

I think Volume only allows integers, not decimals

-- 
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com



2009/7/25 Markus Witzler <funnybiz@xxxxxx>:
>
>
> Hi Herman,
>
> I did the following:
>
> AddToComposite
>
> (ATRExpLagRounded, "~ATRExpLagRounded_"+Name(), "V", atcFlagDefaults |
> atcFlagEnableInBacktest );
>
> data =
>
> Foreign("~ATRExpLagRounded_"+Name(), "V",atcFlagEnableInExplore);
> Addcolumn(data, "ATRExpLagRounded",1.5)
>
> When I run an exploration, I noticed that the digits somewhat get truncated,
> i.e. values between 2.0 and 2.9 are displayed as 2!
>
> The original array, ATRExpLagRounded, is display properly.
>
> Why is that? Addtocomposite doesn´t do any rounding, truncating or else,
> right?
>
> Sorry for my ignorance!
>
> Markus
>
>
>
>
> ----- Original Message -----
> From: Herman
> To: Markus Witzler
> Sent: Friday, July 24, 2009 11:50 PM
> Subject: Re: [amibroker] Addtocomposite
>
>
> data = foreign(  "~ATRExpLagRounded_"+Name(), "V");
>
> Plot(Data,"",...)
>
> create the composite with the atcFlagEnableInExplore flag if you use an
> exploration to create the composite.
>
> herman
>
> Friday, July 24, 2009, 5:04:10 PM, you wrote:
>
>
>
>
> Hello,
>
> this may be a dumb question, but how can I get the data of
>
> test=AddToComposite
>
> (ATRExpLagRounded, "~ATRExpLagRounded_"+Name(), "V", atcFlagDefaults | atcFlagEnableInBacktest);
>
> in Exploration output? I want to check if it holds the data it was supposed
> to...
>
> Addcolumn(test, "Output", 1.5) returns "1". Why is that?
>
> If I wanted to plot it as an indicator, what would that be?
>
> Plotforeign("?","indicator_+name(),"V",colorred,styleline)????
>
> Thanks
>
> Markus
>


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

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