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
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
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
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
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
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
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,
@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
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
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
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
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
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
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
greeks?
Can I backtest and optimize strategies based on the greeks?
Thank you so much, I appreciate your feedback!
Rick
Columbus, OH
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
__
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
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
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
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
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
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
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
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
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
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
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
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
...@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
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
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
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
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
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
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
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
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 -
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).
> >
> &
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
--- 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
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
> > always seems to be zero.
> >
> >
> >
> > array = RSI(21);
> > Threshold = 50;
> > ConsecutiveDays = 10;
> > Count = 0 // initialize
> >
> > for (i = 1; i < ConsecutiveDays + 1; i++)
> > {
> >
> > if (Arr
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,
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
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
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")
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
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
>
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
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
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
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
(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
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
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
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
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
);
> 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
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
il address, and those of
> others.
> > Help fight the war against Spam;
> > Erase all addresses before forwarding any item
> of email.
> >
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> >
> >
> > Please
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 =
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.
>
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"),"
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
(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
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
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
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
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
'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
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
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 - 100 of 127 matches
Mail list logo