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

Re: [amibroker] my code is in error I guess



PureBytes Links

Trading Reference Links

sorry yuki
In correcting what looked like a typing error I did one myself
The line you had shown had a bracket in worng place which would give
you wrong results. The bracket was shown after Close, but I think it
shoul have been before the dividing sign /
BBPS = (BBandTop(C,20,2) - BBandBot(C,20,2) / Close) * 100
I changed it but added in a bracket too many, here is my corrected line
BBPS = ( BBandTop(C,20,2) - BBandBot(C,20,2) ) / Close * 100

On 8/24/05, Yuki Taga <yukitaga@xxxxxxxxxxxxx> wrote:
> Hi Graham,
> 
> Wednesday, August 24, 2005, 10:57:24 AM, you wrote:
> 
> G> was this a type error?
> G> BBPS = (BBandTop(C,20,2) - BBandBot(C,20,2) / Close) * 100
> 
> G> BBPS =((BBandTop(C,20,2) - BBandBot(C,20,2) ) / Close * 100
> 
> I did reply to this.  I don't know if you saw it or not.  But I am
> completely confused.
> 
> Yuki
> 
> 
> 
> 
> 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 other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hkch7u6/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124885259/A=2894352/R=0/SIG=11fdoufgv/*http://www.globalgiving.com/cb/cidi/tsun.html";>Help tsunami villages rebuild at GlobalGiving. The real work starts now</a>.</font>
--------------------------------------------------------------------~-> 

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

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