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

[amibroker] Re: #include AND points-only test



PureBytes Links

Trading Reference Links

Tomasz,

First of all: My compliments for your great software!

Thank you for the reply.

1.
a) I have checked that the function name is spelled exactly the same 
way in both cases.
b) I don't quite understand this one. Could you please explain?
What do you mean by "change the new version in AA window"...?
c) Incorporating direct custom function calls in AFL is exactly what 
I was looking for. Good news. Too bad that I can't try it out.

2.
This one was easily fixed according to your correction. Thank you!

3.
I am trying with ES (mini S&P futures) 1 and 5 minute bars.
The prices have been downloaded with eSignal, converted with MS 
Downloader and stored on my HD.
I installed your software with eSignal enabled (Data source = eSignal 
RT data plug-in) although I can't get any Futures RT, can I? (I do 
have Futures with my eSignal subscription).
So, I think that the on-line connection might be the cause of some 
problems (?)

BTW, I read that you have special discounts for eSignal. 
For 2 more months I have a discount ($80 for equities plus eminis). 
After that I will pay $104 if I remember well.
What would this be in case I purchase your RT version?

Thank you very much again.

Best Regards

Spyros

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:
> Hello,
> 
> 1. 
> a) JScript is case-sensitive therefore you have to make
> sure that you use exactly the same function name
> (myFunction in both places)
> 
> b)
> #included files may get cached. If you change #included file
> you have to change the formula 
> in AA window too to ensure that new version is re-included.
> 
> c) although not available to TRIAL users, new beta versions
> include user-definable functions in native AFL level
> (no script required at all)
> 
> 2.
> There is a typo in manual.
> Instead of
> PositionSize = MarginRequirement = 1;
> 
> you should use:
> PositionSize = MarginDeposit = 1;
> 
> to get points-only test.
> 
> 3. What data source are you using?
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Spyros Raftopoulos" <raftsp@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, May 15, 2003 1:55 PM
> Subject: [amibroker] #include AND points-only test
> 
> 
> > Hello,
> > 
> > I am currently trying the software (v.4.30) but I have various 
> > problems:
> > 
> > Problem 1.
> > I am trying to call "myFunction" from within another function.
> > This is what I have done:
> > First I created a function named "myFunction" like this:
> > 
> > EnableScript("jscript");
> > <%
> > function myFunction(x1,x2,x3,x4)
> > {
> > return (x1 + x2 + x3 + x4) / 4;
> > } 
> > %>
> > 
> > I have never used jave before in my life, so I just followed the 
> > example given. I hope that what I have written is meaningful.
> > 
> > I saved it in C:\Program files\Amibroker\Afl
> > Please notice that I have checked that a function 
called "myFunction" 
> > exists there indeed!
> > 
> > Then I tried the calling formula:
> > 
> > #include "C:\Program files\Amibroker\Afl\myFunction.afl";
> > script = GetScriptObject();
> > Graph0 = script.myFunction(Open,High,Low,Close);
> > 
> > The problem is that each time I click 'Apply' I get this error:
> > 
> > Method/function 'myFunction' does not exist at line 3, column 96:
> > 
> > 
> > Graph0 = script.myFunction(Open,High,Low,Close)
> > ----------------------------------------------^
> > 
> > Problem 2.
> > So far I have not managed to do a "Points-Only" test, according 
to 
> > the instructions given. The tester keeps buying and selling 
dozens of 
> > shares or contracts depending on the equity, regardless of what I 
> > have written in the code. What should I do to for a points-only 
test 
> > on ES (emini S&P500)?
> > 
> > Problem 3.
> > I have periodical freezings, rubbish on the main chart etc.
> > 
> > Could the downloaded file be corrupted?
> > A problematic installation maybe?
> > 
> > Thanks
> > 
> > Spyros
> > 
> > 
> > 
> > 
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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 ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/aM1XQD/od7FAA/uetFAA/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/