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

Re: [amibroker] how can you make this work



PureBytes Links

Trading Reference Links

the mid range value is (a+b)/2

-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 27/05/07, Robert <disqplay0@xxxxxxxxx> wrote:
> lets look at the following
>
> if you calculate a and it returns a positive number
> then calulate b and it returns a negative number
> then try to calculate a - b = c why is c the total of the absolute
> values of a and b. I know that 1 -(-2) = 3 because the double
> negative make it positive but if you are looking for the difference
> beween the two and want to plot it as a mid range between the two it
> will plot a value greater than a (3) instead of between a and b (-.5)
> which is the value we are looking for in this case. So I am assuming
> we would have to use and if then statement to get the correct answer
> is that correct.
>
> Disq


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
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/