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

Re: [EquisMetaStock Group] Re: %b indicator



PureBytes Links

Trading Reference Links

Hi Khalid,
   
  Strange, I've never had this problem; anyway, try this:
   
  ----------------------------------------
  %b
  ----------------------------------------
  A1:=CLOSE-BBandBot(CLOSE,20,S,2);
A2:=If(A1=0,0.01,A1);
(A2/(BBandTop(CLOSE,20,S,2)-BBandBot(CLOSE,20,S,2)))*100
  -----------------------------------------------------------------------------------------------
   
  It should be fine now.
   
  Eduardo
   
  

Khalid Masood <dr_khalidmasood@xxxxxxxxx> wrote:
          --- In equismetastock@xxxxxxxxxxxxxxx, Eduardo Gontan Pulgarin 
<con051204@xxx> wrote:
>
> Hi Khalid,
> 
> Here try this:
> 
> -----
> %b
> -----
> ((CLOSE-BBandBot(CLOSE,20,S,2))/( BBandTop(CLOSE,20,S,2)-BBandBot
(CLOSE,20,S,2)))*100
> ----------------------------------------------------------
----------------------------------------------
> 
> Just copy and paste it on your indicator builder.
> 
> Eduardo.
> Khalid Masood <dr_khalidmasood@xxx> wrote:
> I want code for %b indicator.
> Please help & oblige
> 
> 
> 
> 
> 
> Send instant messages to your online friends 
http://uk.messenger.yahoo.com 
> 
> [Non-text portions of this message have been removed]
>

Thanks Eduardo.
There is minor problem when I run this code. It displays maths 
error: division by zero=16
How to remove this error?



         

 Send instant messages to your online friends http://uk.messenger.yahoo.com 

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/