[amibroker] Re: Weekly bar but not on Friday !

2009-05-22 Thread glennokb
shift = Param("shift", 1, 1, 5, 1); CompressedArray = TimeFrameCompress( Ref( Close, -shift), inWeekly); Plot( Close, "Close", colorBlack ); Plot( Ref( TimeFrameExpand( CompressedArray , inWeekly ), shift), "expanded", colorRed); Title = "Day of week: " +DayOfWeek(); --- In amibroker@yahoogr

[amibroker] Re: Paul Ho: Memory Challenges with Great Ranking Tool

2008-07-18 Thread glennokb
t; > then do it > > > > > > > > again for EOD day 2 and apply the resulting 500 tickers > > > > to day > > > > > > > > 3, etc.? > > > > > > > > That would be awesome! > > > > > > > > > >

[amibroker] Re: Paul Ho: Memory Challenges with Great Ranking Tool

2008-07-14 Thread glennokb
ting so when I test my strategy I am not using 8000 tickers but > "only" the 500 closest to HHV based on their daily(yesterday) EOD close. > > Thanks all for your help. I really feel like this is going somewhere! > > Louis > > > 2008/7/13 glennokb <[EMA

[amibroker] Re: Paul Ho: Memory Challenges with Great Ranking Tool

2008-07-13 Thread glennokb
If I understand what you are trying to do, maybe this method - Osaka! It creates a composite which you can reference in your system for backtesting Note that the 500 may not be precise due to data holes (as Graham mentioned). Plus I just added HHV(H,100) as an example but this need to be repla

[amibroker] Positionsizing

2008-05-28 Thread glennokb
Hi, I use a fixed amout of capital in backtesting, not increase position sizes over the backtesting period while the equity is rising. Capital = 10; PosQty = 10; PositionSize = -2 * BuyPrice/(2*ATR(10)); Using the Van Tharp position sizing, say I have a number of small trades due to high v

[amibroker] Re: Paid Coders/Programmers

2007-11-11 Thread glennokb
> Are there any other paid coders for Amibrokers > other than aflwriting ? http://www.amibroker.com/freesupport.html Services not covered by free support are available for programming fee of $60/hour.

[amibroker] Re: AB system into TradeSim Database

2007-10-23 Thread glennokb
Hey Hammer, Why not stick it all here for prosperity? :) http://www.amibroker.com/library/addformula.php Cheers, Glenn --- In amibroker@yahoogroups.com, "oceanchimes" <[EMAIL PROTECTED]> wrote: > > Hello Alistair, > You are correct as it is designed to work as an include file. The > followin

[amibroker] Re: Monday's close using Weekly

2007-09-16 Thread glennokb
Or is it only possible to go from a daily timeframe and retrieve weekl data? Thanks --- In amibroker@yahoogroups.com, "tassieoak" <[EMAIL PROTECTED]> wrote: > > Hi, > > Is it possible to retrieve Monday's closing price while using a > weekly timeframe please? >

[amibroker] Re: Solution: separate long and short max open positions

2007-03-26 Thread glennokb
Hi Jay, Might be wrong but having the positionscore outside of the CustomBacktestProc the trades may be biased towards the top of the alphabet. I think as trades come along in your list, they are selected until the max trades is reached and the rest are rejected. It would be good to positionsc

[amibroker] Limit # of buys on a bar

2007-03-12 Thread glennokb
Hi, Is it possible while using Positionscore to limit the number of trades per bar? ie: 10 trades available but only take 3 of them by Positionscore. Also, using SetOption("MaxOpenPositions", 10 ); so following bars take further buys. Thanks, Glenn

[amibroker] Offset weekly?

2007-03-01 Thread glennokb
Hi, Is there a simpler way to offset weekly bars to different days? In the code below, the "weekly" 5 bars start on Tuesday and end on Monday instead of Monday to Friday. weekstart= Ref( DayOfWeek() < Ref( DayOfWeek(), -1 ), -6); weekend = Ref( DayOfWeek() > Ref( DayOfWeek(), 1), -1);

[amibroker] Re: 4.87 autosave issue?

2006-10-29 Thread glennokb
> I can go in and uncheck them all and apply and then after the > program opens again they are all checked once again. After unchecking the boxes and selecting Apply-OK, try Menu-Tools- Save Preferences. Please note that this group is for discussion between users only. To get support from Am