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

[amibroker] Decimal in Volume and Actual Traded Value



PureBytes Links

Trading Reference Links

Hello Mr. Tomasz Janeczko,

Just being curious, is there some situation when we actually get Volumes in Decimals; or is it being done for some backward compatibility ?

One situation that immedaitely comes to my mind, is case of REVERSE SPLITS etc. where historical volume data can have decimal values. 1 for 2 Reverse-split will result in historical volume of 325 into 162.50.

One more area where, I am hoping for enhancement in the new version is support for Actual Traded Value (not Volume*Close). Exchanages here in India provide Actual Traded Value data. I think ActualTradedValue / Volume gives a better datapoint than Close for further analysis.

Thanks again for the continuous stream of upgrades.

With Regards

Sanjiv Bansal

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>
> Correct, but in 5.27 it is going to change.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Graham" <kavemanperth@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, July 25, 2009 3:47 AM
> Subject: Re: [amibroker] Addtocomposite
> 
> 
> I think Volume only allows integers, not decimals
> 
> -- 
> Cheers
> Graham Kav
> AFL Writing Service
> http://www.aflwriting.com
> 
> 
> 
> 2009/7/25 Markus Witzler <funnybiz@xxx>:
> >
> >
> > 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
>




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

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