[amibroker] Re: ADX’ers – Riddle me this

2006-06-02 Thread Gerard Carey
Hi Yuki Tks for your considered and lucid reply. I am a momentum trader and I guess your reply confirms that momentum - its start, fade, finish, direction (or change of), and velocity can be measured with many different styles of ruler. What has been useful in applying the "Yuki's Double Di

[amibroker] Re: ADX’ers – Riddle me this

2006-06-02 Thread Gerard Carey
Hi Phsst Tks for your input. The attachment is a Word file and pictures often take a while to appear. As you inferred and Ron stated it appears ADX works best in a strong trend. Regds Gerard --- In amibroker@yahoogroups.com, "Phsst" <[EMAIL PROTECTED]> wrote: > > > I noticed recently that of

RE: [amibroker] Conditional Color in Title

2006-06-02 Thread Terry
I meant to say EncodeColor(color) is a string. Colorxxx is a numeric. In any case, you can't make an array of colors. Something along these lines will work: _N(Title = WriteIf(Close > HighLast52week, EncodeColor(5), EncodeColor(colorDarkBlue)) + " Close  $  "  + WriteVal(Close/1,1.2)); --

Re: [amibroker] Conditional Color in Title

2006-06-02 Thread Steve Dugas
It expects a number rather than an array - try LastValue(WeekColor) or SelectedValue(WeekColor). Also, I believe HHV() function includes current bar so you may want to change your call to HHV(ref(High, -1), 5*52) to exclude current bar. Steve - Original Message - From: "troll" <[EM

RE: [amibroker] Conditional Color in Title

2006-06-02 Thread Terry
Color is a string and there are no string arrays. Substitute your IIf() with WriteIf() -- Terry -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of troll Sent: Friday, June 02, 2006 17:40 To: amibroker@yahoogroups.com Subject: [amibroker] Conditiona

Re: [amibroker] Re: deleting non traded stocks

2006-06-02 Thread Steve Dugas
Wrong group. It is the "Amibroker-AFL" group, not the main "Amibroker" group. Steve - Original Message - From: "David" <[EMAIL PROTECTED]> To: Sent: Friday, June 02, 2006 8:01 PM Subject: [amibroker] Re: deleting non traded stocks > > sorry steve i must be blind couldnt find the f

[amibroker] Re: deleting non traded stocks

2006-06-02 Thread David
sorry steve i must be blind couldnt find the file or am i looking in the wrong area ? http://finance.groups.yahoo.com/group/amibroker/files/ Regards David --- In amibroker@yahoogroups.com, "Steve Dugas" <[EMAIL PROTECTED]> wrote: > > Hi David - it is already posted, you can just go to my fo

[amibroker] Conditional Color in Title

2006-06-02 Thread troll
I'm attempting to use a conditional color for one of my title elements by defining the color as follows and then using following code: HighLast52week = LastValue( HHV( High, 5 * 52 ) ); WeekColor = IIf( Close > HighLast52week , 5 , colorDarkBlue ); + EncodeColor(WeekColor) +  " Close  $  " 

RE: [amibroker] Is this posiible in any software?

2006-06-02 Thread dingo
I stand corrected - it was the amibroker-ts forum where I get snagged.   d From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz JaneczkoSent: Friday, June 02, 2006 6:39 PMTo: amibroker@yahoogroups.comSubject: Re: [amibroker] Is this posiible in an

Re: [amibroker] Match date from numeric date in Excel?

2006-06-02 Thread cstrader232
Thanks Keith -- just what I needed.     - Original Message - From: Keith McCombs To: amibroker@yahoogroups.com Sent: Friday, June 02, 2006 2:57 PM Subject: Re: [amibroker] Match date from numeric date in Excel? In Excel, assume your date is in cell F5 {in Da

Re: [amibroker] Is this posiible in any software?

2006-06-02 Thread Tomasz Janeczko
FYI: only *new* user posts are put on hold to make sure that spammers do not join in and start sending spam, all other users' posts are sent directly to the group. Best regards,Tomasz Janeczkoamibroker.com - Original Message - From: dingo To: amibroker@yahoogroups.com

Re: [amibroker] Poor Amibroker Performance after running a Backtest using FOR Loop

2006-06-02 Thread Tomasz Janeczko
Hello,   Apparently you have coded it wrong (inefficent). "for" loop is intended to process single array values while you (judging from the description) are re-processing all arrays in every iteration of the loop doing unnecessary work all the time. Move all loop invariants OUTSIDE the loop

Re: [amibroker] Poor Amibroker Performance after running a Backtest using FOR Loop

2006-06-02 Thread Keith McCombs
Steve -- Yes, I have experienced this, but only because I hadn't done my for loop properly. Why don't you post your for(){} loop here so someone can maybe better answer your question? -- Keith At 04:49 PM 6/2/2006, you wrote: Has anyone ever experienced this issue: I created a system using a FO

[amibroker] How to measure sector rotation?

2006-06-02 Thread trader
All, Lately I've been experimenting with Money Flow Index (MFI) and RSI to rank industry groups andsectors so as to determine sector rotation. Essentially I want to know into which industry groups andsectors the money is flowing and when the money starts moving. Ranking composite industry group

RE: [amibroker] Is this posiible in any software?

2006-06-02 Thread dingo
It wasn't my fault.. I swear!   The forum monitor usually snags my comments before they get posted.  Blame him!  He's slacking off.   d From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Keith McCombsSent: Friday, June 02, 2006 2:40 PMTo: amibroker@yahoo

[amibroker] Poor Amibroker Performance after running a Backtest using FOR Loop

2006-06-02 Thread sslack88
Has anyone ever experienced this issue: I created a system using a FOR loop.  After running the system using the backtester on four symbols my Amibroker performance is terrible.  When I resize the window, change symbols, etc. the software moves very slow. It seems like it is trying to regen

Re: [amibroker] eSignal

2006-06-02 Thread Ara Kaloustian
Thanks Mark and Kevin ...   mine started running at 6:30 ... strange - Original Message - From: [EMAIL PROTECTED] To: amibroker@yahoogroups.com Sent: Friday, June 02, 2006 10:12 AM Subject: Re: [amibroker] eSignal Mine's running right now     In

Re: [amibroker] Match date from numeric date in Excel?

2006-06-02 Thread Keith McCombs
In Excel, assume your date is in cell F5 {in Date format}.  Then equation for AFL format is: =(YEAR(F5)-1900)*1 + MONTH(F5)*100 + DAY(F5) {in General format} -- Keith cstrader232 wrote: I want to match a numeric date variable from an Excel file to a numeric date value that AFL under

Re: [amibroker] Is this posiible in any software?

2006-06-02 Thread Keith McCombs
Graham and Dingo -- See who got the 'Thanks'? How on earth is a new user going to discover the foreign function if someone on this forum doesn't tell him? -- Keith Jayant Kulkarni wrote: Hi ! Prashant, Thanks.   Regards, Jayant Prashanth <[EMAIL PROTECTED]> wrote:

Re: [amibroker] heikin ashi problem

2006-06-02 Thread Keith McCombs
Try this: while (n   if (haOpen[i] <= Max(haOpen[i-n],haClose[i-n]) AND   haOpen[i] >= Min(haOpen[i-n],haClose[i-n]) AND   haClose[i] <= Max(haOpen[i-n],haClose[i-n]) AND   haClose[i] >= Min(haOpen[i-n],haClose[i-n])){     temp[i] = n;   }else{     temp[i] = 0;   } } // Re-read

[amibroker] Match date from numeric date in Excel?

2006-06-02 Thread cstrader232
I want to match a numeric date variable from an Excel file to a numeric date value that AFL understands. (has to be numeric to work in a loop) My options in Excel seem to be: Number of days since January 1, 1900 "julian" date in , num days since 1/1 format: e.g. 2006153 But can either of

[amibroker] Re: Backtester picks wrong stocks

2006-06-02 Thread intermilan04
Hi Jim, It seems like you are in the same or similar situation as me. One conclusion I have reached is that when I download new data, sometimes past quotes get updated and affect the result. Regards, intermilan04 --- In amibroker@yahoogroups.com, James Hutchison <[EMAIL PROTECTED]> wrote: >

Re: [amibroker] Re: deleting non traded stocks

2006-06-02 Thread Steve Dugas
Hi David - it is already posted, you can just go to my folder in files section of Amibroker-AFL group and download it. Now I have just replaced it with the newest changes I made last year - I rearranged a couple of things and added comments so it is easier now for a non-programmer to set use

Re: [amibroker] eSignal

2006-06-02 Thread Kevin243
Mine's running right now     In a message dated 6/2/2006 8:06:03 AM Central Daylight Time, [EMAIL PROTECTED] writes: Anyone having problems with eSignal Data feed.   Mine froze as of midnight     Thanks   Ara YAHOO! GROUPS LINKS  Visit your group "ami

RE: [amibroker] Backtester picks wrong stocks

2006-06-02 Thread James Hutchison
Terry I didn't think about "Limit Trade Size as % of entry bar volume"  That was my problem. Thank you for your time Jim Hutchison SIDE NOTE: There is a similar problem with using AA->Settings->Portfolio tab->"Limit trade size as % of entry bar volume" when using TradeDelays(1,1,1,1) and OPEN

RE: [amibroker] Backtester picks wrong stocks

2006-06-02 Thread Terry
Jim,   As I tried to explain below, I believe it works correctly unless you do something with PositionSize as in the following example AND you are trading Next Day OPEN. Simply setting the PositionSize as you have done is fine. You will not get a "looks into the future" error with this

Re: [amibroker] Is this posiible in any software?

2006-06-02 Thread Jayant Kulkarni
Hi ! Prashant, Thanks.   Regards, JayantPrashanth <[EMAIL PROTECTED]> wrote: Hello Jayant,   You can do this in AmiBroker itself.   Use Foreign Syntax for the same   Cheers   Prashanth- Original Message - From: Jayant Kulkarni To: amibroker@yahoogroups.com

Re: [amibroker] Re: deleting non traded stocks

2006-06-02 Thread Steve Dugas
- Original Message - From: "David" <[EMAIL PROTECTED]> To: Sent: Friday, June 02, 2006 4:11 AM Subject: [amibroker] Re: deleting non traded stocks > Thanks Steve yeah thats where it was but after re doing my sectors > etc it would seem that i have deleted it .. > so that would be gr

RE: [amibroker] Is this posiible in any software?

2006-06-02 Thread dingo
Take a wild guess, duude.   d From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jayant KulkarniSent: Friday, June 02, 2006 11:24 AMTo: amibroker@yahoogroups.comSubject: Re: [amibroker] Is this posiible in any software? :-))   Could you please

Re: [amibroker] Is this posiible in any software?

2006-06-02 Thread Prashanth
Hello Jayant,   You can do this in AmiBroker itself.   Use Foreign Syntax for the same   Cheers   Prashanth - Original Message - From: Jayant Kulkarni To: amibroker@yahoogroups.com Sent: Friday, June 02, 2006 8:53 PM Subject: Re: [amibroker] Is this posiible in

Re: [amibroker] Is this posiible in any software?

2006-06-02 Thread Jayant Kulkarni
:-))   Could you please let me know which? sorry for an incomplete message. Regds, JayantGraham <[EMAIL PROTECTED]> wrote: Yes-- CheersGrahamAB-Write >< Professional AFL Writing ServiceYes, I write AFL code to your requirementshttp://e-wire.net.au/~eb_kavan/ab_write.htmOn 02/06/06, jckpune

[amibroker] Need Help on SAR-Like Indicator

2006-06-02 Thread Ken Close
After two frustrating days of coding one variation after another, I would like to ask for help in coding this seemingly simple system/indicator. I will include my "best" (but doesn't work) code attempt and at the end of the message will share some TradeStation code which works (as I've been told).

[amibroker] SCAN or EXPLORE and BAR CLOSE

2006-06-02 Thread martinod
  Hello all,   Is it possible to make a scan or an Explore run exactly at bar close ?   For the moment I just set the AA Run Every to 5 to run the formula every 5 mn which is the TimeFrame I was to explore.   But this is not perfect.   Is there an other way to synchronize formula

RE: [amibroker] eSignal

2006-06-02 Thread MailYahoo
My E-signal is up and running Maybe not what you want to hear?   Mark   From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Ara Kaloustian Sent: Friday, June 02, 2006 9:04 AM To: AB-Main Subject: [amibroker] eSignal   Anyone having problems w

[amibroker] eSignal

2006-06-02 Thread Ara Kaloustian
Anyone having problems with eSignal Data feed.   Mine froze as of midnight     Thanks   Ara Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please c

[amibroker] heikin ashi problem

2006-06-02 Thread razepy
modified Heikin-Ashi technique compares current bar open to close range with prior bars...if current is within on of the 6 prior bars then color remains the same there is a problem with the while loop thanks for help f=7; HaClose = (O+H+L+C)/4; HaOpen[ 0 ] = O[ 0 ]; for( j = 1; j < Bar

[amibroker] any one can help with this code: heikin ashi modified

2006-06-02 Thread razepy
modified Heikin-Ashi technique compares current bar open to close range with prior bars...if current is within on of the 6 prior bars then color remains the same there is a problem with the while loop thanks for help f=7; HaClose = (O+H+L+C)/4; HaOpen[ 0 ] = O[ 0 ]; for( j = 1; j < Ba

[amibroker] Re: Index Volume Data Issue

2006-06-02 Thread chapman49682
Well, this surely explains a world of aggravation i've been having using Yahoo data.  My strategies use volume data on the S&P500, and I was faulting Yahoo for the problem. Until it is fixed, perhaps some mention of it in the Yahoo plugin notes would be a good thing? Please note tha

RE: [amibroker] Backtester picks wrong stocks

2006-06-02 Thread James Hutchison
I have experienced this problem also when the setting is SetTradeDelays(1, 1, 1, 1).   SetOption ( "MaxOpenPositions", 6);    PositionSize = -100 / 6; The system I am working on Trades and sells on open the next morning.  I have been testing the system each evening after my new data is i

[amibroker] Re: deleting non traded stocks

2006-06-02 Thread David
Thanks Steve yeah thats where it was but after re doing my sectors etc it would seem that i have deleted it .. so that would be great if you could post it some where for me .. Regards David --- In amibroker@yahoogroups.com, "Steve Dugas" <[EMAIL PROTECTED]> wrote: > > Cleanup.js, located