Re: [amibroker] Buy at open

2010-08-31 Thread Rick Osborn
have you checked BuyPrice in the help files BuyPrice = Open; Best Regards Rick Osborn From: Franca Zelbù To: amibroker@yahoogroups.com Sent: Tue, August 31, 2010 1:33:22 PM Subject: Re: [amibroker] Buy at open Thanks, can I do it programly

Re: [amibroker] Calculate Close one week ago today using RT data

2010-08-19 Thread Rick Osborn
No takers, huh? Best Regards Rick Osborn From: ricko8294_98 To: amibroker@yahoogroups.com Sent: Fri, August 13, 2010 12:23:01 AM Subject: [amibroker] Calculate Close one week ago today using RT data I am using E-mini data - 1 minute bars. I want to

Re: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-07 Thread Rick Osborn
It's amazing what a good night's sleep does for a little perspective. Of course these functions only look back from the right edge of the chart - and do not produce full arrays. Thus, they are of very little use. That will teach me to try to be creative at 1 in the morning Best Re

Re: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-06 Thread Rick Osborn
for( j = i + 1;j <= a;j++ ) { if( z[i] > z[j] ) { temp = z[i]; z[i] = z[j]; z[j] = temp; } } } returnz[b + element]; } Thanks to Inquisitive Voyager for a great ide

Re: [amibroker] Re: New 3rd party toolset for AmiBroker

2010-06-30 Thread Rick Osborn
Aha Thanks Rob Best Regards Rick Osborn From: Rob To: amibroker@yahoogroups.com Sent: Wed, June 30, 2010 7:38:49 AM Subject: [amibroker] Re: New 3rd party toolset for AmiBroker Rick, Most things can be done in 'pure' AFL... i.e. array

Re: [amibroker] Re: New 3rd party toolset for AmiBroker

2010-06-30 Thread Rick Osborn
Appreciate the response. Speed is not the problem. Understanding why is. Perhaps someone can enlighten me? Best Regards Rick Osborn From: Rob To: amibroker@yahoogroups.com Sent: Wed, June 30, 2010 2:41:18 AM Subject: [amibroker] Re: New 3rd party toolset for

Re: [amibroker] Re: New 3rd party toolset for AmiBroker

2010-06-26 Thread Rick Osborn
Rob I would like a copy. I have been trying to translate EasyLanguage and other code but I just don't understand the math and my attempts just don't look right. Best Regards Rick Osborn From: Rob To: amibroker@yahoogroups.com Sent: Sat, June 26,

Re: [amibroker] impenetrable AFL

2010-06-15 Thread Rick Osborn
@yahoogroups.comSent: Tue, June 15, 2010 3:57:37 AMSubject: Re: [amibroker] impenetrable AFL    Hi Rick,       As you can see, in the mean time I have got several answers. Interesting enough we all have different opinions about this topic. But frankly I do not agree with

Re: [amibroker] impenetrable AFL

2010-06-14 Thread Rick Osborn
Ton You may have this a little backward. The first operation is NumToString - which changes the array value to a string. The next operation is StrToNum - which changes the string back to a number. It becomes just a number, not an array Best Regards Rick Osborn

Re: [amibroker] impenetrable AFL

2010-06-13 Thread Rick Osborn
the future. so if there are repeated events (buy signals and sell signals), I'm not sure if lastvalue sees any but the last one. Plus I worry about the Caveat!! Best Regards Rick Osborn From: Ton Sieverding To: amibroker@yahoogroups.com Sent: Sun, June

Re: [amibroker] Re: impenetrable AFL

2010-06-12 Thread Rick Osborn
Best Regards Rick Osborn From: Rob To: amibroker@yahoogroups.com Sent: Sat, June 12, 2010 8:29:05 PM Subject: [amibroker] Re: impenetrable AFL Ahh. Ok. In that case you could just use LastValue()... --- In amibroker@yahoogroups.com, Yuki Taga wrote

Re: [amibroker] impenetrable AFL

2010-06-12 Thread Rick Osborn
Didn't invent this - so you got me to thinking...(sometimes a dangerous activity) I think if you try to use if(BuySignal) by itself... you get the message Error 6. or "can't use array here." The double twist (kludge) seems to gets around that Best

Re: [amibroker] impenetrable AFL

2010-06-12 Thread Rick Osborn
change this to meet your needs Best Regards Rick Osborn From: Yuki Taga To: amibroker@yahoogroups.com Sent: Sat, June 12, 2010 1:24:58 AM Subject: [amibroker] impenetrable AFL Impenetrable! (At least to me.) xcolor = IIf(TSI >= SigL

[amibroker] Re: Here's how to back test a four legged option trading strategy - selling iron butterflies or iron condors

2010-06-09 Thread Rick
Wow, that is great. It has been years since I have used Amibroker code! What parameters can you optimize? Can you access and use the greeks? How far back do the option chains go? Thanks! Rick --- In amibroker@yahoogroups.com, David wrote: > > I've figured out how to back

[amibroker] Optimizing Option Spreads

2010-04-23 Thread Rick
greeks? Can I backtest and optimize strategies based on the greeks? Thank you so much, I appreciate your feedback! Rick Columbus, OH

Re: [amibroker] what's wrong with the code?

2010-01-02 Thread Rick Osborn
try removing the space between the double equal signs, as in LLL = ValueWhen(L==LLV(Low, 24),Low,1); Best Regards Rick Osborn From: dingl2008 To: amibroker@yahoogroups.com Sent: Sat, January 2, 2010 2:36:45 PM Subject: [amibroker] what's wrong wit

Re: [amibroker] Re: CXO article

2010-01-02 Thread Rick Osborn
Not sure how much difference it makes but your SetTradeDelays all set a 0 is NOT "everything delayed 1 day" I don't think. Best Regards Rick Osborn From: donald_brown_48367 To: amibroker@yahoogroups.com Sent: Sat, January 2, 2010 12:1

Re: [amibroker] Re: Need help for price oscillator

2009-12-31 Thread Rick Osborn
as a histogram that oscillates above/below a zero line." Best Regards Rick Osborn From: kml_soni1973 To: amibroker@yahoogroups.com Sent: Thu, December 31, 2009 11:15:26 AM Subject: [amibroker] Re: Need help for price oscillator Hello wisestocktrader, You

Re: [amibroker] Re: Seasonality Plot

2009-12-30 Thread Rick Osborn
Thanks Mike. Really appreciate this work Best Regards Rick Osborn From: Mike To: amibroker@yahoogroups.com Sent: Tue, December 29, 2009 2:05:49 AM Subject: [amibroker] Re: Seasonality Plot In the interest of completeness, here's an updated version

Re: [amibroker] Line Charts

2009-12-17 Thread Rick Osborn
go into the editor and check the plot statements. Generally changing the last entry from 64 to 1, or styleCandle to styleLine Best Regards Rick Osborn From: matrix10014 To: amibroker@yahoogroups.com Sent: Thu, December 17, 2009 12:28:17 PM Subject

Re: [amibroker] Re: Seasonality Plot

2009-12-17 Thread Rick Osborn
good explanation. I concur, now that I think about it. Best Regards Rick Osborn From: Mike To: amibroker@yahoogroups.com Sent: Thu, December 17, 2009 11:46:55 AM Subject: [amibroker] Re: Seasonality Plot Just personal preference. I think that there is

Re: [amibroker] Re: Seasonality Plot

2009-12-17 Thread Rick Osborn
Mike I note that you exclude the current bar when creating the dynamic variables for each year. Doing a quick check, it also seems that the current year is excluded from the average too. Is there a particular reason for that? Best Regards Rick Osborn From

Re: [amibroker] Re: Seasonality Plot

2009-12-17 Thread Rick Osborn
This is great code. Thanks. I suppose if one wanted to do a seasonality plot on a Sector, one could first create a composite. Interesting possibilities... Best Regards Rick Osborn From: reinsley To: amibroker@yahoogroups.com Sent: Thu, December 17

Re: [amibroker] Seasonality Plot

2009-12-14 Thread Rick Osborn
I would be interested in that too Best Regards Rick Osborn From: Rick_Miller_98 To: amibroker@yahoogroups.com Sent: Mon, December 14, 2009 9:53:23 PM Subject: [amibroker] Seasonality Plot I am looking for some code to overlay multiple years on the same

Re: [amibroker] Re: AmibrokerU Update

2009-12-08 Thread Rick Osborn
changed the AA range and ran a dummy scan. That did the trick Thanks From: Bruce To: amibroker@yahoogroups.com Sent: Tue, December 8, 2009 8:16:46 PM Subject: [amibroker] Re: AmibrokerU Update Rick - Not much info, so I can't be sure. A SWAG

Re: [amibroker] Re: AmibrokerU Update

2009-12-08 Thread Rick Osborn
Bruce All the values in all the watchlists are 1000. What am I doing wrong? From: Bruce To: amibroker@yahoogroups.com Sent: Tue, December 8, 2009 2:28:20 PM Subject: [amibroker] Re: AmibrokerU Update Sure, I'll give a (hopefully) useful example. And, I'll

Re: [amibroker] Re: AB and TRM Sigma channels

2009-12-05 Thread Rick Osborn
Amen!!! Best Regards Rick Osborn From: Rakesh Sahgal To: amibroker@yahoogroups.com Sent: Sat, December 5, 2009 12:49:46 AM Subject: Re: [amibroker] Re: AB and TRM Sigma channels They(Sigma Bands) are akin to a peep into the future, irrespective of the

Re: [amibroker] How can add more sheet to Amibroker

2009-12-02 Thread Rick Osborn
Tools > Preferences > Charting > Number of chart sheets (from next run) Best Regards Rick Osborn From: trocito1997 To: amibroker@yahoogroups.com Sent: Mon, November 30, 2009 2:38:22 PM Subject: [amibroker] How can add more sheet to Amibroker Hel

Re: [amibroker] Dunnigan Trend

2009-11-30 Thread Rick Osborn
, 1 ); // All that remains is to plot whatever you want to see Best Regards Rick Osborn From: Tim To: amibroker@yahoogroups.com Sent: Fri, November 27, 2009 3:29:34 AM Subject: [amibroker] Dunnigan Trend Hi, I am a newbie to Amibroker, but I had tried

Re: [amibroker] Re: Jurik Research tools - opinions? Anybody using Jurik tools?

2009-11-30 Thread Rick Osborn
it's called "cut and paste" Best Regards Rick Osborn From: JIM WIEHE To: amibroker@yahoogroups.com Sent: Mon, November 30, 2009 10:46:37 AM Subject: Re: [amibroker] Re: Jurik Research tools - opinions? Anybody using Jurik tools? I was

Re: [amibroker] Re: Jurik Research tools - opinions? Anybody using Jurik tools?

2009-11-30 Thread Rick Osborn
per + 1 )*per ); } Plot(scGauss2ord(C,roPeriod),"Gausian",colorRed,1); Plot(HullMaFunction(C,roPeriod,1),"Hull",colorGreen,1); Plot(JMA(C,roPeriod),"Jurik",colorYellow,1); Plot( Ti3( C, roPeriod),"T3",colorWhite,1); Best Regards Rick Osborn __

Re: [amibroker] Re: Jurik Research tools - opinions? Anybody using Jurik tools?

2009-11-29 Thread Rick Osborn
A comment and a question I don't think one would put a dll in the include folder - is it afl code or a dll? And I searched the Library and Files area - couldn't find it. Anyone know where to find this? Best Regards Rick Osborn From: JIM

Re: [amibroker] 1 Bad color on 2

2009-11-20 Thread Rick Osborn
also, "result" in the for loop returns only 2 values - 5 or 0. therefore, you will only get 2 colors in the ribbon. From: NW Trader To: amibroker@yahoogroups.com Sent: Fri, November 20, 2009 7:46:01 PM Subject: Re: [amibroker] 1 Bad color on 2 Hi Yves, Yo

Re: [amibroker] Re: IB AB Cross Reference

2009-11-19 Thread Rick Osborn
if I recall, that message occurs because you do not have permission WITHIN IB for the data. I do not think it is an AB issue at all Best Regards Rick Osborn From: Lloyd To: amibroker@yahoogroups.com Sent: Thu, November 19, 2009 11:51:26 AM Subject

Re: [amibroker] how to change negative price to positive in afl?

2009-11-19 Thread Rick Osborn
did you check the users manual for the function abs()? Best Regards Rick From: rinku kumar To: amibroker@yahoogroups.com Sent: Wed, November 18, 2009 9:07:42 PM Subject: [amibroker] how to change negative price to positive in afl? Hello everybody tell me

Re: [amibroker] Maintaining "Zoomed" Chart

2009-11-17 Thread Rick Osborn
change the preferences > charting > "default number of quotations" number From: wavetrader2005 To: amibroker@yahoogroups.com Sent: Tue, November 17, 2009 9:03:41 AM Subject: [amibroker] Maintaining "Zoomed" Chart Hello Group, When I zoom in on a ch

Re: [amibroker] Re: Trying to plot historical volatility with AFL

2009-11-14 Thread Rick Osborn
shape (but different values) to Anthony's initial code Best Regards Rick Osborn From: woodshedder_blogspot To: amibroker@yahoogroups.com Sent: Sat, November 14, 2009 7:40:08 PM Subject: [amibroker] Re: Trying to plot historical volatility with AFL Here i

Re: [amibroker] Re: REQ Please help code fibonacci bands in these lines as given-thanks

2009-11-13 Thread Rick Osborn
errors. Besides, there are no buy or sell Signals to code arrows for Best Regards Rick Osborn From: ram vel To: amibroker@yahoogroups.com Sent: Fri, November 13, 2009 9:41:16 PM Subject: Re: [amibroker] Re: REQ Please help code fibonacci bands in these lines

Re: [amibroker] Missing Data causes formual to fail

2009-10-31 Thread Rick Osborn
try changing StochRSI = (rNum/rDen)* 100; to StochRSI = Nz((rNum/rDen)* 100); Best Regards Rick Osborn From: Pete H To: amibroker@yahoogroups.com Sent: Sat, October 31, 2009 11:27:14 PM Subject: [amibroker] Missing Data causes formual to fail Drop

Re: [amibroker] re: Count calendar days

2009-10-21 Thread Rick Osborn
ive values - also not what I expected For example putting in 2009,8,11 gives -41 but actually the number is (-) 74. What am I doing wrong? Best Regards Rick Osborn From: Tomasz Janeczko To: amibroker@yahoogroups.com Sent: Wed, October 21, 2009 11:50:46 AM S

Re: [amibroker] Some Yahoo tickers fail to download data

2009-10-15 Thread Rick Osborn
they work fine for me Best Regards Rick Osborn From: TomB To: amibroker@yahoogroups.com Sent: Thu, October 15, 2009 12:48:21 PM Subject: [amibroker] Some Yahoo tickers fail to download data After 10/9/09, in AmiQuote, Yahoo data for over 200 tickers of

Re: [amibroker] Plottext the pivot's price

2009-10-10 Thread Rick Osborn
PlotText( p , b - 2, H[b] + vertshift , colorRed ); */ } Best Regards Rick Osborn From: reinsley To: amibroker@yahoogroups.com Sent: Sat, October 10, 2009 9:18:58 AM Subject: Re: [amibroker] Plottext the pivot's price Thank you Panos, Your

Re: [amibroker] can we have a buy sell str indicator in amibroker any afl available? please gui

2009-10-07 Thread Rick Osborn
Yes but I suspect (based on the title in the indicator window) it is based on bid and ask data. Don't think it is available from Interactive Brokers.. Is it?? Best Regards RickO From: reinsley To: amibroker@yahoogroups.com Sent: Wed, October 7, 2009 7:50:31

Re: [amibroker] Re: Vectorvest

2009-09-07 Thread Rick Osborn
...@yahoogrou ps.com, Rick Osborn wrote: > > would you consider the Tilson T3 function to be a Kalman Filter? > > > > > > > > _ _ __ > From: reefbreak_sd > To: amibro...@yahoogrou ps.com > Sent: Friday, September 4, 20

Re: [amibroker] Re: Request afl code for choppy market index (pleaselook here for tradestation

2009-09-06 Thread Rick Osborn
I think the problem may be with the first line What happens if you change it to Period = Param("Period" ,30,1,300, 1); From: droskill To: amibroker@yahoogroups.com Sent: Sunday, September 6, 2009 11:53:13 AM Subject: [amibroker] Re: Request afl code for cho

Re: [amibroker] Re: Vectorvest

2009-09-04 Thread Rick Osborn
would you consider the Tilson T3 function to be a Kalman Filter? From: reefbreak_sd To: amibroker@yahoogroups.com Sent: Friday, September 4, 2009 10:39:13 AM Subject: [amibroker] Re: Vectorvest Since I made the indicators, I can run them on what ever i

Re: [amibroker] AmiBroker 5.28.1 BETA released

2009-08-27 Thread Rick Osborn
I understand that. But nothing showed. Solution: I shut Amibroker down and started it again and it seems to be ok now Best Regards Rick Osborn From: Tomasz Janeczko To: amibroker@yahoogroups.com Sent: Thursday, August 27, 2009 2:02:07 PM Subject: Re

Re: [amibroker] AmiBroker 5.28.1 BETA released

2009-08-27 Thread Rick Osborn
stuff) Best Regards Rick Osborn - Original Message From: Tomasz Janeczko To: amibroker@yahoogroups.com Sent: Thursday, August 27, 2009 12:25:35 PM Subject: [amibroker] AmiBroker 5.28.1 BETA released Hello, AmiBroker 5.28.1 BETA released http://www.amibroker.com/devlog/2009/08/27

Re: [amibroker] long only rotational

2009-08-22 Thread Rick Osborn
In the Automatic Analysis => Settings =>General Tab set Positions to Long (only) From: upsidetarget To: amibroker@yahoogroups.com Sent: Saturday, August 22, 2009 10:09:59 AM Subject: [amibroker] long only rotational I want to use a simple RS system, but ba

Re: [amibroker] AmiBroker 5.27.1 ALPHA released

2009-08-05 Thread Rick Osborn
Is it possible to load a database previously created in 5.20 format (but not actively loaded in AmiBroker for a couple of weeks) in the new 5.27.1 version? - Original Message From: Tomasz Janeczko To: amibroker@yahoogroups.com Sent: Monday, August 3, 2009 7:33:46 PM Subject: [ami

Re: [amibroker] PlotShape

2009-08-02 Thread Rick Osborn
Tried it - didn't work. Seems to me that with Cover = 0, nothing will plot Best Regards Rick Osborn From: Thomas Z. To: amibroker@yahoogroups.com Sent: Sunday, August 2, 2009 6:08:57 AM Subject: RE: [amibroker] PlotShape Hello, You need to plo

Re: [amibroker] Re: TJ - WishList - bar charts in cells of Explore

2009-05-21 Thread Rick Osborn
Try AddTextColumn(Rept("|",LastValue(R2)),"R2bar",0,1,55,100); where R2 is a calculated value Best Regards Rick From: Mike To: amibroker@yahoogroups.com Sent: Wednesday, May 20, 2009 12:37:50 AM Subject: [amibroker] Re: TJ - WishList -

[amibroker] Re: AFL for Buy statement

2009-05-08 Thread Rick
ition was true has a 1 in > it. > > d > > On Fri, May 8, 2009 at 5:10 PM, Rick wrote: > > > Thanks for the help. I attempted to use the suggested "sum" but it adds > > the days together as a calculation (sum of last 5 days for the array). > > > &

[amibroker] Re: AFL for Buy statement

2009-05-08 Thread Rick
Thanks for the help. I attempted to use the suggested "sum" but it adds the days together as a calculation (sum of last 5 days for the array). What I really want is to find that a condition existed for the last 5 days (i.e MACD was below 0 for each of the last 5 days). I browsed thru the AFL's

[amibroker] AFL for Buy statement

2009-05-07 Thread Rick
As a new user, can someone help me understand how to set up a buy signal when a certain condition occurs on several consecutive days? I would like to create a buy signal when (as example) the macd is above 0 for the last 5 days. I know that the correct afl for when macd is above 0 for the last

[amibroker] AB error message "The ordinal 4833 could not be found...."

2009-04-28 Thread Rick
Tonite I downloaded the AFL Code wizard and then installed the file. When I now attempt to start AB, I get the following error message: "The ordinal 4833 could not be found in the dynamic link library AmXTP.dll" Do I need to uninstall and then reinstall AB? Can anyone help? Thx

Re: [amibroker] Re: Adding AFL to toolbar button

2009-01-27 Thread Rick Osborn
As a separate question  - is it possible to ask for user input - such as a date, or a price with these chart buttons?  Best Regards Rick From: sidhartha70 To: amibroker@yahoogroups.com Sent: Tuesday, January 27, 2009 5:08:07 AM Subject: [amibroker] Re

Re: [amibroker] Sheet Order

2008-11-09 Thread Rick Osborn
  Just drag them (by their labels) to where you want them Rick - Original Message From: larypowell <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Monday, November 10, 2008 1:44:56 AM Subject: [amibroker] Sheet Order I would like to change the "order" of the

Re: [amibroker] help with this AFL needed

2008-10-25 Thread Rick Osborn
Looks like part of Chaiken MoneyFlow indicator/ Try CLV = ((Close - Low) - (High - Close)) / Nz((High - Low));  Best Regards Rick - Original Message From: przemyslawuk <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Saturday, October 25, 2008 10:36:07 AM Subject: [ami

Re: [amibroker] Re: Interactive Brokers plugin 1.8.1 - a problem back filling

2008-10-25 Thread Rick Osborn
Thanks Tomasz   I find   TD-SMART-S-CAD   seems to work best for Toronto stocks Best Regards Rick - Original Message From: Tomasz Janeczko <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Thursday, October 23, 2008 4:09:31 PM Subject: Re: [amibroker] Re: Interactive B

Re: [amibroker] Re: Interactive Brokers plugin 1.8.1 - a problem back filling

2008-10-23 Thread Rick Osborn
 Tomasz To add TD (TD Bank) US quotes to real time database all I need to do is add it as "TD" (without quotes, of course) How would I add TD - Canadian data?  (All combinations I tried don't seem to work)  Using IB plugin 1.8.2 Rick - Original Message From: Tomasz J

Re: [amibroker] Tutorial on Covariance Matrix Adaptation...

2008-10-02 Thread Rick Osborn
Interesting, and ... I'm sure going to understand that in a hurry!!! Rick - Original Message From: jeffro861 <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Thursday, October 2, 2008 6:54:43 PM Subject: [amibroker] Tutorial on Covariance Matrix Adaptatio

Re: [amibroker] Line color question

2008-09-30 Thread Rick Osborn
I haven't tried it - but did you think of trying <=  or >= instead of just the < or > Rick - Original Message From: steve_almond <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Tuesday, September 30, 2008 5:58:21 PM Subject: [amibroker] Line color qu

Re: [amibroker] How to calculate indicators using other indicators’ values

2008-09-30 Thread Rick Osborn
Check out RSIa(array,period) in the Help File Rick - Original Message From: Hao Chik <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Tuesday, September 30, 2008 2:58:22 PM Subject: [amibroker] How to calculate indicators using other indicators’ values If I want t

Re: [amibroker] Does any traders live in Eastern Ontario Canada?

2008-05-21 Thread Rick Osborn
Oshawa Best Regards Rick Osborn - Original Message From: dclarc <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Wednesday, May 21, 2008 12:59:33 PM Subject: [amibroker] Does any traders live in Eastern Ontario Canada? Does any traders live in Eastern Ontario Canada?

[amibroker] Amiquote Import Question

2007-12-25 Thread Rick
I have recently done quite a bit of setup of sectors with Amibroker. Prior to doing any work with databases I had no problems with Amiquote importing into Amibroker. But today when I downloaded with Amiquote, the data did not import automatically into Amibroker (I do have the "Automatic Import" b

[amibroker] Sector Setup

2007-12-23 Thread Rick
Is there any know issues with V5 in setting up sectors? I have been attempting to create sectors and industries for several hours and have had no luck at all. Although when I go to Symbol > Catagories window there are named sectors in the sectors tab, they do not show up in the symbols tab wh

[amibroker] Re: Constant Range for y-axis scale

2007-11-08 Thread Rick
--- In amibroker@yahoogroups.com, "Wangxiaoquan" <[EMAIL PROTECTED]> wrote: > > --- In amibroker@yahoogroups.com, "Carl" wrote: > > > > I would like to set the y-axis of a price chart to a fixed range, i.e. > > set it to show a 60 point range from high to low regardless of the the > > absolute

Re: [amibroker] Loop Problem

2007-09-26 Thread Rick Osborn
Thanks I don't know why I try to complicate things. Rick --- Graham <[EMAIL PROTECTED]> wrote: > have you tried a simpler method? > > array = RSI(21); > Threshold = 50; > count = barssince(array>=threshold); > > -- > Cheers > Graham Kav > AFL

Re: [amibroker] Loop Problem

2007-09-26 Thread Rick Osborn
> > always seems to be zero. > > > > > > > > array = RSI(21); > > Threshold = 50; > > ConsecutiveDays = 10; > > Count = 0 // initialize > > > > for (i = 1; i < ConsecutiveDays + 1; i++) > > { > > > > if (Arr

Re: [amibroker] Help with nested IIF statements

2007-09-19 Thread Rick Osborn
Thank you Rick --- wavemechanic <[EMAIL PROTECTED]> wrote: > Just take it one step at a time and convert your > words into AFL. For example: > > upbar = iif(macd(x, y) > ref(macd(x, y), -1) and > macd(x, y) > 0, 1, 0); > downbar = iif(macd(x,y) < ref(macd(x,

Re: [amibroker] 20 Day High

2007-09-18 Thread Rick Osborn
Try changing Filter = C == NewHigh; Rick --- burlap58 <[EMAIL PROTECTED]> wrote: > In using the following AFL: > > X = 20; // number of days > > NewHigh = HHV( Close, X ); // > > Filter = NewHigh; > > AddColumn( Close, "Close" ); I'm tryin

Re: [amibroker] Re: TD Pressure Ratio Indicator

2007-09-08 Thread Rick Osborn
gt; > > > > > To get support from AmiBroker please send an > e-mail directly to > > > > SUPPORT {at} amibroker.com > > > > > > > > For NEW RELEASE ANNOUNCEMENTS and other news > always check DEVLOG: > > > > http://www.amibroker.com/devlog/ > > > > > > > > For other support material please check also: > > > > http://www.amibroker.com/support.html > > > > > > > > Yahoo! Groups Links > > > > 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 NEW RELEASE ANNOUNCEMENTS and other news > always check DEVLOG: > > http://www.amibroker.com/devlog/ > > > > For other support material please check also: > > http://www.amibroker.com/support.html > > > > Yahoo! Groups Links > > > > > > > > Rick Osborn

[amibroker] If Statement

2007-08-31 Thread Rick
Is it possible to have a print statement if a condition is true? Let's say I wanted to have a chart print "PASS" if the MACD histogram was positive - is it possible? Should the following work? IIf(rut_macd_histogram>0,+ EncodeColor(colorGreen)+ "PASS")

Re: [amibroker] Re: StoRSI on CSCO

2007-07-12 Thread Rick Osborn
Have you checked out the Nz() function? By the way, my formula for the StoRSI is StoRSI =Nz((RSI(period) - LLV(RSI(period) ,period)) / ((HHV(RSI(period),period)) - LLV(RSI(period),period))); Rick --- chetan_gariki <[EMAIL PROTECTED]> wrote: > finally found out.. there is a

Re: [amibroker] Re: ApplyStop values.

2007-06-18 Thread Rick Osborn
Thanks Graham Rick --- Graham <[EMAIL PROTECTED]> wrote: > equity(1,0); > plot(valuewhen(Cover==4,CoverPrice),"CoverPrice",colorblue); > plot(valuewhen(Sell==4,SellPrice),"SellPrice",colorblue); > > if you have a delay on the exit, then you need to >

Re: [amibroker] Re: ApplyStop values.

2007-06-18 Thread Rick Osborn
i]==4 ) PlotText( "Long\nStop ", i, H[ i ]+dist[i]*2, colorRed, colorYellow ); } ... except SCoverPrice[i] does not generate the same number that the backtester generates. --- gp_sydney <[EMAIL PROTECTED]> wrote: > Rick, > > Don't you need a call to Equity(1) in t

Re: [amibroker] ApplyStop values.

2007-06-18 Thread Rick Osborn
es > not give the same answer that the Backtester gives. > > 2.- Also, plotting this on the chart shows up one > day before the date > shown in the backtester too. Why is that? > > Thanks to anyone for some clarification > > Rick > > > > Rick Osborn

Re: [amibroker] Re: Summation within exploration

2007-06-14 Thread Rick Osborn
o > > >> > SUPPORT {at} amibroker.com > > >> > > > >> > For NEW RELEASE ANNOUNCEMENTS and other news > always check > DEVLOG: > > >> > http://www.amibroker.com/devlog/ > > >> > > > >> > For other support material please check also: > > >> > http://www.amibroker.com/support.html > > >> > > > >> > Yahoo! Groups Links > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > -- > > >> > No virus found in this incoming message. > > >> > Checked by AVG Free Edition. > > >> > Version: 7.5.472 / Virus Database: > 269.8.15/848 - Release > Date: > > > 6/13/2007 12:50 PM > > >> > > > >> > > > >> > > > > > > > > > > > > > > > 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 NEW RELEASE ANNOUNCEMENTS and other news > always check DEVLOG: > > > http://www.amibroker.com/devlog/ > > > > > > For other support material please check also: > > > http://www.amibroker.com/support.html > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > -- > > > No virus found in this incoming message. > > > Checked by AVG Free Edition. > > > Version: 7.5.472 / Virus Database: 269.8.15/848 > - Release Date: > 6/13/2007 12:50 PM > > > > > > > > > > > Rick Osborn

Re: [amibroker] standard deviation

2007-06-14 Thread Rick Osborn
Have you checked out Bollinger Bands? --- eric tao <[EMAIL PROTECTED]> wrote: > Hi, > > How to construct a band one, two, and three stand > deviation from MA(c)? > > Thank you. > Eric > > Rick Osborn

Re: [amibroker] Re: Corr Matrix via Gfx functions

2007-06-06 Thread Rick Osborn
(NrSymbs+1);//Colheadings > > > > > > > > //GfxSetTextAlign(6 | 24); > > > > > > > > RetLB = Param("RetLB",1,1,100); > > > > CorrLB = Param("CorrLB",30,5,256); > > > > > > > > Start = BarCount-RetLB; > > > > > > > > ActBar = > Min(BarCount-1,LastValue(SelectedValue(BarIndex > (; > > > > ActD = > LastValue(SelectedValue(DateTime())); > > > > > > > > GfxSelectFont( "MS Serif", CH/4,800); > > > > PrintTxtInCell( "CorrM > @:\n"+NumToStr(ActD,formatDateTime), > 0, > > > 0,CW, > > > > CH, HA, VA, 1); > > > > > > > > for ( x = 0 ; (Ticker = StrExtract ( > WLSymbols, x ))!="" ; > x++ ) > > > > { > > > > SetForeign(Ticker); > > > > RetTick = ROC(C,RetLB); > > > > FN = FullName(); > > > > RestorePriceArrays(); > > > > > > > > GfxSelectFont( "MS Serif", CH/4,800); > > > > PrintTxtInCell( Ticker, 0, x+1 ,CW, CH, > HA, VA,1|32|4 ); > > > > > > > > GfxSelectPen( colorBlue ); > > > > > > > > for( i = 0; (Ticker2 = StrExtract ( > WLSymbols, i))!="" ; > i++ ) > > > > { > > > > SetForeign(Ticker2); > > > > RetTick2 = ROC(C,RetLB); > > > > FN2 = FullName(); > > > > RestorePriceArrays(); > > > > > > > > if (Ticker2 == Ticker) Corr=1; > > > > else Corr = Correlation(RetTick, RetTick2, > CorrLB); > > > > > > > > GfxSelectFont( "MS Serif", CH/4,800); > > > > PrintTxtInCell( Ticker2, i+1, 0, CW, CH, > HA, > > > > VA,1|32|4); > > > > GfxSelectFont( "MS Serif", CH/4); > > > > Kleur = IIf(Corr[ActBar]>=0, > colorGreen,colorRed); > > > > GfxSetTextColor(Kleur); > > > > PrintInCell( Corr[ ActBar ], i+1, x+1, CW, > CH, HA, > > > > VA); > > > > //PrintInCell( Corr[ ActBar ] , i+1, x+1); > > > > GfxSetTextColor(colorBlack); > > > > > > > > GfxMoveTo( 0, (i+1) * CH); > > > > GfxLineTo( (x+2) * CW, (i+1) * CH );// > Columns > > > > } > > > > > > > > GfxMoveTo( 0, (x+1)*CH); // Move to end of > last column > > > > //GfxLineTo( 6 * CW, i * CH ); > > > > } > > > > > > > > for( Col = 1; Col < NrSymbs+2; Col++ ) > > > > { > > > > GfxMoveTo( Col * CW, 0); > > > > GfxLineTo( Col * CW, (NrSymbs+1) * CH ); > > > > } > > > > > > > > > > > > Title=""; > > > > > > > > > > > > > > > > -- > Pinpoint customers who are looking for what you > sell. Rick Osborn

Re: [amibroker] Re: How To Display Full Name Of Stock?

2007-06-01 Thread Rick Osborn
Go to Tools > Auto Update quotes (Canada and US) I the drop down window under go to Yahoo Fundamental - Basic (which should downloads the Fullname and some basic info per stock) and then Yahoo Fundamental - Extra (which downloads other financial information) and that should do it R

Re: [amibroker] Re: How To Display Full Name Of Stock?

2007-06-01 Thread Rick Osborn
for > discussion between > users > > > > only. > > > > > > > > > > > > > > To get support from AmiBroker please > send an e-mail > directly > > > > to > > > > > > > SUPPORT {at} amibroker.com > > > > > > > > > > > > > > For NEW RELEASE ANNOUNCEMENTS and > other news always > check > > > > DEVLOG: > > > > > > > http://www.amibroker.com/devlog/ > > > > > > > > > > > > > > For other support material please > check also: > > > > > > > http://www.amibroker.com/support.html > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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 NEW RELEASE ANNOUNCEMENTS and other news > always check > DEVLOG: > > > > http://www.amibroker.com/devlog/ > > > > > > > > For other support material please check also: > > > > http://www.amibroker.com/support.html > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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 NEW RELEASE ANNOUNCEMENTS and other news > always check DEVLOG: > > > http://www.amibroker.com/devlog/ > > > > > > For other support material please check also: > > > http://www.amibroker.com/support.html > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > Rick Osborn & Associates 885 Sorrento Ave. Oshawa, Ontario L1J 6V6 (905) 728-8543 fax 728-0815

Re: [amibroker] How to use the Low of entry bar as Stop?

2007-05-23 Thread Rick Osborn
How about a slight variation on this theme. How do you define a stop at the point where an upper band (say a StdErrorBand) crosses below the Buyprice? Thanks for your help Rick --- Tomasz Janeczko <[EMAIL PROTECTED]> wrote: > Hello, > > You need to use ApplyStop and specify

Re: [amibroker] Download Historical Yahoo for one stock only

2007-05-13 Thread Rick Osborn
a you want. Rick --- flydbus320 <[EMAIL PROTECTED]> wrote: > How do i download just one stock at a time ? > When i add a ticker in amibroker, i can only choose > to update the > whole database. How do i update only one or several > stocks at a time ? > Thanks > > R

Re: [amibroker] Drawing Stop Loss Line

2007-05-05 Thread Rick Osborn
); > PriordateLow = ValueWhen(Buy,ref(L,-1),1); > > -- > Cheers > Graham > AB-Write >< Professional AFL Writing Service > Yes, I write AFL code to your requirements > http://www.aflwriting.com > > > On 05/05/07, Rick Osborn <[EMAIL PROTECTED]> wr

Re: [amibroker] Drawing Stop Loss Line

2007-05-04 Thread Rick Osborn
I am recovering from major surgery and don't have the energy to figure out what is wrong. Perhaps the true programmers out there can help --- rpc200512 <[EMAIL PROTECTED]> wrote: > Hi Rick > Thanks for the code.I want to draw the horizontal > line depending on the Buy signa

Re: [amibroker] Re: AmiBroker 4.94.0 BETA released

2007-05-04 Thread Rick Osborn
il address, and those of > others. > > Help fight the war against Spam; > > Erase all addresses before forwarding any item > of email. > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > > > > > > > Please

Re: [amibroker] Drawing Stop Loss Line

2007-05-02 Thread Rick Osborn
This should get you started. It assumes the buy happened on the current bar - which at least will give you the sell stop limit. It could be refined by getting the BarCount value when the buy occurred. Hope it helps Rick _SECTION_BEGIN("Stop Calculator"); // Stop Calculator slpoint =

Re: [amibroker] metastock statement to afl

2007-04-18 Thread Rick Osborn
oops I see that the line for TD4 should be TD4 = IIf(TD2==1 AND TD3==1,1,0); Rick --- Rick Osborn <[EMAIL PROTECTED]> wrote: > I'll have a go at it. > > The Fml("TD - SetUp-Buy" ) is a Tom Demark formula > which, I think translated to AB is as follows. >

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-18 Thread Rick Osborn
rend,"and RMO is positive", "BUT RMO is negative"),""); WriteIf(BuyAlert,"Best with Blue bar",""); WriteIf(SellAlert,"Sell Alert - " + WriteIf(Bull_Trend,"and RMO is negative", "BUT RMO is positive"),"

Re: [amibroker] metastock statement to afl

2007-04-18 Thread Rick Osborn
t; > > Could some one help convert the above metastock > statement to afl > > Thanks > > > > Rick Osborn & Associates 885 Sorrento Ave. Oshawa, Ontario L1J 6V6 (905) 728-8543 fax 728-0815

Re: [amibroker] Blau: TSI & Ergodic Oscillator

2007-04-17 Thread Rick Osborn
(you may want to separate the Addcolumn stuff) Rick --- Larry <[EMAIL PROTECTED]> wrote: > Hi there, > > I came across the above indicator at > www.amibrokerfan.com (forum). > > I found it useful as an indicator but I was > wondering if it can be turned into a scanner

RE: [amibroker] Re: Help with code

2007-04-04 Thread Rick Osborn
Is it possible to create a FUNCTION (call it MSPREV) that can be called whenever PREV is needed?? Rick --- dbw451 <[EMAIL PROTECTED]> wrote: > Here's how to do PREV in a loop (I can't check the > code because I don't have > the deltav values, but this should gi

Re: [amibroker] Strange Numbers

2007-03-13 Thread Rick Osborn
That did it. They all stop calculating on Dec 26, 2003. The data has OHLC all the same and 0 volume. When I delete this day's data - the problem is fixed. Question,- how do I delete data for this day for all stocks in my Canadian Database using AFL? One at a time would be a pain

Re: [amibroker] AFL - screen for outliers

2007-03-13 Thread Rick Osborn
It seems to do so for me Rick --- Ara Kaloustian <[EMAIL PROTECTED]> wrote: > I am trying to do a simple screen to find issues > that are outside 3 standard deviations of Bollinger > band. > > The code below seems to work .. of sorts, but when I > plot the chart, the res

Re: [amibroker] OT: pump & dump spam

2007-02-26 Thread Rick Osborn
Thanks, I'll check this out Rick --- wavemechanic <[EMAIL PROTECTED]> wrote: > Rick: > > Does your ISP have a spam filter that you can tune? > If not, you might consider having all of your mail > go through one of the free e-mail services that > provide forwardin

Re: [amibroker] OT: pump & dump spam

2007-02-26 Thread Rick Osborn
't seem to help) Is there something better?? Rick --- Yuki Taga <[EMAIL PROTECTED]> wrote: > I got this today. > > I think the "Expected" typo is what is commonly > called a "Freudian > slip" in English? > > > Critical Care Inc. > > C T

Re: [amibroker] Yahoo historical

2007-02-20 Thread Rick Osborn
I got the data for the 20th I believe the 19th the Us market was closed - Presidents day? Don't live in the states, but believe this is the case Rick --- Anthony Faragasso <[EMAIL PROTECTED]> wrote: > Does any one know if Yahoo stopped providing > dataI have not been

Re: [amibroker] Re: How To Get HHV( High, between 09:30 and 10:30 )

2007-02-12 Thread Rick Osborn
Could it be that you need to set your intraday setting to "Start time of interval" - or something like that? (See Preferences - Intraday) Rick --- Lester Vanhoff <[EMAIL PROTECTED]> wrote: > Ed: I coded it using the plugin. However again if > you change the timeframe fro

  1   2   >