[amibroker] atr study function

2006-07-15 Thread rajneesh_dak
dear seniors, well this code is real good.but there is a problem 1. buy price is atr study signal not that day ticker price.please help me to modify code to incorporate that ticker price(h,l,o,c,avg). rajneesh Yahoo! Groups Sponsor ~--> Check out

Re: [amibroker] Re: I am lost

2006-07-15 Thread allansn
Thanks OT, I will take you up on your offer.Ami is  great program,but is in desparate need of a simplied" Dummy" manual for those that have very little programming experience. As I did not write this code,and was using it to learn  "AFL",I am having a difficult time pinpointing what is causing

Re: [amibroker] NOOB questions

2006-07-15 Thread Stockjunkie
this is where i sent it but it never posted: [EMAIL PROTECTED] On Thu, 13 Jul 2006 10:43:59 -0400, you wrote: >Since you're wanting to use the Autotrader you need to post your questions >on the AT forum: > >http://finance.groups.yahoo.com/group/AmiBroker-at/ > >d > >> -Original Message-

Re: [amibroker] Re: I am lost

2006-07-15 Thread Tomasz Janeczko
Hello,   What you are asking for can be compared to: "I don't have any experience as a pilot but please give me simple one-page instruction how to fly jumbo-jet from New York to London" Sorry but this is NOT doable. It takes time and effort to learn how to fly as it takes time and effort to

RE: [amibroker] Re: Why wont this code allow short trades???

2006-07-15 Thread Terry
I didn't have time to get through all your code, but I did see that problem. Instead of min to max, change your initialization parameter of Lowsinceshort from 0 to 10. It's never finding the first Low because you are always comparing to 0. If you change to Max it will never find subsequent lows

Re: [amibroker] Re: I am lost

2006-07-15 Thread allansn
Tomasz, that is certainly not the answer I was expecting.I am making a diligent effort to learn the coding and I have a specific NEEDPerhaps you didnt bother to read my prior message to the board I posted the code that I was working with and can NOT get the results expected from the code de

RE: [amibroker] NOOB questions

2006-07-15 Thread dingo
Are you a member of that group? If not you need to join. d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Saturday, July 15, 2006 8:06 AM > To: amibroker@yahoogroups.com > Subject: Re: [amibroker] NOOB questions

RE: [amibroker] Re: I am lost

2006-07-15 Thread dingo
Oh, one other thing I should have mentioned: Learn how to use "DebugView".   That will really help you see what's happening on a bar by bar basis.  In the help file search on _TRACE.    Download the file it points to and then populate your code with _Trace statements so that you can see wha

RE: [amibroker] Re: I am lost

2006-07-15 Thread dingo
Suggestion:   When things start getting confusing / complicated / etc. ---  Simplify.  Take that formula and reduce it to where you can run it on 2 tickers and just do a scale in and see if that works as expected. If it does then add one scale out, etc, etc.   d From: amibroker@ya

[amibroker] ATR study from the library

2006-07-15 Thread Sidney Kaiser
I looked at that system and found the results seemed too good to be true. With a few of the back tested entries the buy price was set at the previous days low. If only you could do that...lol. What you can try is to comment out the section of code that calculates the stop values and sets the

RE: [amibroker] Re: I am lost

2006-07-15 Thread Sidney Kaiser
d, interesting that you and I are responding to two different questions on different systems and the common thread is simplify until you understand what is happening..always a good starting point for  trying to use someone elses code. Siddingo <[EMAIL PROTECTED]> wrote: Suggestion:   W

RE: [amibroker] Re: I am lost

2006-07-15 Thread dingo
LOL!    Yeah, I noticed that too!  2 great minds, eh?    Simplify is a valuable lesson that I've learned many times...    d From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sidney KaiserSent: Saturday, July 15, 2006 11:14 AMTo: amibroker@yahoogroups

[amibroker] Left Justify Column Output

2006-07-15 Thread marketmonk777
Hi folks, I have the following line of code in my exploration AFL: AddTextColumn(IndustryID(1) ,"Industry ", 25.0, colorWhite, colorBlue,160); // adds a column to display the name for the industry from TC2005 database and I would like to know if it is possible to have this Indust

RE: [amibroker] Left Justify Column Output

2006-07-15 Thread dingo
I've never been able to find a way to do that. You'd think that the default for a "textcolumn" would be left justified, wouldn't you? d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of marketmonk777 > Sent: Saturday, July 15, 2006 1:19 P

RE: [amibroker] Left Justify Column Output

2006-07-15 Thread MarketMonk777
Yup, I guess I will be adding a small request for this change at the feedback site. Thanks for answering my question. Dave -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dingo Sent: Saturday, July 15, 2006 10:50 AM To: amibroker@yahoogroups.co

RE: [amibroker] Left Justify Column Output

2006-07-15 Thread dingo
Well, after saying that I DID manage to do it.  Damned ugly IMHO but:AddTextColumn(IndustryID(1) + "   " ,  "Industry    ", 25.0,colorWhite,colorBlue,160);d> -Original Message

RE: [amibroker] Left Justify Column Output

2006-07-15 Thread MarketMonk777
Dingo,   That didn't work for me.  What you did left justified the Column Title, not the output results on each line below.   Unless I am missing something?   Dave From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dingoSent: Saturday, July 15, 2006 10:58 AMTo: amibro

[amibroker] Year-by-year CAR

2006-07-15 Thread intermilan04
Hi all, I'm wondering if there is an easy way to get year-by-year CAR, System Drawdowns, etc from Amibroker backtester. Currently I'm manually changing date range then backtest year by year. While it does the job, it's cumbersome and I'd like to know more efficient methods if there are any. Tha

Re: [amibroker] NOOB questions

2006-07-15 Thread Stockjunkie
Oh it posted now, didnt notice itr before sending that last note On Sat, 15 Jul 2006 10:23:07 -0400, you wrote: >Are you a member of that group? If not you need to join. > >d > >> -Original Message- >> From: amibroker@yahoogroups.com >> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PR

Re: [amibroker] NOOB questions

2006-07-15 Thread Stockjunkie
Yes I waited till after I got the confirmation back saying I am a member On Sat, 15 Jul 2006 10:23:07 -0400, you wrote: >Are you a member of that group? If not you need to join. > >d > >> -Original Message- >> From: amibroker@yahoogroups.com >> [mailto:[EMAIL PROTECTED] On Behalf Of [

RE: [amibroker] Left Justify Column Output

2006-07-15 Thread dingo
Make sure that not only the heading gets a lot of spaces to the right "Industry    "    but the variable as well: IndustryID(1) + "   "   You may have to reduce the col width a little. Play around with it.   d

[amibroker] Gradient Coloring

2006-07-15 Thread marketmonk777
Hi folks, I have a neat TradeStation RadarScreen indicator that I am trying to duplicate with Amibroker. I like to display were today's close ends up in relation to today's trading range as well as the 21 day period and 52 week period. But I have the cell change from Red (0%) to Green (100%).

RE: [amibroker] Year-by-year CAR

2006-07-15 Thread dingo
Look for a program called Batman in the amibroker-ts goup: http://finance.groups.yahoo.com/group/amibroker-ts/files/ It can run those back tests for you automatically after you spend some time setting it up. That's the simplest way I know right off hand. d > -Original Message- > From:

[amibroker] help with RS and RSI please

2006-07-15 Thread goldwing01_1999
If I wanted to build a RS and a RSI indicator, what are the different ways I can try? Can someone please show the calculations that you would use. Trying to day some like a 14 day or a 200day for all the stocks, I would like to than calculate sectors. Not looking for AFL code, I would like to s

RE: [amibroker] help with RS and RSI please

2006-07-15 Thread dingo
Look at the tutorial "Drag and Drop Charting" in the help file. Then just chart an RSI and RS against your ticker. d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of goldwing01_1999 > Sent: Saturday, July 15, 2006 3:27 PM > To: amibroker

RE: [amibroker] Left Justify Column Output

2006-07-15 Thread MarketMonk777
d,   That did the trick, thanks.  The formatting that Yahoo does screwed me up and I didn't catch the extra spacing you were putting in on the variable.   MM777 From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dingoSent: Saturday, July 15, 2006 11:59 AMTo: amibroke

RE: [amibroker] Gradient Coloring

2006-07-15 Thread MarketMonk777
Since Yahoo goofs up the formatting - I posted my complete Exploration code here: http://finance.groups.yahoo.com/group/amibroker-afl/files/TC2005%20Related/S cans%20and%20Explorations/ Hopefully this link works. Dave -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PR

RE: [amibroker] Gradient Coloring

2006-07-15 Thread MarketMonk777
Hold off, I am going to play with ColorRGB function and think I have it figured out. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MarketMonk777 Sent: Saturday, July 15, 2006 12:38 PM To: amibroker@yahoogroups.com Subject: RE: [amibroker] Gradie

RE: [amibroker] Gradient Coloring

2006-07-15 Thread MarketMonk777
Figured it out. Was using ColorHSB instead of ColorRGB function. Here is the code for my 1 Day Percentage Loss Exploration. For those who do not get the attachments, I will post it over at the Amibroker-AFL yahoo group in the files section under the TC2005 Related folder. Have a great weekend.

Re: [amibroker] Re: I am lost

2006-07-15 Thread allansn
Thank you all for your help.EMP,i copied your code and ran it as i still am getting very odd # of shares on the initial scale out,and its certainly not a consistent ratio.I will read what i can,but this is puzzling.. __._,_.___ Please note that this group is for discussion between users onl

[amibroker] Re: Year-by-year CAR

2006-07-15 Thread intermilan04
Hi dingo, Thank you for your quick response. I'll check out Batman. Regards, intermilan04 --- In amibroker@yahoogroups.com, "dingo" <[EMAIL PROTECTED]> wrote: > > Look for a program called Batman in the amibroker-ts goup: > > http://finance.groups.yahoo.com/group/amibroker-ts/files/ > > It c

[amibroker] Re: I am lost

2006-07-15 Thread chapman49682
Allan, do not be put off by Tomasz - he is bombarded with tons of questions from all of us, while at the same time trying to continually and constantly trying to make a very good program even better. Our questions must seem to him to be simple, and I'm sure the answers are all in the manual SOM

Re: [amibroker] Re: I am lost

2006-07-15 Thread Tomasz Janeczko
Hello,   As I wrote you through support channel: you need to provide settings file (.abs) and all other details needed to reproduce your setup.   Without that it's guessing game: it may be because of delays set in the settings, or round lot sizing effect or other things. Anyway without look

RE: [amibroker] is AB for perfect super-users only?

2006-07-15 Thread J. Biran
  I really appreciate all the help and suggestions I am getting on this subject.   The fact that everybody (including TJ) is pointing to Insert/Insert Linked must mean something.   I have been using AB for more than 2 years now, so I should be fairly familiar with AB by now.   Here is th

[amibroker] Yahoo volume errors; other good alternatives

2006-07-15 Thread mikelaurataylor
I download the yahoo data at end of day and I'm noticing some volume errors that are substantial. I was looking today at the data I downloaded for BAS and ARRS to name a few. They show huge volume spikes during this year. When I looked at the charts on big charts or MSN the volumes were more n

Re: [amibroker] Re: I am lost

2006-07-15 Thread allansn
Too late Tomasz,you have already solved the mystery... you were right on in your assessment"I forgot to add that your problems may be also due to setting non zero buy delays(because then buy array is shifted while position size array is not).If you use advanced position sizing, set trade delays

Re: [amibroker] Re: I am lost

2006-07-15 Thread Grant Noble
Everyone has a NEED, bub. Tomasz' analogy is spot on - sounds like you want to fly before you can crawl. You're using borrowed code and trying to scale positions and you've been using AB how long ? Get over yourself -if it were easy everyone would be doing it. G [EMAIL PROTECTED] wrote: > *Toma

[amibroker] Re: Historical Fundamental Data

2006-07-15 Thread brian.z123
Hello treliff, Agreed that all historical fundamental data is not created equal. I am looking out for peoples favourites or recommended sites. It is a fair question to ask of the sites that have screen>export software if indeed all fields can be exported in one file and if so what is the depth

[amibroker] Fw: ANSWERS: Fw: Can a good Muslim be a good American?

2006-07-15 Thread MillowenaJuno
    Can a good Muslim be a good American?  The logic seems and straightforward.  I think all of us should be aware and interested in this information.I sent that question to a friend who worked in Saudi Arabia for 20 years.The following i

Re: [amibroker] Re: I am lost

2006-07-15 Thread allansn
Grant,You feeling a bit inadequate?? Thanks for the input       - Original Message - From: Grant Noble <[EMAIL PROTECTED]> Date: Saturday, July 15, 2006 10:05 pm Subject: Re: [amibroker] Re: I am lost > Everyone has a NEED, bub. Tomasz' analogy is spot on - sounds like > you > want to