The following simple program illustrates an intriguing problem I
encountered when trying to develop a complicated trading system.
//Test Program
fast = MA(C,15);
slow = MA(C,50);
Buy = Cross(fast,slow);
Sell = Cross(slow,fast);
Buy = Flip(Buy,Sell);
*.tlb files are type libraries of a COM "server". AmiBroker is a COM
server, but as fas as I know there is no separate type library provided
with it.
You need tlb files if you use early binding in compliled languages like
C, VB, etc.
Use late binding (like script languages do), and you will be
Gordon,
Is there some reason that a ParamTrigger() button would not work for
you?
That is the easiest interface. Chart buttons are not quite as
reliable if you have a slow AFL execution.
I believe Herman has attached code to chart buttons that is closer to
what you want than what I have
Gordon,
If you have some AFL that you would like to attach to a new button...please
post or email me and I will
try it
Anthony
- Original Message -
From: Gordon Rose
To: amibroker@yahoogroups.com
Sent: Monday, January 26, 2009 11:27 PM
Subject: Re: [amibroker] Adding A
Hi Anthony, Herman, and Dennis,
Thank you for your excellent responses.
Anthony, I'm curious -- how did you accomplish what you attached in the jpg? I
wasn't aware of that capability. Also, does the AFL code behind your button
have the ability to access data for the current symbol? If not, I m
Gordon,
I do not know of a way to attach AFL to the existing toolbar UI
buttons. I requested being able to do what you ask a long time ago,
but it has not happened yet. However, there are many ways to solve
the same problem.
It might be easer to answer your question if you describe what
> I have been experiencing repeated thougnts about 64 bit
>programming,
> using tricky methods to store trade data, with minimal memory use,
> and 3,4, or more, dimensional matrices
Does anyone know where I can find something about minimizing memory
use with data handling and/or programming mu
Mike,
Instead of addcolumn(), you can write to a file with fputs().
regards,
dxd
--- In amibroker@yahoogroups.com, "Mike" wrote:
>
> there have been a few other posts in the pasts about finding
> correlations for pairs and in the code put up people have created a
> nice grid type of output.
>
IMO backtesters that combine money management, scaling in and signal
ranking in one step are not using the best, or most efficient method.
On the contrary, this approach can muddy the waters and create
confusion for the user, especially new comers.
It is well known that if piano students do not
I can strongly recommend number 2 below. NoScript and Adblock are
both excellent FF addons. Also, I've been using Avast for quite a
few years.
Yuki
Monday, January 26, 2009, 10:55:28 PM, you wrote:
TL> Ara,
TL> 3 suggestions:
TL> 1. If you're looking for a new AV program, Avira Premium is ra
Thanks to everyone for your answers. Last year I decided to upgrade to the
newest version of both NIS and SystemWorks for the first time in 3 or 4 years (
as Howard noted, it has been getting some great reviews ). Symantec has now
added an enhanced password manager ( called Identity Safe ) to NI
Thanks for all the responses.
I was surprised to get that many responses. It's obviously a critical issue.
Appreciate your inputs
Ara
- Original Message -
From: Howard B
To: amibroker@yahoogroups.com
Sent: Sunday, January 25, 2009 6:24 PM
Subject: Re: [amibroker] Re: OT: PC
Hello !!
I did'nt know what .tlb file is .
So if somebody how and where to install the file on a computer ?
My purpose is to use this file with the langage VBA excel ...
Is it possible ?
Hi,
Is anyone aware of a way to attach AFL to a toolbar button in AB?
I'd prefer a new toolbar button, and am willing to use win32 coding if there's
a way to do it.
Barring being able to do this, I seem to recall a post about using OLE
automation to execute blocks of script on demand -- I be
Very nice, and simple too.
Thomasz, thanks for the tip, and thanks even more for such a wonderful
stock analysis software package. Amibroker rocks!
Pete :-)
--- In amibroker@yahoogroups.com, "Tomasz Janeczko" wrote:
>
> if( LastValue( Cross( MACD(), 0 ) ) Say( "MACD crossed above zero");
>
>
Dear All
I am a very new learner in Amibroker, I required help in building AFL
Library. If anybody having following AFL then Please provide and I
will be thankful for the same.
(1) AFL/Indicator that gives buy/sell indicator for the given group
based on closing values of the stocks
(2) AFL/I
if( LastValue( Cross( MACD(), 0 ) ) Say( "MACD crossed above zero");
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: "Pete"
To:
Sent: Monday, January 26, 2009 3:07 PM
Subject: [amibroker] Examples of Say() Command?
>I searched this forum and the online AFL Refer
Here's an example I used to use for highlighting extreme moves in the
TICK indices...
function SayNotTooOften( text, Minperiod )
{
elapsed=GetPerformanceCounter()/1000;
Lastelapsed = Nz( StaticVarGet("lastsaytime") );
if( elapsed - Lastelapsed > Minperiod )
{
StaticVarSet("l
I searched this forum and the online AFL Reference but did not find
any examples of using this command within a trading system.
I have been using the AlerIf() function to play a windows sound when
one of my signals register on the chart. Very symple, one line of
code, works great.
But I would like
Ara,
3 suggestions:
1. If you're looking for a new AV program, Avira Premium is rated best in
the latest tests, and it's also rather fast. (Kaspersky AV, recommended by
Joseph, used to be one of the best but has been falling behind lately.)
2. You should seriously think about switching from IE to
20 matches
Mail list logo