[amibroker] Multiple time-frame indicators

2008-06-20 Thread Flegnor
Hi: I'm currently working with Amibroker during my free trial period. Since there is obviously a considerable learning curve associated with writing new indicators I decided to start with something that should have been simple. I decided to add a new indicator (a Multiple time-frame MACD) to Amib

[amibroker] Re: Timeframe... inDaily question

2008-06-20 Thread sumangalam
Hello, Please see if mixing the two help you : iif(barindex() = lastvalue(barindex()),TimeFrameExpand (HHV_VAL,inDaily,expandfirst),TimeFrameExpand (HHV_VAL,inDaily,expandLast)); Regards Sanjiv Bansal --- In amibroker@yahoogroups.com, "Louis Préfontaine" <[EMAIL PROTECTED]> wrote: > > Hi, >

RE: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread J. Biran
The only problem is that you can only select the properties of LAST (or already selected) study. In order to select any other study you have to click on it which unfortunately also moves the study. One possibility would be to be able to select studies with first click (just select item), then you

RE: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread J. Biran
Yes Dennis, I share your feelings. I just added one bug report (#1466) Arrows drawn on linked multiple timeframe charts do not line up horizontally - it is a bit long (see http://www.amibroker.com/feedback/view_bug.php?bug_id=1466 ) and one suggestion (#1465) Add property to manually drawn arrow "h

[amibroker] Re: Study Charting dare I say bugs...

2008-06-20 Thread murthysuresh
> > And here is one more that I just found today. If I draw trend lines > on a one minute bar snapped to peaks, then switch to a 5 minute view, > the trend lines are shown on the wrong 5 minute bars. And heaven help > me if I select the line in that view, because it will snap to these

[amibroker] Any One can help With ( GfxSetTextColor ) Please

2008-06-20 Thread Mohammed
Hi, With the following Code I'm trying to change the Color inside the Box depending to the JJ status.But I got an error in the last line. jj = c > O; UpColor = colorgreen; DownColor = colorred; GfxSelectFont( "Georgia", 11, 700 ); GfxSetBkMode( 1 ); //GfxSetTextColor( colorWhite ); GfxSetTextC

[amibroker] Re: getting a list of watchlists that my symbol belongs to

2008-06-20 Thread murthysuresh
--- In amibroker@yahoogroups.com, "dingo" <[EMAIL PROTECTED]> wrote: > > Put in some _TRACE commands to see if you're getting what you expect from > the fgets. > > If you still can't figure it out - I'll try to get it working Fri. > > d > > > -Original Message- > > From: amibroker@yaho

[amibroker] Re: getting a list of watchlists that my symbol belongs to

2008-06-20 Thread murthysuresh
--- In amibroker@yahoogroups.com, "murthysuresh" <[EMAIL PROTECTED]> wrote: > > --- In amibroker@yahoogroups.com, "dingo" wrote: > > > > Put in some _TRACE commands to see if you're getting what you > expect from > > the fgets. > > > > If you still can't figure it out - I'll try to get it workin

[amibroker] PASSWORD PROTECTION FOR CODE

2008-06-20 Thread wavetrader2005
Hello Group, Is there some way to protect your AFL code? For example, in TradeStation 2000i there are several ways to protect your code so it can't be seen by others, but the code can still be used by others. Is there a similar feature to protect AFL code? Please advise. Thanks, Wave~Trader

[amibroker] Re: Using mouse wheel.

2008-06-20 Thread progster01
--- 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 accom

[amibroker] Re: Working with Watchlists from AFL

2008-06-20 Thread Ian Watts
Herman This may do the trick procedure EraseAndFillWL(WLNumber, Filter) { s = 0; Actn = 0; if(Actn = Status("action") == 4) { if( s = Status("stocknum") == 0 ) { List = CategoryGetSymbols (categoryWatchlist, wlnumber); for(i = 0; (Symbol = StrExtract(List, i)) != "";

Re: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread Dennis Brown
Tomasz, Thank you for responding to this issue. I understand the problem from the program point of view, but that is no excuse for a genius like you doing this right from the user point of view even if it requires more program smarts. One way to solve this: When a study is selected, remembe

[amibroker] Re: Study Charting dare I say bugs...

2008-06-20 Thread dave_88_1961
Just a thought, This might be a dumb solution but when I have a lot of studies on a chart and they overlap making it hard to choose one to change I put them in layers, unclick the study layer that overlaps and change the one I want. Click the layer back on and you can look at all of your studies

Re: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread Dennis Brown
Joseph, I have run into this problem also. The way I solve it is I only right click on the study which will select the study without changing it and then select the properties from the contextual menu. You just have to be very aware that clicking on any place on your chart can change a stu

Re: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread wavemechanic
Dennis: I completely agree with your overall assessment and know that at least several users also completely or partially agree but may or may not respond - so you are not alone. Much has been said through the years on the Yahoo board/AB website/support mail about bugs, "clunkiness", and desir

Re: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread Tomasz Janeczko
Hello, You people don't seem to realise that I am THE ONLY PERSON who works on AmiBroker code. The day has only 24 hours and one person has only two hands. Now if even few people ouf of 8000 users submit "ideas" everyday, no matter what I do I can not implement them IMMEDIATELLY. And no, I can

RE: [SPAM] Re: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread Rob Duff
Tomasz There are plenty of us out here that really appreciate your efforts! Thanks, Rob -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko Sent: Friday, June 20, 2008 9:39 AM To: amibroker@yahoogroups.com Subject: [SPAM] Re: [amibro

[amibroker] AmiBroker 5.12.0 BETA released

2008-06-20 Thread Tomasz Janeczko
Hello, AmiBroker 5.12.0 BETA released: http://www.amibroker.com/devlog/2008/06/20/amibroker-5120-beta-released/ The highlight of this release is the support for non-exhaustive optimizer plugins and two sample optimizers with full source code: Standard Particle Swarm Optimizer and Monte Carlo (r

Re: [amibroker] Metastock and Amibroker

2008-06-20 Thread Louis Préfontaine
Hi Tomasz, Thank you for your reply. If I understand well, my limitation is 500 tickers + approx. 1 second by ticker. So if I use 15 minutes timeframe, that would be approx. 1400 (500+900) tickers. Is that right? I was wondering... If I find a way to limit my number of tickers to 1300, by bui

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
Hi, Is it possible to do the opposite? Or, if I use 15-minute bars (but my database is in 5-minute bars) to set the buyprice at the Close of the first of the three 5-minute bars? Thanks, Louis 2008/6/20 Graham <[EMAIL PROTECTED]>: > You have to set your base time period to 15 minute and use

[amibroker] Re: Problem with version 5.10.2

2008-06-20 Thread alan4171
Was related to distance from receiver; not sure why. Maybe AB just hogged some resources and somehow affected the comms between mouse and receiver although keyboard worked ok. Just another winDoze mystery I guess. --- In amibroker@yahoogroups.com, Keith McCombs <[EMAIL PROTECTED]> wrote: > > So,

[amibroker] Re: Fundamental data for Australian stocks

2008-06-20 Thread alan4171
Whew ... thanks for that. So to summarise; Aussie Fdata not yet available with single click in AB, but here's hoping that one day real soon now (holding breath) . --- In amibroker@yahoogroups.com, "brian_z111" <[EMAIL PROTECTED]> wrote: > > > Brian what do you think ? > > I did quite a bit o

[amibroker] Re: Working with Watchlists from AFL

2008-06-20 Thread progster01
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 calculate

Re: [amibroker] Study Charting dare I say bugs...

2008-06-20 Thread Dennis Brown
Tomasz, I am very aware of the limitations of one person --I have that problem myself --just ask my wife. I waited a long time and considered carefully before posting the original post here. I was trying to be careful to mention only those things that are a real problem that are affecting m

Re: [amibroker] Re: Timeframe... inDaily question

2008-06-20 Thread Louis Préfontaine
Hi, Hmm... I am not sure to understand this code... But is it theoretically possible to use the inDaily in "real-time", that is if I am looking let's say for a daily value of RSI it would be the RSI not of the close yesterday but the actual RSI at 11:30 AM? Louis 2008/6/19 sumangalam <[EMAIL PR

RE: [amibroker] Re: getting a list of watchlists that my symbol belongs to

2008-06-20 Thread dingo
How about putting your comments at the top - I ain't got time to search thru the old stuff. You CAN trim the last 2 chars using AFL, duude. Since they're always the last 2 you can: wcName=StrLeft(StrLen(fgets( fh )) -2); d > -Original Message- > From: amibroker@yahoogroups.com > [mailt

Re: [amibroker] Re: Study Charting dare I say bugs...

2008-06-20 Thread Dennis Brown
Dave, I'd like to know from the original poster what software handles these "problems" because AB has been the best software I have used after many years of many different charting programs. Other programs might be easier to use to start, AB does take more time to learn but well worth tha

RE: [amibroker] Re: Working with Watchlists from AFL

2008-06-20 Thread J. Biran
How do I get to see the attached pictures? Joseph Biran From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of progster01 Sent: Friday, June 20, 2008 7:58 AM To: amibroker@yahoogroups.com Subject: [amibroker] Re: Working with Wa

[amibroker] Re: Study Charting dare I say bugs...

2008-06-20 Thread dave_88_1961
Thanks Dennis, I was just curious about what other software you were using. Dave --- In amibroker@yahoogroups.com, Dennis Brown <[EMAIL PROTECTED]> wrote: > > Dave, > > > I'd like to know from the original poster what software handles > > these "problems" because AB has been the best software

[amibroker] Re: AlertIf Question?

2008-06-20 Thread Barry Scarborough
I tried this and still can't get AlertIf to work. This is what I did: I set smtp server to smtp.imageview.us Authentication to Auth Login I set my user id and password that is in outlook express Sender name = myABat and email [EMAIL PROTECTED] Recipient name = razzbarry and email [EMAIL PROTECTED]

[amibroker] Re: Working with Watchlists from AFL

2008-06-20 Thread progster01
--- 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 at the bottom of a Forum page) , and thereby gain membership p

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
Hi, I mean, if I work with 15-minute bars, wouldn't it be simply more complicated to use 5-minute bars and then timeframeexpand every single rule but this particular buyprice? Thanks, Louis 2008/6/20 Louis Préfontaine <[EMAIL PROTECTED]>: > Hi, > > Is it possible to do the opposite? Or, if I

[amibroker] AddSummaryRows -- AmiBroker 5.12.0 BETA released

2008-06-20 Thread Ken Close
Tomasz: Very cool. AddSummaryRows adds a very nice capability for Explores. Is it possible, or could it be possible in the future, to force formatting on the values delivered? The avg for example has 12 or more digits. Easy enough to format after exporting to csv, but I just wondered if it coul

[amibroker] Re: Study Charting dare I say bugs...

2008-06-20 Thread tipequity
If people use feedback center and vote for fixes and suggestions then I think Tomasz would have a good idea on how to prioritize his time. >From my perspective I hope he does not spend a second on the stuff that you are complaining about. They have no relevance to my work. I much prefer to see

Re: [amibroker] AddSummaryRows -- AmiBroker 5.12.0 BETA released

2008-06-20 Thread Tomasz Janeczko
Hello, I may add option to format the numbers if user-defined way. As for optimization interface: it is way broader/more important thing than looks on the surface. The point is NOT about particle swarm optimizer, which is actually rather poor for combinatorial tasks, but about the INTERFACE itse

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
Hi, I tried this as a test but it doesn't work well: //SetTradeDelays( 1, 1, 1, 1 ); TimeFrameSet (in5Minute); C5=Ref (C,1); TimeFrameRestore(); BuyPrice = TimeFrameExpand (C5,in5Minute); Buy = C>1.45; Sell=C>50; All my signals are based on 15-minute bars but I do have 5-minute bars in the d

Re: [amibroker] AddSummaryRows -- AmiBroker 5.12.0 BETA released

2008-06-20 Thread Duke Jones, CMT
Tomasz, Ditto on the kudos for the summary options. I can cross off another reason to export results to Excel. Each of these additions is a huge time saver in my book. Thanks Again., we appreciate all of your efforts. Regards, Duke Jones, CMT Tomasz Janeczko wrote: > > Hello, > > I may add o

[amibroker] Re: Using mouse wheel.

2008-06-20 Thread reinsley
I use this stuff to scroll into Excel Editor. http://www.geocities.com/SiliconValley/2060/freewheel.html regards --- In amibroker@yahoogroups.com, "imorf69" <[EMAIL PROTECTED]> wrote: > > Hi, > in the versions prior to my current registered Ami Pro 5.00.1 (which I > note has just been supersede

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
Hi, I also tried to change the periodicity of my database to 5-minute bars (because that's what they are anyway) but to use timeframe to time each and every rule and signal to 15-minute bars. But I tried to do this and it still doesn't work: //SetTradeDelays( 1, 1, 1, 1 ); TimeFrameSet( in5Minu

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
This is sooo weird! With this formula //SetTradeDelays( 1, 1, 1, 1 ); TimeFrameSet( in15Minute); test = C>2.3; TimeFrameRestore(); C15_1 = TimeFrameCompress( Close, in15Minute, compressOpen ); //BuyPrice = TimeFrameExpand (C5,in5Minute,expandFirst); Buy = test; Sell=C>50; scanned on a sto

[amibroker] Re: Any One can help With ( GfxSetTextColor ) Please

2008-06-20 Thread Mohammed
Any one can help Please --- In amibroker@yahoogroups.com, "Mohammed" <[EMAIL PROTECTED]> wrote: > > Hi, > > With the following Code I'm trying to change the Color inside the Box > depending to the JJ status.But I got an error in the last line. > > jj = c > O; > UpColor = colorgreen; > DownCo

[amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Barry Scarborough
Graham is correct. You have to use a chart of the shortest timeframe. If you want to show 5 and 15 minute data you will have to plot it on a 5 minute chart. You cannot plot 5 minute bars on a 15 minute chart. I use something like this so I can switch between charts without having to change the

[amibroker] Re: AmiBroker 5.12.0 BETA released

2008-06-20 Thread markhoff
Hello Tomasz, I played around with the new example-plugins and the example code from the readme file, but I when running the optimizer I never get the specified number of 1000 result lines. The number of result lines which are listed in the AA window vary depending on the symbol list I use (e.g.

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
Hi Barry, Thank you for your reply. This is a tough nut to crack for me. I am using 5-minute bars in my database, so this shouldn't be a problem. I want to look ahead for this particular reason: I want to set the buyprice at the close of the first 5-minute bar out of the next 15-minute bar. I

Re: [amibroker] Re: Study Charting dare I say bugs...How to vote?

2008-06-20 Thread Dennis Brown
tipequity, Thank you for letting us know that this thread is irrelevant to you. Since I do not use AA at all, fixes to its bugs (if it has any) and any new features would not have any relevance to my AFL work or effect my trading. I dare say few customers use all of AB features. However,

Re: [amibroker] Any One can help With ( GfxSetTextColor ) Please

2008-06-20 Thread Dennis Brown
I'm not sure what is wrong with your code, but I have uploaded to the AFL library a program called "Continuous Contract Rollover". The AFL has a nice function in it that lets you specify a Gfx text box with many options. Take a look and you can perhaps see how to make what you want work --or

Re: [amibroker] Re: AmiBroker 5.12.0 BETA released

2008-06-20 Thread Tomasz Janeczko
Hello, Yes, that's correct behaviour. It is the effect of AmiBroker making smart decissions to avoid duplicate tests. Non-exhaustive optimizers pick "random" parameter sets. It happens, that two different iterations pick actually the SAME parameter set. Normally, this would result in runnin

[amibroker] Re: AmiBroker 5.12.0 BETA released

2008-06-20 Thread dloyer123
Very Cool! Can a plug in see the trade list after a backtest run? For example, to run a bootstrap, we need to see the trade list so that it can be resampled. --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > Hello, > > AmiBroker 5.12.0 BETA released: > > ht

Re: [amibroker] AmiBroker 5.12.0 BETA released

2008-06-20 Thread David Smith
Hi Tomasz, I woke this morning in aussie land to find yet another beta. The rate of improvements at near zero cost is truly extraordinary. As a fairly simple eod trader I don't think I will ever be able to use all the features. Thanks for the efforts! Cheers, Dave -

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Graham
we are not referring to the database time period, but the chart period being used you cannot calculate values of a shorter bar period than the chart (or AA) The only limitation your database period is that you cannot get 1 minute bars from 5 minute database The charts are the same, you cannot get 5

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
Hi Graham, If I understand what you mean is that if I want to simply add a 5-minute bar limitation I need to set timeframe manually for 15-minute bars for each and every rules/signals? But any way you see this, how would you personnaly do to do what I want to do? I mean: I can use 5-minute, 15-m

[amibroker] Re: Study Charting dare I say bugs...

2008-06-20 Thread brian_z111
> And no, I can not hire 2 more programmers because then I would need >to rise the cost of the program 3 times > and then everyone would scream that it is too expensive and will >walk away. Then it would mean the end of product. Since Dennis's intent is to invite constructive comment and since t

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Graham
see the help files for how to do timeframe functions TimeFrameSet(in15minute) YourConditionsHere = Whatever; TimeFrameRestore(); YourConditionsHere = TimeFrameExpand( YourConditionsHere, in5Minute); -- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com 2008/6/21 Louis Préfont

[amibroker] Re: AmiBroker 5.12.0 BETA released

2008-06-20 Thread yund
This optimizer plug-in interface is very cool! I definitely need to play with this. One thing I wanted to note though, I think the walk-forward optimizer is broken because it now only goes through one iteration. Thanks, -Dave --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Louis Préfontaine
Hi Graham, I think it works! I don't know why it didn't work previously, but thanks a lot for your help and your patience! A last question: how would you set the buyprice to be the 5-minute close AFTER the 15-minute signal? TimeFrameSet( in15Minute); test = c>... TimeFrameRestore(); test2 =

[amibroker] Re: getting a list of watchlists that my symbol belongs to

2008-06-20 Thread Mike
Perhaps a missing semi colon after the line EnableScript("jscript") Mike --- In amibroker@yahoogroups.com, "murthysuresh" <[EMAIL PROTECTED]> wrote: > > --- In amibroker@yahoogroups.com, "murthysuresh" wrote: > > > > --- In amibroker@yahoogroups.com, "dingo" wrote: > > > > > > Put in some _TRACE

[amibroker] Re: Any One can help With ( GfxSetTextColor ) Please

2008-06-20 Thread Mohammed
Hi, Thank you and The wrong I'm getting error in the last line, I Download your file, but it didn't help me to solve this problem. Regards --- In amibroker@yahoogroups.com, Dennis Brown <[EMAIL PROTECTED]> wrote: > > I'm not sure what is wrong with your code, but I have uploaded to the > AF

Re: [amibroker] Re: Set buyprice and sell price

2008-06-20 Thread Graham
buyprice = c; will give you the value of close price on the bar of entry. This depends on how you define the buy conditions, expand first or last, trade delays. suggest you plot the expanded indicators or conditions to see what bars they occur on to give you the trade signals. -- Cheers Graham K

[amibroker] Re: Study Charting dare I say bugs...

2008-06-20 Thread Paul Ho
Being a patron of AB for more than 4 years. I would say that AB is very much an AFL centric product. The changes in the AFL engine and its capabilities has been nothing short of phenomenal. In contrast, the hand drawing features of AB has hardly changed in the last 4 years, and probably not muc

[amibroker] Wanting a hand from another old timer.

2008-06-20 Thread Paul Ho
Hi I would like some help from the old hands around here Quite a while ago, Tomaze posted a detailed set of C++ codes in the now gone OLE user group. He also mentioned it in the dll group post which is still here http://finance.groups.yahoo.com/group/amibroker- dll/message/1575. If anybody has a