Hello all,I couldn't be more pleased with all the Amibroker
improvements lately, I am still often amazed what this fantastic piece
of software is capable of.
I am going wrong somewhere with the loop sample below when changing
the expression: Close[ i ] priceatbuy * 1.2 ) into: Close[ i ]
Shouldn't you be referencing Priceatbuy[i] within the last 'if'
statement... 'if' statement are supposed to return a boolean... and
you can't get a boolean by comparing an array... and Priceatbuy is an
array...
--- In amibroker@yahoogroups.com, tayamaan [EMAIL PROTECTED] wrote:
Hello all,I
Hello,
I am also having NEGATIVE volumes in some heavy volume securities on
days when volume is very high. Further, file database setting
configure option is not available for LOCAL database that I am using.
With Regards
Sanjiv Bansal
--- In amibroker@yahoogroups.com, wavemechanic [EMAIL
Sanjiv,
It sounds like number overflow... AmiBroker divides volumes by 100 to
try and avoid this... however, if volume is huge you could still get
number overflow and end up with negatives. It's the limitations of the
variable type you are hitting, not data errors... in my view.
--- In
One correction to my previous post : I am having NEGATIVE volume on
high volume securities when they are compressed to Weekly etc. high
periodicities.
With Regards
Sanjiv Bansal
--- In amibroker@yahoogroups.com, wavemechanic [EMAIL PROTECTED]
wrote:
file database setting configure
Negative volumes - You are using old version of AmiBroker. Install v5.10.
Volume from Yahoo expressed in hundreds of shares:
READ THIS:
http://www.amibroker.com/kb/2007/08/04/amiquote-and-free-data-from-yahoo/
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From:
hi,
could you explain what you try to do? 1 error I see is that priceatbuy in the
loop also needs to be handled as an element, like priceatbuy[ i ], but then
still I can't figure out what you are trying to do,
rgds, Ed
- Original Message -
From: tayamaan
To:
Thanks, Mr. Janeczko and Sidhartha
The version is 5.10.1 Build date June 10 2008.
Data source Import from ASCII
No division by zero having been done in ASCII file (They hold actual
volume)
With Regards
Sanjiv Bansal
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED]
Hi Ed, the loop is just a simple profit target stop for testing other
parts of my systems and a reference to the Entry Price.
Once changing the Close[ i ] priceatbuy * 1.2 expression and
basically making it a stop, things go wrong. Or is it my logic? LOL
Am not too familiar with looping and
There is no syntax error with your code if this is what you want to know.
It runs in backtest without problem, it will scan as well. What doesnt work
for you?
_
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of tayamaan
Sent: Monday, 30 June 2008 6:16 PM
To:
Hello,
I want to capture the buy/sell signals during Explore/Scan in a file. I get
the file with all the stocks rather than the stocks for which buy or sell
signals triggered.
Request help just to capture the stocks for which the Buy/Sell signals have
triggered.
// Script
hi,
this indeed can be done without using loops but if you want to use loops it
would look like (see also chart). But this can be done without using loops,
rgds, ed
Buy = Cross(C,EMA(C,50));
Sell = 0;
BuyPrice = Open;
sellPricelevel = Null;
BuyAdjusted = 0;
for( i = 0; i BarCount;
Hello,
Add
$VOLFACTOR 0.01
and re-import your data.
That will keep volume in hundreds of shares and you won't get overflow.
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: sumangalam [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Monday, June 30, 2008 9:51
Hi,
You've got two problems.
1) IIf returns arrays. So, both b and s will be arrays, not scalers.
Therefore, you cannot use the 'if' statement with them later.
2) The operator '=' actually *assigns* a value to all elements of the
array. For comparrisons, you must use the '==' operator, not
Just to follow up. The best way to capture the results of an
exploration is to simply use the built in Export... feature from
the File button from of the AA window.
Mike
--- In amibroker@yahoogroups.com, Mike [EMAIL PROTECTED] wrote:
Hi,
You've got two problems.
1) IIf returns arrays.
Thanks Mike for the clarification. But,I want to capture the buy /sell signals
in a file rather than using the Export feature available in Amibroker just to
study the changes that may happen during intraday.
Can u pls make the changes to this piece of code so that the results get
caputred in
Thanks for your efforts Ed. It is indeed simpler to use the Equity
and Flip(Buy,Sell) method! Though occasionally I am having some
trouble with ValueWhen( Buy, Close ,1) if the Buy condition is met
again after the initial entry signal. Are there other ways to refer
to the Entry Price without
Hi,
I cannot get Emailer to work for tick by tick database. The buy
signal appears in the Automatic Analysis window as well as in the
Alert Output window but the emailer does not send it. Testing the
email is OK in the preferencies/Alerts. Also it works fine for EOD
database but does not work for
hi,
I think that for your initial question indeed loops are required. Getting rid
of these excess buy signals can only be done once you know where the sell is in
the array. So I would think you would have to solve it like in my example code.
But maybe the master himself knows how to solve it
When a Walk Forward test is done the results are displayed in html
format. I would like to get the results into a format I can use in
Excel. Is there a way to do this? I've tried copying the table and
pasting in Excel but this just gives one big block of text.
To answer my own question: right click on spreadsheet and past it as 'text'.
On Mon, Jun 30, 2008 at 5:56 AM, ges [EMAIL PROTECTED] wrote:
When a Walk Forward test is done the results are displayed in html
format. I would like to get the results into a format I can use in
Excel. Is there a
Hello,
You should be able to IMPORT Html to excel (use Excel, File-Open)
In the future the format of this report will be changed anyway.
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: ges [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Monday, June 30,
Greetings all --
Here is an AFL code that will implement the parabolic trailing stop for a
long position. Set the Buy independently. Set the initial level of the
trailing stop as you wish. The code takes care of raising the stop level as
the price rises.
Hi Haders --
If you use only percent system drawdown, and minimize that, the system
chosen will probably not trade much and the annual percentage gain will be
low. If one of the choices among the optimization set results in taking no
trades, that will minimize percent system drawdown.
As an
Greetings all --
Angle! When someone is talking about chart analysis and uses the word
angle, my antenna vibrates.
One of the important premises of technical analysis is that every indicator
used should be the same before and after stock splits. An angle is a
comparison of a horizontal
Thanks guys for the feedback, I have worked it out, mistake on my
part (and not the first one) From here I can continue!
Buy = Cross( MACD(), Signal() );
Sell = 0;
SellPrice = Close;
profitline = Null;
priceatbuy = 0;
for( i = 0; i BarCount; i++ )
{
if( priceatbuy == 0 AND Buy[ i ] )
hello
i am trying to connect to my databse in mysql from afl and i get an
error that i dont know how to fix.
odbcOpenDatabase(ODBC;DATABASE=dbtrader;DSN=mySQL
dbtrader;OPTION=0;PORT=0;UID=root);
odbcGetArraySQL(SELECT * from rawdatas);
odbcGetLastError() ;
i have a user dsn setup for
--- In amibroker@yahoogroups.com, mohefi8 [EMAIL PROTECTED] wrote:
Hello, gents,
I've been searching for harmonic AFL's, such as butterfly's AB=CD,
It will be great help.
Regards.
I'm interesting in this too, but I think it is more difficult to code
it.
Hi All,
I'm running some AFL code which builds a small matrix of values into
some arrays... the matrix will be about 10 x 5... with each element of
the array having a value which will be the 3rd dimension of the matrix
if you like.
I want to plot these matrices as a 3D graph to see maxima and
Hello,
It is necessary to follow instructions closely.
As written here:
http://www.amibroker.com/odbc.html
ODBC connection string:
ODBC;DSN=SQLServer_Source;DATABASE=MyDatabase;UID=SA;PWD=abc123 is a
possible connection string.
See - password and user id are passed through connection
Hello,
I am looking to show a vertical line extending from the bottom of the
chart page where it shows the intraday time to the top of the chart
page just below the tab line that shows the symbol for the stock. This
line would simply denote the end of that days trading. Is there
already a code
Tim,
you can plot vertical lines at any 'time' (x axis) on the chart that
you want... use something like,
EndTime = 161500;
StartTime = 093000;
Plot( Cross( TimeNum(), EndTime ), , colorLightGrey, styleHistogram
| styleOwnScale | styleDashed, 0, 1 );
Plot( Cross( TimeNum(), StartTime ), ,
Run an optimization, then click - Optimize / View 3D Optimization
Graph to generate CSV file as an example
Now, look at how the following works - it should catalyze some ideas -
c:\program files\amibroker\o3g.exe Optimize.csv
-- Bruce
--- In amibroker@yahoogroups.com, sidhartha70 [EMAIL
Hi Bruce,
it's not an optimization I'm running... sadly.
I'm doing some pattern analysis and building a matrix around the
results. It's these results I want to plot.
Any ideas...?
--- In amibroker@yahoogroups.com, bruce1r [EMAIL PROTECTED] wrote:
Run an optimization, then click - Optimize /
Hi, I have a question about forex trading.
In a backtest result for eur/usd, Amibroker shows
long: 1.55265 exit 1.55625 , profit percentage 0.36%, profit 0.00
Here as I am not considering leverage, profit percentage is correct, but
there is a problem with profit , it should be
I think that you might have missed my point. O3G.exe is a general
purpose 3D plot routine included with AB that is driven by a CSV file.
Optimization just generates the file then calls O3G.
You might want to take a close look at what I suggested. This should
give you ideas about writing an AFL
Ahh. Aplogies Bruce.
I see where you are going now... Many thanks.
--- In amibroker@yahoogroups.com, bruce1r [EMAIL PROTECTED] wrote:
I think that you might have missed my point. O3G.exe is a general
purpose 3D plot routine included with AB that is driven by a CSV file.
Optimization just
Quit your whining. It took me the best part of 2 years to get accurate profit
margin calculations.
It didn't help that there was a bug in fx profit calculations involving
leverage but Thomasz fixed
that a few releases ago (ta :)). Along the way I realised that not all brokers
calculate
Hi Louis,
If I understand what you want correctly: Find the Highest High so far
for today?
Just grab the last value of TimeFrameGetPrice(H, inDaily, 0)
Just off the top of my head, not tested. Also Not sure about the
expand options.
BR,
Dennis
On Jun 30, 2008, at 10:01 PM, Louis
Has anyone done quantitative testing to pick the best fitness
function?
Car/mdd seems to work well, better than k-ratio or sharpe in my
personal testing.
Haven't tried Ulcer performance index.
I just woundered what others have found.
Since the fitness function has such a major impact on the
I would like to plot weekly, monthly, quarterly and yearly highs and
lows on daily candles. The code immediately below accomplishes this for
weekly and monthly data:
//Weekly Plots
WkH = TimeFrameCompress(H,inWeekly,compressHigh);
WkL = TimeFrameCompress(L,inWeekly,compressLow);
WklyH =
Pak Dendo selamat ya, semoga menjadi keluarga yang harmonis selama2nya..
wah blm bisa diganggu ya, padahal mau tanya kenapa data2 emiten di realtime
downloader saya ilang semua ;(
--- On Sun, 6/29/08, under cover [EMAIL PROTECTED] wrote:
From: under cover [EMAIL PROTECTED]
Subject: Re:
Dear Pa' Dendo dan rekan2 milis,
Saya baru bergabung dengan milis ini, dan saya lihat di situs
www.integrity.co.id/amibroker-4-bei/ ada program amibroker, intraday plugin
yang bisa didownload secara free.
Yang menjadi pertanyaan saya, kenapa bisa free download? Apakah ini hanya
semacam free
Maaf ni pendatang baru mau ngucapin Selamat menempuh hidup baru
--- On Sun, 6/29/08, astarina Last Namewidyanti [EMAIL PROTECTED] wrote:
From: astarina Last Namewidyanti [EMAIL PROTECTED]
Subject: Re: [Komunitas AmiBroker] Selamat Menempuh Hidup Baru
To: amibroker-4-bei@yahoogroups.com
Date:
ST
Gak adab neh
On Mon, Jun 30, 2008 at 9:27 AM, Ayong Bermana [EMAIL PROTECTED] wrote:
Dear Pa' Dendo dan rekan2 milis,
Saya baru bergabung dengan milis ini, dan saya lihat di situs
www.integrity.co.id/amibroker-4-bei/ ada program amibroker, intraday plugin
yang bisa didownload
Selamat begabung pak Ayong,
Intraday plugin bisa free karena program tsb mengambil data saham dari
finance.yahoo.com yang juga gratis (hanya delay 10 menit untuk BEJ.
Keunggulannya Intraday plugin bisa mengolah data yahoo tsb sehingga
bisa ditampilkan menjadi intraday chart di Amibroker.
Info
Maaf, koreksi sedikit. Yang gratis data intraday plugin (karena
diambil dari yahoo). Programnya sendiri, betul seperti kata pak Ayong,
free trial untuk 30 hari.
2008/6/30 [EMAIL PROTECTED]:
Selamat begabung pak Ayong,
Intraday plugin bisa free karena program tsb mengambil data saham dari
mau beli amibroker original daftar dulu untuk pemesanan di no telp
0813-8008-1719 dengan ibu maya. nanti bisa dapetin semua plugin komplit dengan
4P mr Vier J. Gitu.. cepet sono telp ntar pesanan masuk ke gelombang yg
selanjutnya mesti nunggu lg lho.. Ayo gerak cepet.. Ntar duit uda depan mata
Iya,saya jg pendatang baru,idem, mau mengucapkan SELAMAT MENEMPUH
HIDUP BARU buat Pak Dendo dan Bu Lusi,smoga menjadi keluarga yang
bahagia dan sejahtera,Amien!!!
2008/6/30, febri riswandi [EMAIL PROTECTED]:
Maaf ni pendatang baru mau ngucapin Selamat menempuh hidup baru
--- On Sun, 6/29/08,
Halu Pak Budi,
mungkin saat upgrade, $volfactor di file aqd.format dan aqh.format
berubah lagi menjadi 0.01.
2008/6/30 Budi H [EMAIL PROTECTED]:
Dear All,
Saya pada tanggal 27 juni 08 upgrade Amibroker versi 5.10 and AmiQuote versi
2.00.
Tetapi pada saat donlot data BEI data volume
Dear members,
Saya David, newbie di milis ini, baru join hari ini hehehe, btw saya minta
tolong yah untuk sharing info, kalo saya ingin scan secara cepat saham2 apa
saja yang melewati batas bolinger band baik atas maupun bawah di amibroker
gimana yah caranya?? soalnya saya melihat Bolinger
iya, saya juga bingung
gimana cara ngambil AFL nya pak anton
apa di download atau gimana?
maaf nih pak, maklum gaptek
salam hormat, Nana
2008/6/27 charlesto2001 [EMAIL PROTECTED]:
Pak, ambil AFL nya di mana ya?
--- In amibroker-4-bei@yahoogroups.com amibroker-4-bei%40yahoogroups.com,
52 matches
Mail list logo