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 -----
Sent: Friday, July 24, 2009 11:50
PM
Subject: Re: [amibroker]
Addtocomposite
data = "" class=rvts8> "~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/
__,_._,___
|