Hi,
I'm new to this list, and new to AmiBroker, and very excited by this
program!
Alot of my prior experience is with TradeStation, so I'm somewhat used
to driving that interface. Hence, I may have a few questions that are
on the simple side for skilled drivers of AB. I hope you all will
Hi all.
Is it possible to have charts built on a black background and charts
built on a white background present and displayed at the same time?
My initial impression is that the only way to change the background
color of charts is via the global preference setting ...
Is there a way to link charts by symbol and have different timeframes?
Can this now be done? (AB 5.0)
I'm not seeing Buy/Sell arrows after a backtest either, despite
right-clicking and selecting 'Show Arrows for Actual Trades' in the AA
window.
Why could this be?
--- In amibroker@yahoogroups.com, murthysuresh [EMAIL PROTECTED] wrote:
goto the price panel, right click, properties, axes/Grid, Misc, Show
Trading arrows = Yes
Bingo! Thank you.
Tomasz and Ara,
Thanks for the good info!
Hi again.
Is it possible to shade the chart background differently between the
open and close of trades (as opposed to periods when your position is
flat)?
Yes indeed. Thank you!
--- In amibroker@yahoogroups.com, Peter Montgomery [EMAIL PROTECTED]
wrote:
This the sort of thing you are looking for?
_SECTION_BEGIN(Trade Shade);
FBuy = Flip(Ref(Buy,-1),Ref(Sell,-2));
IIf(BarsSince(Buy BarsSince(Sell)),Plot( FBuy, Buy, ParamColor
( Buy
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
File-New-Linked Chart
That's helpful, thanks.
Do I understand correctly that there is no way to either symbol link
or interval link charts which have already been created?
For that matter, is there any way to interval
I'm trying to get a large number of Watchlists, with their symbols,
imported into AB.
Example file: 'CBOE Gold.tls'
Contents:
ABX
AEM
ASL
AU
FCX
GFI
GLG
MDG
NEM
PDG
I have dragged many such files into one of my database 'WatchLists'
directory.
In fact, the lists themselves (the file names)
Tomasz,
Thanks for your reply, explanation and recommendation.
Just to be perfectly clear, the answer to this question:
What I want to accomplish to to make all the symbols in all the lists
known to AB, accessible as symbols, and as Watch List members, without
having to import these lists one
I was hoping for this good news, but what I have found is only
half-the-loaf.
Indeed, if you place the files in the database WatchLists directory
(with AB closed), you can then open AB and you will see those file
names as watch list in the the 'Watch lists' area under the 'Symbols' tab.
There
Thank you, Tomasz and Don.
Being new at working with AmiBroker, I feel like a kid on a treasure
hunt! g
64 bytes per quote x 500,000 bars (default max # saved) = 32 MB
for a single quote array (e.g. Open)
For OHLCV: 32 MB x 5 = 160 MB
10 x 160 MB = 1.6 GB
20 x 160 MB = 3.2 GB
500,000 / 1440 minutes-per-day = @ 347 days
So, depending on the specifics of computer memory, which quotes you
are
Since AFL Editor is getting a refit, I'll mention that I would find it
helpful if AFL Editor did not lock it's window over top of all others
while open.
Of course, if enough monitors are available, it can just be dragged
over out of the way. But, whenever one is working with limited screen
Oh, yes! Block indent/unindent via Tab/Shift-Tab.
Can't believe I didn't mention that myself. I'm so used to it from
other code editors that I mess up my AFL every time as my fingers
reflexively fly to what isn't there ... g
--- In amibroker@yahoogroups.com, murthysuresh [EMAIL PROTECTED]
I wonder if it might perhaps be the case that allowing shortcuts (in
addition to actual folders) in C:\Program Files\AmiBroker\Formula
would be a simple and quick thing to implement?
I would like to build a library of AFL code outside the AmiBroker
folder hierarchy, but still be able to access
Herman,
Thanks for your reply.
What I mean by a shortcut is a Windows file system shortcut, the
thing you get when you right-mouse-drag a folder and then choose
'Create Shortcuts here'. It's a path to a folder, where the folder
itself resides elsewhere in the file tree. To folks with a 'Nix
Hi.
I successfully ran my first BatMan batch, but now the BatMan.hta file
will not run again.
If I click on it, nothing happens. If I drag it into IE, I am asked
to Run or Save, and I choose run and something flashes by really fast
and then nothing else happens. The form never opens.
It
--- In amibroker@yahoogroups.com, blakerandy [EMAIL PROTECTED] wrote:
Just wondering if there is an easy way to convert Trade Station code
into AFL language?
Not to be flip, but the easy way is to pay a programmer who knows both
EL and AFL to do it for you.
I suppose learning both yourself
My quick impression is that the original code here was written with
the implicit assumption that the platform would be executing it on
every bar.
This is the mental paradigm one develops after working with, say,
EasyLanguage, for a long period of time. However, it is not the right
mindset for
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
Actually it is covered fully in the User's Guide:
http://www.amibroker.com/guide/h_understandafl.html
Yes, I've read that section of the User's Guide. It is very helpful,
but it does not cover what I have termed the
Nick,
I think you've expressed the idea pretty clearly. In concept, it
seems that being able to take advantage of multiple master loop
architectures would be a very cool ability for an optimizer to have.
This is something I have speculated on and done a small amount of
private experimenting
Sometimes one wants the cursor to track between windows, sometimes not.
I think that having it be an option that is easily toggled would
certainly be ideal.
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED]
I don't get it - what's the big deal about pressing just one key ?
I've got to offer my opinion on this one, because what's being stated
above is so much bigger than the single question of Ctrl-H.
The purpose of the computer
For those of you who wish to have multiple copies of AB on different
machines, create new work (charts, layouts, code) on the different
machines, and subsequently synchronize those machines, the way in
which you apply your indicators to charts can have a big influence on
your ability to achieve
Brian,
Thanks for your kind comments.
I would anticipate making myself available for AFL consultancy work at
some point in the future after I've increased my direct experience with
it and become more familiar with more of the particulars. I'm still in
the process of getting used to the AB way,
I can't help but comment on what a great argument this thread makes
for using 'Open', 'Close', 'High', 'Low' in code instead of O H L C o
h l c. :^)
--- In amibroker@yahoogroups.com, Homar Simpson [EMAIL PROTECTED] wrote:
Have a collection of custom indicators in a sheet. (The sheet is in
the hidden dd folder)
I want to copy these and resave under a new name, in the custome
folder
AB will not let me rename the afl sheet it uses.
--- In amibroker@yahoogroups.com, Homar Simpson [EMAIL PROTECTED] wrote:
Lets say I duplicate a database, and want to independently modify
the underlying AFL in the panes. I don't want Database B mods to
alter Database A structures, which is what will happen as it is now.
If you are
I'll just mention as an always-available alternative that AmiBroker
discussion is welcome and encouraged at the CodeForTraders Forum,
which is now operating the newly released Gold version of phpBB3:
http://codefortraders.com/phpBB3
Cheers!
I'd like to extend my best wishes for a Merry Christmas and a Happy
New Year to all those who post to this list.
Thanks very much for all your contributions in 2007, and here's hoping
for a great 2008!
what I think is happening is that ATC is just updating the tickers
already
available without checking as to in which Group they are present.
I have made observations that seem to confirm this - i.e. if a
composite somehow gets created in a group other than 253, then it gets
updated in place when
If AB is running on one computer using such sharing it is fine.
But if you run multiple instances simultaneously
on multiple machines and you are using this sharing the
results will be unpredictable.
Not to be too cute, but who uses just one computer anymore ...
TJ, I appreciate your direct
[mailto:[EMAIL PROTECTED]
On Behalf
Of progster01
Sent: Saturday, 12 January 2008 12:35 PM
To: amibroker@yahoogroups.com
Subject: SV: [amibroker] auto file synchronizers (was Re: Extremely
tired of
this.)
If AB is running on one computer using such sharing it is fine.
But if you run
TJ,
Before I say more about multi-machine synchronization, I'd like to
make a meta-comment and let it stand alone.
With respect, Tomasz -
I've noticed repeatedly that a common response by you to users is:
*READ THE MANUAL*or
All you need to do is to *READ THE MANUAL*
Are you aware that
TJ,
Did I say you can not run multiple computers?
No I didn't.
No, and I did not say that you did.
Did I say you can not share files?
No I didn't.
No, and I did not say that you did.
Possibly there is a difference between what I was writing/intending
and what you were reading/interpreting.
--- In amibroker@yahoogroups.com, paultsho [EMAIL PROTECTED] wrote:
it is no different than using word.
unidirectional means you cant update 2 copies
of the same file separately.
Good example.
In Word, if you update two text documents separately, you are left to
choose between them at the time
--- In Tomasz Janeczko [EMAIL PROTECTED] wrote:
It surprises me to no end that (some) people are so
touchy about read the manual sentence.
Tomasz,
I appreciate your comments on your reasons for using plain text.
I would only differ in that I think making a point to EMPHASIZE that
someone do
--- Tomasz Janeczko [EMAIL PROTECTED] wrote:
All that lengthy post can be answered in one simple sentence:
THE LAST write counts. So the instance which writes the data
as the last one overwrites any earlier changes.
There is no magic here.
I think that's a good clarification at the
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
Often people coming from other platforms are so attached to certain
way of thinking that they can not think different.
Kind of a limited view of human potential, don't you think?
AB will not imitate TS.
TS is just
Tomasz,
But you have read the manual so you already know that perfectly.
Is this humor, sarcasm, or something else? It's hard to tell from the
written word alone (and perfection is something I explicitly disavow
for myself, as you have already read g).
You are welcome to answer that question
Janeczko
amibroker.com
- Original Message -
From: progster01 [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, January 12, 2008 10:13 PM
Subject: [amibroker] auto file synchronizers (was Re: Extremely
tired of this.)
Tomasz,
But you have read the manual so you
Tomasz,
but you truncated my previous answers.
Sorry, but I've truncated nothing. Everything you've posted remains
as you've posted it. I merely quoted in my own messages the portions
I was responding to as a matter of providing some context to my
comments, and to show what I was responding
--- In amibroker@yahoogroups.com, Paul Ho [EMAIL PROTECTED] wrote:
1. I use mounting of network drives for all computers to access AFL
files
2. I use importing/exporting of watchlists to synchronise between
instances of AB who are running concurrently.
3. I file synchronise the AB
--- In amibroker@yahoogroups.com, Ronald Davis [EMAIL PROTECTED] wrote:
When I am working on creating a new custom indicator on different
computers, I simply have _Orig on the end of the custom name that I
have chosen.
Then when I am working on it in the Abit motherboard computer, I
save it
--- In amibroker@yahoogroups.com, cstrader [EMAIL PROTECTED] wrote:
To make a thicker line, just plot the same line a few times at small
increments. For instance, I use this function for indicators:
Nice!
I made a variation which parameterizes the thickness with an internal
variable and a
Offhand, I think you might have a job well-suited for BatMan, which
you can find in the Files section.
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
Yes there is a contingency plan
Good to know. Thanks!
--- In amibroker@yahoogroups.com, vlanschot [EMAIL PROTECTED] wrote:
He has chosen a business format which has been very successful for
AB. But the main risk is the reliance on its creator (there is no
contingency plan here). We cannot have him turn into an author.
That's something I've
He started AB out on an Amiga (the Ami part of the name)
That's an interesting bit of history which I didn't know before.
I well remember the excitement of those times.
I used the Ataris myself, first 8-bit, then 16/32 (ST).
Back then my interest was MIDI rather than markets.
Hi,
Is there a way in AFL to check on a variable such that if the variable
has never been initialized then that is just considered a simple FALSE
rather than an error?
For example, in pseudocode:
#include this-file-sets-flags.afl
if ( FLAG_SET_VIA_INCLUDE_FILE ){
do something
}
else{
do
use static variables, they return NULL when not yet initialized.
Herman,
Thanks much for the suggestion. That's the first thing I tried.
There seems to be a lifetime issue with the static variables from the
point-of-view of what I'm trying to accomplish.
What I think I'm observing is that
For anyone interested, I have made a minor variation of Herman's
slideshow code (with comments) and also have made a movie
demonstrating a slideshow in action and how to use the code to create
it, either directly or via and include file.
Herman, Bruce and Tomasz,
Thank you each very much for your replies.
I've summarized this info and written some test code which can be read
or downloaded from here:
http://codefortraders.com/phpBB3/viewtopic.php?f=60t=130p=310#p310
Being able to swap major blocks of functionality in and out by
--- In amibroker@yahoogroups.com, brian_z111 [EMAIL PROTECTED] wrote:
if a lot of people had their own pages (commercial or not)
it would add up to an awesome reference manual even though we do
lose 'search from one desk'.
Anyway the time has come to add a page for our Amifriends links.
Thanks for the posts on video software, Tomasz.
That's good information!
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
For my tutorials I am using Qarbon Viewletcam
http://www.qarbon.com/presentation-software/vc/
which is way superior as far as file size is
--- In amibroker@yahoogroups.com, vlanschot [EMAIL PROTECTED] wrote:
Progster (or anybody else who has suggestions), which software do you
use to create/record your videos? I'm still looking for a tool which
will allow me to record screens in video-format.
Currently, I'm using Jing:
--- Yesterday, in amibroker@yahoogroups.com, Tomasz Janeczko
[EMAIL PROTECTED] wrote:
I would not consider next beta big.
Today we see:
http://www.amibroker.com/devlog/2008/02/12/amibroker-5051-beta-released/
HIGHLIGHTS of this version:
1.. automatic Walk-Forward Optimization, with
It is my understanding that during an AB optimization which the user
specifies as, and understands logically to be, exactly N iterations,
various statements in the AFL may be executed internally some number
other than N times.
This is a result of the design of AB.
While we are assured that the
Can Futures Mode be set from AFL?
If not, I think it might be helpful if it could.
Thanks much Chris!
I'd searched the manual on futures and futures mode, neither of
which lead to SetOption().
A search on FuturesMode will though ...
--- In amibroker@yahoogroups.com, ChrisB [EMAIL PROTECTED] wrote:
SetOption(FuturesMode,True);
Herman,
Your understanding here is much deeper than my own, no doubt.
I've attempted to answer Vishy's question, because I've encountered
and wondered about similar behavior.
Does anyone have a code snippet that does this?:
Write the optimization iteration number to the Debug log, exactly once
Joe,
I think that's a good point to make. Certainly some of the same
information is there in the Report Explorer report.
Missing is the detail log, and the ability to immediately work with
the trade list in a spreadsheet-like manner, with column sorts.
P.S. I think it would be nice if the
--- In amibroker@yahoogroups.com, ChrisB [EMAIL PROTECTED] wrote:
From AA window with Trade Results (or indeed Optimization results)
File export should do the job
Indeed it does, and that certainly puts my suggestion to have a
right-click 'Export to .csv' choice right next to the 'Copy'
For anyone who might be interested, I've posted a single-file
Persistent Variable Library for AFL (for use as a #include file), and
a simple demonstration of using it to write Exploration results to a
file automatically.
(The PVL itself is a commented rollup of code previously posted by
Herman in
Tuzo and Herman,
Thanks for your replies. I will look into applying your suggestions
when I can return to the computer for more than a moment.
--- In amibroker@yahoogroups.com, Herman [EMAIL PROTECTED] wrote:
I optimize using a custom loop in and Indicator...
Do you mean by this that you are not using the AA window and the
Optimize button?
Since I'm not even clear on what you are describing, I'm sure that
whatever I could learn about
5) imo, the OHLC bar structure is obsolete. Imagine the design
advantage if you knew the HL precedence. Of course, in the majority
of cases, you can be sneaky and calculate HL precedence by assuming
that the price follows path of least resistance from the Open to the
Close... or subscribe to
Two things I just thought of ...
I'm using Vista here (does that affect the default Y axis font?).
Where would I go to check/set the Y axis font, and what is the default?
(I found no info seaching on default, font, or axis in the help.)
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
I have written the sample for you that shows how to do what you were
trying to do:
etc.
This is very interesting code (thanks Tomasz!), but for some reason I
am observing that not all of the little rectangles fall on
Beyond the CCI-specific question above (and at the risk of stating the
obvious), the solutions given in this thread show how AFL arrays can
be used to straightforwardly calculate the percentage of truth for any
condition over a lookback period.
Anyone interested in a somewhat generalized code
Brian,
I agree with everything you've said, with one possible exception - as
I see it, the presence or absence of HL precedence information is
appropriately designated a quality item, since basic path of the
market info is either present (in theory), or not. Not having that
information is a data
--- In amibroker@yahoogroups.com, Louis Préfontaine [EMAIL PROTECTED]
wrote:
I'll stick around and try to get some piece of wisdom and
maybe I will be able to build something with those that will
eventually allow me to build the system I want to build!
He talks both about moving
averages
--- In amibroker@yahoogroups.com, Mike [EMAIL PROTECTED] wrote:
Basically, I want a getCurrentBarIndex() function that returns a
Number such that for any array at any bar I could write
MyScaler = MyArray[getCurrentBarIndex()];
The way I understand it, if you are hoping to
Hi all.
Suppose I walked up to a running instance of AB ...
Is there a way to determine, with certainty,
a) the name of the last layout loaded (the one now being displayed)
b) whether or not any edits have taken place since the last layout
was loaded
I am thinking the answer is No to both
I've posted via my site a tutorial video which provides a brief
introduction (running time 2:39) to AmiBroker Layouts and the .awl files
that they are stored in.
This is intended primarily for those just getting started.
For anyone interested, here is a link to the post:
--- In amibroker@yahoogroups.com, brian_z111 [EMAIL PROTECTED] wrote:
Re testing on several stocks.
If the system is 'good' on one symbol, (the sample size is valid) and
it is also good on a second symbol (also with a valid sample size) is
that any different from performing an IS and an OOS
I've posted via my site a tutorial video which provides a brief
introduction (running time 4:45) to AmiQuote installation and data
save disk locations, and the various file-types that AmiQuote saves
for the different download choices.
This is intended primarily for those just getting started.
Experimenting with the code given above in this thread, I changed the
output to include the signal type, and altered the signal setup like
so (these are the altered lines only):
// experiment - produces 4 signals per symbol (types 1,2,3,4)
// Short signal (type3) has PosScore negative of Long
--- In amibroker@yahoogroups.com, Fred Tonetti [EMAIL PROTECTED] wrote:
I think I made this change to the array initialization after I posted
the code.
rsSymNo = rsiSymNo = rocSymNo = rsScore = rsiScore = rocScore = Cum(0)
-
;
I was wondering why I wasn't seeing all the numbers on
Tomasz,
Thanks much for your extra commentary.
Re:
What do you mean with signal lines are present?
Where? In the code?
What I meant was that in these output lines:
Date : 1/9/2007
AA,3,-67.0314
AA,1,67.0314
...
AA,2,{EMPTY}
AA,4,{EMPTY}
in the last two lines shown, we see signal type 2 and
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
Hello,
At the end of backtest all open positions are CLOSED automatically,
one reason.
Second reason is that you have have active STOPS in the settings that
generate
exits anyway.
Thanks![:)]
IMO, it's probably best for individual subscription issues or
discussions to be taken up privately with support, rather than on this
list. (Just my $.02 worth.)
Considering it's capability set, technical excellence, robust support,
extensive community, and modest price, one would be hard pressed
--- In amibroker@yahoogroups.com, Fred Tonetti [EMAIL PROTECTED] wrote:
which ... I have now tested on a 4 chassis fully loaded IBM x3950
That's 16 processors . 64 cores . 32 MB of L2. 1 TB of memory .
Hmmm.A year's worth of analysis done in a single week.
Maybe IBM should start offering
Hi.
I've posted to the CodeForTraders Forum some pictures and Exploration
demo code which was inspired by the request in this thread:
http://finance.groups.yahoo.com/group/amibroker/message/124977
The look backwards is accomplished via the array function BarsSince(),
and the look forwards is
--- In amibroker@yahoogroups.com, Graham [EMAIL PROTECTED] wrote:
Generally if you ask about a problem and get no response here it would
mean nobody else has that problem
My first thoughts exactly.
BTW, I just checked, and it works fine for me (v 5.10.2).
Do your arrow keys work to
This is great. Thanks, Ian!
Adding on - I've posted to my site a fully commented and slightly
extended version
of the provided code which:
* Allows WL name to be specified as a parameter
* Separates the EraseAndFillWL() function into an include file
* Allows Filter to be
--- In amibroker@yahoogroups.com, J. Biran [EMAIL PROTECTED] wrote:
How do I get to see the attached pictures?
Hi Joseph,
Anyone can join the CFT Forum (see Register
http://codefortraders.com/phpBB3/ucp.php?mode=register at the bottom
of a Forum page) , and thereby gain membership privs,
--- In amibroker@yahoogroups.com, Paul Ho [EMAIL PROTECTED] wrote:
Tomasz is a one man band. So I can appreciate and am very happy with
the product direction he has taken.
I agree with this. The capabilities of AB, and the speed at which it
evolves are most impressive.
At the same time,
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
... adding 2 more developers for core development
would SLOW DOWN the development
Depends what is meant by core (IMO).
I think there are dozens of UI oriented (or other) nice-to-haves
that would really save hundreds
--- In amibroker@yahoogroups.com, markhoff [EMAIL PROTECTED] wrote:
Thanks a lot for sharing. PSO seems to really fascinating subject ...
You're welcome, and I agree!
I've been studying the PSO sample code provided in the ADK, figuring out
where the rubber meets the road interface-wise.
My
--- In amibroker@yahoogroups.com, Fred Tonetti [EMAIL PROTECTED] wrote:
An enhanced version of PSO and other intelligent optimization
algorithms have been available for AB for years .
Fred,
I imagine you are thinking-of/referring-to your IO package - an advanced
and powerful TA add-on if ever
--- In amibroker@yahoogroups.com, Fred Tonetti [EMAIL PROTECTED] wrote:
Personally I don't see how it facilitates the more important aspects
of
intelligent optimization nor the other necessary companion pieces.
Thanks for your comments.
This seems like a rich area for discussion.
If you have
Mike,
Nice posting of Monthly Percent Change Table summary code and
commentary. [:)]
Adding on - I've posted at my site a slightly updated version of the
code which provides:
* end-of-month to end-of-month calculation
* _Trace() statements for verification
* further code
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] wrote:
Press Cancel. All backtests upto date will be available in the
result list.
You can sort/ export the results list from AA window.
Tomasz,
Congratulations on all the new optimization capabilities you've
recently added
--- In amibroker@yahoogroups.com, Paul Ho [EMAIL PROTECTED] wrote:
I'd also like you to consider a suggestion to further improve the
usability by making the progress bar independent of the AA analysis
window, so that one can scroll through the result which is displaying
in the background
--- In amibroker@yahoogroups.com, brian_z111 [EMAIL PROTECTED] wrote:
Re: what can traders do with multicore processing (MCP)?.
One fantasy would be to have the platform able to optimize and
chart/trade at the same time in such a way that the continually
updating results of the optimization
As a companion to optimization plug-ins, I think it would be lovely if
a plug-in interface to AB's walk-forward evaluation could someday be
made available.
One key point of expansion (IMO) would be not having IS and OOS
periods limited to same-sized time slices, but instead allow the
periods to
Very interesting code by Paul. Thanks for sharing it.
Thinking about how it works, here's how I explain it to myself:
Internally, AB will sort/order the backtester's 'Signal' objects
according to absolute value of PositionScore. Later in the code, we
will retrieve from these objects by
1 - 100 of 249 matches
Mail list logo