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

Re: [amibroker] Re: Jscript functions



PureBytes Links

Trading Reference Links

Hello,

You didn't provide entire formula.
If you did , I would see if you use GetScript object
function and call functions defined in script parts.
If you do see the reply to the other user

"Calling functions defined in script via GetScriptObject is not functional in 4.31.1
This will be fixed in 4.32.0"

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "andy_kovacs" <andy_kovacs@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, April 16, 2003 10:13 PM
Subject: [amibroker] Re: Jscript functions


> OK - appreciate the reply, and understand log 0 is unplottable, but 
> the same function returns NON ZERO values in 4.3 and plots 
> perfectly. 
> 
> The formula is the same, the data is the same, only the version 
> number is different...
> 
> Ill check out the SETBARSREQUIRED, but I cant see how it can make a 
> difference if the function worked OK in 4.30.
> 
> Andy
> 
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
> wrote:
> > Hello,
> > 
> > 1. Logarithm of ZERO is Undefined in math. 
> > THerefore log scale must not be used for non-positive values
> > 
> > 2. When using scripting you have to add
> > SetBarsRequired function at the top of your formula
> > to give hint how many bars you need in your
> > scripting part:
> > http://www.amibroker.com/guide/afl/afl_view.php?
> name=SETBARSREQUIRED
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message ----- 
> > From: "andy_kovacs" <andy_kovacs@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Wednesday, April 16, 2003 9:24 PM
> > Subject: [amibroker] Jscript functions
> > 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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