Thomas,
I have found that using a specific day of the week can cause
unexpected results when the market isn't open that day. I use the
following approach to evaluate daily data on the last day of the week
(typically but not always a Friday) with trades occurring the next
market day
Is it possible to code Amibroker so that it will plot automatically
an arc if you give it the start and middle of the arc, instead of
drawing it in using the arc function in the insert pulldown menu.
Allowing the end point to be some time in the future. as an example
llv = 50 days back
hhv =
Hi
I need to add a quote for a missing day. I have tried to add one but it
does not get inserted. I am using the Metastock plugin so was wondering
if this is why I can't add it in.
AB V4.8
Thanks
Andrew
Hi,
The following system seems to show the Shorts when I use Explore, but
when I use backtest only one trade appears and it says it's an open
long position. I'm new at AmiBroker so any guidance would be
appreciated.
Thanks
//Define EntryTrigger
EntryTrigger = DaysUp AND CloseGTMA200 AND
--- In amibroker@yahoogroups.com, Ara Kaloustian [EMAIL PROTECTED] wrote:
The sorting of watchlist contents seem to NOT be working
Rght click on a wathlist. Menu appears with an option to sort
alphabetically ... which seem to do nothing
It sorts SYMBOLS*** inside watch list, not the
--- In amibroker@yahoogroups.com, Lester Vanhoff [EMAIL PROTECTED]
wrote:
WL sort won't work here either.
IT DOES WORK! You just misinterpret it - it is not supposed to sort
watch lists BUT THE SYMBOLS INSIDE the watch list.
This is logical - you select ONE watch list and click sort.
If it
--- In amibroker@yahoogroups.com, Bob Jagow [EMAIL PROTECTED] wrote:
Same here, Ara.
I looked in the `Watchlists' folder and found the TLS file
unchanged.
Of course it WORKS. It sorts the SYMBOLS inside the watch list.
The TLS file won't be changed until you SAVE THE DATABASE.
The disk files
You need to add it to the MS database
You need the MS downloader program for that (or similar if there is
one available)
--
Cheers
Graham
AB-Write Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 07/04/07, amickan1958 [EMAIL PROTECTED]
Hi Tomasz,
This is the first beta that I am hesitant to load -- I'm hearing so
many problems.
I have many charts that look at a particular watchlist, and then
display the primary indices that the symbol is a member of, depending
on which of one, or several, or no, watchlist contains it.
I have
Thanks a million Bill
it worked perfectly.
thanks again
wavemechanic wrote:
*Typo - put () in datenum()*
**
*==*
**
*I gather from your note that first date in chart is the first date
of the data and not of the visible chart. If so, give this a shot: *
**
TJ: If it was supposed to sort watch lists names you would need to click one
level higher (not select single watch list) ...
Well, I actually highlighted all watch lists (Alt+S-W - Sort) and was hoping to
sort them. In previous versions tickers inside watch lists were sorted
automatically. In
Yuki, why won't you test v4.91.1 on a separate AB installation. The problems I
experienced were so severe that I went back to v4.90.5. I just couldn't see 90%
of watch lists in the tree and the few that were there had wrong tickers.
However, this might be an extreme case because I don't see
Tomasz,
I am looking to sort the SYMBOLS. They do not get sorted!.
Right click on WL and select Sort ... . Nothing happens to the symbols
within that list
Ara
- Original Message -
From: Tomasz Janeczko [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007
Right click on a symbol rather than the WatchList name and then WatchList|Sort.
Works here.
Bill
- Original Message -
From: Ara Kaloustian [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 11:15 AM
Subject: Re: [amibroker] Re: watchlist sorting (vers
Tried it (highlight an issue, rgt click/WL/Sort) ... still no sort
In addition, when I rgt click on WL name and get the Sort menu, it should work
from that level.
Would all this have something to do with multiple installations???
Also any impact from keeping the database outside of AB
Maker sure the tls file is not read only. That's about the only idea I
could come up with.
d
_
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Ara Kaloustian
Sent: Saturday, April 07, 2007 12:05 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] Re:
Dingo hit on the issue that was affecting my lists which was that the
files were read only. I move DB's back and forth between computers and
along the way the attributes changed so once I changed the files no
problems. Sorting WL's works and no other issues so far. Might be worth
a try.
My watchlists.txt file was read only. Actual watchlist file was normal.
Changing WL.txt to normal, made no difference
Ara
- Original Message -
From: Duke Jones, CMT [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 9:15 AM
Subject: Re: [amibroker] Re:
Hmmm... Mine don't sort either.. LOL!!!
d
-Original Message-
From: amibroker@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ara Kaloustian
Sent: Saturday, April 07, 2007 12:22 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] Re: watchlist sorting (vers 4.91.1)
--- In amibroker@yahoogroups.com, Lester Vanhoff [EMAIL PROTECTED]
wrote:
TJ: If it was supposed to sort watch lists names you would need to
click one level higher (not select single watch list) ...
Well, I actually highlighted all watch lists (Alt+S-W - Sort) and
was hoping to sort them.
--- In amibroker@yahoogroups.com, Yuki Taga [EMAIL PROTECTED] wrote:
Hi Tomasz,
This is the first beta that I am hesitant to load -- I'm hearing so
many problems.
And that is what I really hate about this list. That people come up
whinning without really checking things.
All Syntax errors
Tomasz, as the old saying goes.. no good deed ever goes unpunished
:-) Your a victim of your own success! Your beta's are so good we rush
to get the latest and greatest from you.
The new features are great and it will just take a bit to get used to
how they operate. As for reading the manual
I've been playing around with some other charting packages out
there and there's one theme that runs through all of them: if the
charting package is based on .Net, it's going to be a performance
dog compared to a C++ native code-programmed app.
THANK YOU Tomasz for not getting on the .Net
TJ: Three people reported that sort alpha [sort the SYMBOLS inside the watch
list] doesn't work.
I'd noted that the TLS files were unchanged and that was true after Save All
and after restart.
Invoking sort alpha on large lists pops up the hourglass momentarily, so the
proc is obviously called
Not here, and cant imagine how clicking on a symbol could make senseif I
F4ed AAPL, would AB sort every WL to which it belonged?
Could be an OS issue; Im running win2k_sp4.
Could you, Duke and TJ be Xpers vs. me, Ara and dingo?
Regards,
Grumpy
-Original Message-
From:
Steve,
Thank you for posting. It will come helpful in the future when
somebody will ask to go .NET way :-)
Some background for those who may not be aware about C# story: C# was
actually Microsoft response to Sun's Java.
Microsoft had some conflict with Sun about MS Visual J++ (which was
--- In amibroker@yahoogroups.com, Bob Jagow [EMAIL PROTECTED] wrote:
TJ: Three people reported that sort alpha [sort the SYMBOLS inside
the watch
list] doesn't work.
I'd noted that the TLS files were unchanged and that was true after
Save All
and after restart.
Invoking sort alpha on
scourt2000 wrote:
I've been playing around with some other charting packages out
there and there's one theme that runs through all of them: if the
charting package is based on .Net, it's going to be a performance
dog compared to a C++ native code-programmed app.
THANK YOU Tomasz for not
Thank you Tomasz for a great programAmibroker has been the best investment
in my trading career...
Anthony
- Original Message -
From: Tomasz Janeczko
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 1:16 PM
Subject: [amibroker] Re: Tomasz is right, stick
How about single quotation mark?
regexp = '/$[\.\^]AX/';
Eric
--- In amibroker@yahoogroups.com, Michael.S.G. [EMAIL PROTECTED] wrote:
Hi Paul,
\.AX should work but does not.
[.]AX does work.
\^AX should work but does not.
The ^AX is a problem I can't find any way of
Re #3: When I do the Symbol-watch list I don't get a Sort option..??
d
-Original Message-
From: amibroker@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko
Sent: Saturday, April 07, 2007 1:24 PM
To: amibroker@yahoogroups.com
Subject: [amibroker] Re: watchlist
In my 5 minute intraday chart, i am trying to identify when it crossed
yesterday's daily High.
_SECTION_BEGIN(PlotYesterdayHigh);
dc = TimeFrameCompress( High,inDaily );
WriteIf( Cross(Close,Ref(dc,-1)), The close crossed yesterday high.
+ Yesterday high = + WriteVal(Ref(dc,-1)) + Close = +
No on all four.
Haven't heard back on win2k vs. XP, but assume you check that for betas.
-Original Message-
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf
Of Tomasz Janeczko
Sent: Saturday, April 07, 2007 10:24 AM
To: amibroker@yahoogroups.com
Subject: [amibroker] Re:
I initially noticed that but RTFM helped. Per the Readme Note that if you
have done any customization to the menu, you may need to go to
Tools-Customize, select Menu Bar and press Reset button for this new
menu items to appear.
Grumpy
-Original Message-
From: amibroker@yahoogroups.com
Tomasz:
One thing for you to consider is to recruit a group of beta-beta testers,
say about 10 to 20 people who you know and trust to properly evaluate a
newly issued beta change. Send them the new beta privately and expect them
to get back to you with either problems or an all clear. Then, when
you need to do the following:
// set timeframe
TimeFrameSet( inDaily );
dailyHigh = H;
// restore to current time frame
TimeFrameRestore();
// expand arrays
dc = TimeFrameExpand( Ref(DailyHigh,-1), inDaily);
trigger = cross(close,dc);
rgds, Ed
- Original Message -
From:
Ooops! Got caught!
d
-Original Message-
From: amibroker@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Jagow
Sent: Saturday, April 07, 2007 2:14 PM
To: amibroker@yahoogroups.com
Subject: RE: [amibroker] Re: watchlist sorting (vers 4.91.1)
I initially noticed that
Bob,
Well so much for good news as I just downloaded the latest beta to my
laptop and I can't sort on it after checking file attributes etc. Both
run XP so I am not sure if its a OS issue. One works the other does not
and I am not sure what is different between the two setups. I am going
to
I've reset the menu and it now appears (of course). But I still cannot get
any WL's to sort no matter if they are short, 7 symbols, or fairly large,
100.
d
-Original Message-
From: amibroker@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of dingo
Sent: Saturday, April 07, 2007
Oh, and I'm using WinXP Sp2
d
-Original Message-
From: amibroker@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of dingo
Sent: Saturday, April 07, 2007 2:33 PM
To: amibroker@yahoogroups.com
Subject: RE: [amibroker] Re: watchlist sorting (vers 4.91.1)
I've reset the menu
Tools-Customize, select Menu Bar and press Reset activated my Sort
menu when I do Symbol-Watchlist-Sort . BUT I still can not sort
- Original Message -
From: Bob Jagow [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 11:13 AM
Subject: RE: [amibroker]
You prompted me to install 4.9.1.1 on my XP notebook [Sys shows XP Pro V
2002 SP 2], Duke
Again no sortie tikie [rgt-clk or menu].
Per my comment to TJ, not a big deal for me but puzzles always intrigue.
On a happier note, I feasted on CNBC's Friday substitution of History of
Video Games for the
How to i detect the current timeframe from afl. ibelive u can set and
release the timeframe. but how do i detect the timeframe.
Seede
There are a number of ways to go but one is to draw the trendline with the
trendline charting tool, assign a study id to it, and then use the range marker
bars to define the beginning and end of the line. At that point, the number of
bars is simply:
endvalue(barindex()) -
This screen shot is what I get with symbol watchlist sort. What is
different about your menu?
- Original Message -
From: Ara Kaloustian [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 1:34 PM
Subject: Re: [amibroker] Re: watchlist sorting (vers
Title = strformat(((interval)));
Bill
- Original Message -
From: murthysuresh [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 4:43 PM
Subject: [amibroker] detect what time frame from AFL
How to i detect the current timeframe from afl. ibelive u can set
Sorry - forgot name:
title = strformat(((name)) - ((interval)));
Bill
- Original Message -
From: wavemechanic
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 5:17 PM
Subject: Re: [amibroker] detect what time frame from AFL
Title = strformat(((interval)));
Hello Johnny/Kailash Pareek
If i read your posted msg no 108348 u said df are charging so make a
free util u are supporting Mr Umashankar Ladha.
In your next post 108784 u say that df are giving this utilty free
( Is this a way to attarct people advertise here for paid
services ???
Head age with static variable
function SayOnce( text )
{
if( StaticVarGetText(lastsaidtext) != text )
{
Say( text);
StaticVarSetText(lastsaidtext, text );
}
}
SayOnce(Testing +Name() );
Why is not allow to write anything else except
SayOnce (Testing +Name() ); ?
Ops sorry i had twice the some formula and conflicts
Ok yes it is working
Happy Easter again
Panos
--- In amibroker@yahoogroups.com, Panos Boufardeas [EMAIL PROTECTED]
wrote:
Head age with static variable
function SayOnce( text )
{
if( StaticVarGetText(lastsaidtext) != text )
Hi,
I don't know what I did, but I lost my chart/symbol pane.
I also lost the menu-chart option. Chart does not appear on
the view (drop-down) menu.
Hopefully someone can tell me what I did and how to
fix it.
Thanks,
BobLenard
Thanks Bill. I can get the bar count in the commentary window using the range
markers
x=EndValue(BarIndex()) - BeginValue(BarIndex ());
writeval(x);
I did not assign any studyID (and assigning a studyID did not make any
difference). Is there any way to get the beginning and ending BarIndex for
I get an error when I run the following, this line is taken directly from the
online reference (reproduced below). The error I get is too many arguments
Sell = Cross( Study( SU ), Close, GetChartID() );
What is the correct format for using this?
Best regards,
-VJ
why not look up Cross in the help file?
d
_
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of nasdaq trader
Sent: Saturday, April 07, 2007 6:43 PM
To: amibroker@yahoogroups.com
Subject: [amibroker] AFL error
I get an error when I run the following, this line is
Hi Eric,
The data is not only end of string orientated or limited to (^|.)AX
The Actual search text is:
^AORDYahoo index (Beginning of string)
^AXEJYahoo index (Beginning of string)
so on.
BHP.AX Yahoo ticker Format (End of String)
CTX.AX Yahoo ticker Format (End of String)
so
While creating watchlists from external files, I encounter the problem
of a symbol having zero bars in the current database. I intend to
export required bars from another program into the db to fix these.
Detecting all of the zero-bar symbols is the task.
Can AFL report a zero-bar symbol?
So
There was no reference to Cross with a studyId in the help file. I am
specifically trying to learn to use Cross with a study Id.
Best regards
-VJ
dingo [EMAIL PROTECTED] wrote:
why not look up Cross in the help file?
d
You asked What is the correct format for using this?
and that is what is in the help file. It takes 2 arguments not three.
d
_
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of nasdaq trader
Sent: Saturday, April 07, 2007 7:04 PM
To: amibroker@yahoogroups.com
Not tested...but try this.
Sell = Cross( Study( SU , GetChartID()), Close );
Anthony
- Original Message -
From: dingo
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 7:07 PM
Subject: RE: [amibroker] AFL error
You asked What is the correct format for using
If anyone is interested, I have posted a new AB blank database (stocks)
on my website. Data is effective as of 04/05/2007
http://www.icc-az.com/Update-AB.html
It is setup for the Yahoo down-loader, US-Stocks.zip
I looked at posting a fully loaded one but 10 years of data made it
over 270 MB
For commentary, just do the same as you did for x : writeval(beginvalue(,
etc.
For chart use title = name() ++ beginvalue(... + etc. or =
writeval(beginvalue(... + etc.
Bill
- Original Message -
From: nasdaq trader
To: amibroker@yahoogroups.com
Sent: Saturday, April
--- In amibroker@yahoogroups.com, jrswindle2001 [EMAIL PROTECTED] wrote:
If anyone is interested, I have posted a new AB blank database
(stocks)
on my website. Data is effective as of 04/05/2007
Jim,
Thanks.
Your contribution fills a gap in the AB platform and is a good
example of what
Hi Tomasz,
I think it is only a very few that is carrying like a pork chop. The
majority of us work things out for ourselves and have never said a word.
_
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Tomasz Janeczko
Sent: Sunday, 8 April 2007 2:45 AM
To:
Hi Tomasz,
Well, no one will ever get any image problem ideas from me, and I
apologize for possibly inadvertently creating one. It's a great
program, period.
I did go ahead and try the upgrade. I'm not experiencing any
problems that I notice. I haven't tried everything yet, but I'll get
That menu comes up not only if you Right click on a symbol rather than the
WatchList name and then WatchList|Sort but also from the main menu [Symbol
| Watchlist].
I suspect only the latter usage is intended in that invoking the former from
a symbol in All, Markets, Groups or Sectors
makes no
Both Scan and Explore are based on signals. No bar = No signal.
unless you can create dummy bar and dummy signals.
_
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of whitneybroach
Sent: Sunday, 8 April 2007 8:58 AM
To: amibroker@yahoogroups.com
Subject: [amibroker]
Re regexp = '/$[\.\^]AX/
', '.' and '^' are regex commands so must be be preceded by the escape char
'\'.
-Original Message-
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf
Of Michael.S.G.
Sent: Saturday, April 07, 2007 3:42 PM
To: amibroker@yahoogroups.com
Subject: Re:
Can anyone actually perform a sort operation on symbols within a
watchlist? This seems to be the only thing I cannot do.
1. I emptied a watchlist that I use for daily setups.
2. I repopulated that watchlist with tomorrow's symbols, changing the
order in the AA results list from numerical sort
--- In amibroker@yahoogroups.com, carlacash26 [EMAIL PROTECTED] wrote:
I have 8 stocks that I would like to include in the index, and
each
of the stocks have their own weighting in the index;
Using nested IIF's will certainly do the job as you describe it.
If your stocklists are long and
Hello Yuki:
I hesitate to write since I don't know the context completely and I've not
loaded 4.91, but a no code approach
using 4.90.5 would be to export the three large watchlists to a general folder
dedicated to holding tickers, say, called MyTickers.
Then, in your new installation or
On Sat, 7 Apr 2007, jrswindle2001 wrote:
If anyone is interested, I have posted a new AB blank database (stocks)
on my website. Data is effective as of 04/05/2007
http://www.icc-az.com/Update-AB.html
It is setup for the Yahoo down-loader, US-Stocks.zip
Thanks once again Jim!!!
Did anyone ever get the code for this one figured out? The formulas suggested
were definitely wrong. Essentially you are looking for a 4% reversal. Thus,
you go back to the nearest low and if the close than the nearest low + 1.04%
you go long.
-
Don't pick
You can get a list of empty symbols by running the Cleanup script and not
deleting them when prompted. At the end of the run OK making the nottraded
file.
Bill
- Original Message -
From: whitneybroach [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Saturday, April 07, 2007 6:57
You replied on top, so I'm not sure you're the real Yuki. ;)
In any case, sort works for some but, like you, not for me. I also agree
that there's little point to undoing a sorted list.
Besides those generated from AA, consider the advantage of retaining the
sort in lists imported from other
--- In amibroker@yahoogroups.com, whitneybroach [EMAIL PROTECTED]
wrote:
While creating watchlists from external files, I encounter the problem
of a symbol having zero bars in the current database.
Can AFL report a zero-bar symbol?
Agree with Paul and WM.
Adding a little more detail as I
I assumed that symbol watchlist sort mentioned was for the right click
on symbol route. It looks like there are three routes for getting to sort -
right click on symbol, right click on Watchlist name, symbol tab. I find that
all three work sometimes and then (at least in my case) stop
I should also mention that I tested the sorting-Watchlist operation by entering
new symbols via the type-in route and not by the usual Metastock
plug-in-database route. Who knows, perhaps this makes a difference.
Bill
- Original Message -
From: wavemechanic
To: AmiBroker, User
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED]
wrote:
Tomasz,
99% of the time I find myself agreeing with your comments in the
forum; scary eh!
In this case *a room with a different* view.
All Syntax errors problems were because people were using
RESERVED
words in
Hi Bob,
I've checked the TLS files -- they are not read-only, and their
timestamp changes every time I close AB (by design, I believe).
However, sort from the symbol tree has never worked one time for me,
and the sort option is not present on my main, symbol - watchlist
menu.
png to see
XP sp2
You missed my RTFM reply to dingo's earlier lament.
-Original Message-
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf
Of Yuki Taga
Sent: Saturday, April 07, 2007 9:42 PM
To: Bob Jagow
Subject: Re: [amibroker] Re: watchlist sorting (vers 4.91.1)
Hi Bob,
I've checked the
80 matches
Mail list logo