Re: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-06 Thread Rick Osborn
Interesting. I've often wondered how to do that. I have created a function that can be called based on this code. I have quickly checked the results and think it works as intended. It is 1 based - not zero based. To calculate the 4th Highest Close - pass C to array etc. functionNextHiRa

Re: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-06 Thread Inquisitive Voyager
(1) http://finance.groups.yahoo.com/group/amibroker/message/151819 or (2)if u access the group through your email,search the group's mail on my behalf and download the attached AFL. u can load the same in CW. On Sat, Aug 7, 2010 at 1:28 AM, Lionel Issen wrote: > > > There was no attachmen

[amibroker] Copying Studies Across Chart IDs

2010-08-06 Thread dturtle887
A study object can be copied (Ctrl+C) and pasted (Ctrl+V) within a given Chart ID. This trick does not work, however, when I want to paste study objects to a DIFFERENT Chart ID. Is there a way to copy studies across Chart IDs ... short of doing it manually (recreating)? Thank you, Don

Re: [amibroker] Re: A gift and a challenge

2010-08-06 Thread Dennis Brown
Joe, Global g_FirstBar, g_LastBar; g_FirstBar = 0; g_LastBar = BarCount-1; BR, Dennis On Aug 6, 2010, at 4:53 PM, j0etr4der wrote: > Hi Dennis, > > I know I must be missing something blatantly obvious, but don't know what. > When I copy/paste your functions to a new Editor session and run Ba

[amibroker] Re: A gift and a challenge

2010-08-06 Thread j0etr4der
Hi Dennis, I know I must be missing something blatantly obvious, but don't know what. When I copy/paste your functions to a new Editor session and run Backtest I get the following error: Error 29. Variable 'g_firstbar' used without having been initialized. If I initialize the globals outside

RE: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-06 Thread Lionel Issen
There was no attachment. Please send me the correct website address for this missing attachment. From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Inquisitive Voyager Sent: Friday, August 06, 2010 9:54 AM To: amibroker@yahoogroups.com Subject: Re: [amibroker] Mult

Re: [amibroker] OT: WIN 7 email

2010-08-06 Thread Mubashar Virk
I found salvation in Mozilla Thunderbird too, brother. On 8/6/2010 10:05 PM, Ara Kaloustian wrote: Just a follow up ... I had previously selected Windows Live mail as my email program for Windows 7, using with gmail address. I noticed two problems: 1. I was missing some emails (both incoming

Re: [amibroker] EOD exit

2010-08-06 Thread Keith McCombs
AB Users Guide says of TimeNum, "Returns the array with numbers that represent quotation time coded as follows:" So I guess that means what it says, 'quotation' time. Thanks to Ed and reinsley for putting me back on track. -- Keith On 8/6/2010 13:22, Edward Pottasch wrote: funny I just ran

[amibroker] req code afl for condition stochastics goes below 20 and comes above 20

2010-08-06 Thread rvlv
Hi Inquisitive voyager and afl expert reinsley Can you please provide code lines for this condition 1 stochastics goes below 20 and comes back above 20 (down and up hook) 2. stochastics goes above 80 and goes below 80 (up and down hook) I tried buy = stochk(15,3)< 20 and stochk(15,3)> 20 ; sell

Re: [amibroker] EOD exit

2010-08-06 Thread Edward Pottasch
funny I just ran into that problem yesterday. I also thought this would be the case. For my auto system I used Hermans code for a new bar, like: PrevTN = StaticVarGet("TimeNumber" + Name() + "combiSys"); TN = LastValue(TimeNum()); NewBar = TN != PrevTN; StaticVarSet("TimeNumber" + Name() + "co

Re: [amibroker] Re: A gift and a challenge

2010-08-06 Thread Dennis Brown
Hi Dick, I use it in places that an MA, EMA, WMA, or AMA would typically be used. I don't just use it by itself for trading. It would be up to you to test it in your own trading styles to see if it adds value during your backtests. It is very good for de-trending, as it tries to slice right

Re: [amibroker] EOD exit

2010-08-06 Thread Keith McCombs
I have some questions: I thought that TimeNum() returned the time stamp of an existing bar, so that if you were using 1 minute bars, you would not get the signal until 125600, or with 5 minute bars until 13. Is that not correct? Wouldn't it be better to use either TimeNum() >= 125500 (for

[amibroker] OT: WIN 7 email

2010-08-06 Thread Ara Kaloustian
Just a follow up ... I had previously selected Windows Live mail as my email program for Windows 7, using with gmail address. I noticed two problems: 1. I was missing some emails (both incoming and outgoing) 2. The organization of Window Mail was not very good. I could not see who the mail wa

[amibroker] Re: Unable to Produce an Exploration that Mimics my Backtest Results

2010-08-06 Thread re_rowland
You should be running your backtest over many days/bars, not just one day. --- In amibroker@yahoogroups.com, "sancra01" wrote: > > OK I tried that but I'm getting no difference in my backtest results. > > I noted a day (prior to making the change) that had an Entry signal in > orginal backtest

[amibroker] Custom Backtest

2010-08-06 Thread mikk12345
How do i show the current price on the backtest report. Ive tried using st.GetPrice("c"); Not working thanks, mikey

Re: [amibroker] Default chart sheet

2010-08-06 Thread reinsley
Thank you Le 06/08/2010 16:17, wavemechanic a écrit : *The trick (courtesy of Support) is save a layout with the desired chart sheet open and then disable Auto-Save layouts and templates.* ** *Bill* - Original Message - *From:* reinsley *To:* a

[amibroker] Backtest reports

2010-08-06 Thread mikk12345
Is there a way that the data from the report can be put in the exploration table. I have a system and i would like to see all the details when i run an exploration. ie. if my exploration signals a buy say on INTC the next column can show what the historical success rate is. Many thanks, Mikey.

Re: [amibroker] Multiple Higher Highs in Amibroker? [1 Attachment]

2010-08-06 Thread Inquisitive Voyager
(1) find the attachment (2) this code works in commentary window only. (3)copy paste the code.dont overlay. On Thu, Aug 5, 2010 at 7:29 PM, n7wyw wrote: > > > I want to find out the three highest highs for the past 100 periods. > Highest give only the top value, how can I get the next highest va

[amibroker] Re: A gift and a challenge

2010-08-06 Thread Richard
Dennis, You have done some good work here. Would it be possible to explain exactly how you use for trading. Also, there is no PLOT so one could see a chart of the adaptive MA. Dick --- In amibroker@yahoogroups.com, Dennis Brown wrote: > > Hello, > > I spent a good deal of effort creating a

Re: [amibroker] EOD exit

2010-08-06 Thread Sidney Kaiser
Thanks, so simple..I just wasn't seeing the answer.  Sid --- On Fri, 8/6/10, reinsley wrote: From: reinsley Subject: Re: [amibroker] EOD exit To: amibroker@yahoogroups.com Date: Friday, August 6, 2010, 12:22 AM Hi, Buy = …your conditions…. Sell = ….your conditions…. OR TimeNum

[amibroker] IBController 1.3.6 released

2010-08-06 Thread Tomasz Janeczko
Hello, A new IBController (auto-trading interface) version 1.3.6 BETA has been released. http://www.amibroker.com/devlog/2010/08/06/ibcontroller-1-3-6-released/ It uses now more reliable method to translate local symbol to tws symbol/expiry pair. This fixes problem with placing order on DTB (

[amibroker] Re: Amibroker -> Interactive Brokers TWS with conditional order attributes ?

2010-08-06 Thread jsteinmaier
Thanks a lot for your your information - perhaps there will be updates of the interface in future. My main sorrow is a Dow-Intraday-Crash of 10% as we have seen in the past, and I need a really very fast and reliable solution for that. For standard trading days I could also stay online all of

Re: [amibroker] EOD exit

2010-08-06 Thread reinsley
Hi, Buy = ...your conditions Sell = your conditions OR TimeNum() > 125500; For example - MACD crossover : Buy = Cross( MACD(), Signal() ); Sell = Cross( Signal(), MACD() ) OR TimeNum() > 125500; Best regards Le 06/08/2010 05:45, Sidney Kaiser a écrit : Hi Gang, I'm evaluating