For my better understanding of OOP:
When I copy an object property...
e. g.
CurrentEquity = bo.Equity;
... if the bo.Equity property changes afterwards, does the variable
CurrentEquity change with it, or does it contain the old value?
Thanks in advance!
Lookup the use of EXREM in help as well as the links below.
http://www.amibroker.com/newsletter/08-2001.html
http://www.amibroker.net/3rdparty/ABSysDevTutorv2.pdf
Regards,
Duke Jones, CMT
On Apr 30, 2010, at 7:40 PM, StanG wrote:
> Hi
> Anyone know how to inhibit multiple consecutive shapes
Hi
Anyone know how to inhibit multiple consecutive shapes being displayed i.e. I
would like to only display the first hit on a shape [open a trade] then no more
until I signal a close of that trade [hitting a stop loss or profit]. Thanks
for any help.
Stan Graham
Can someone please advise where the error is in the following simple code:-
fbr = Status("firstvisiblebar");
Lbr = Status("lastvisiblebar")-1;
x0 = fbr;
x1 = Lbr;
y0 = H[fbr];
y1 = L[Lbr];
Line = LineArray(x0,y0,x1,y1);
Plot(Line,"Li
- Original Message - * *From: "fifthelement80" <**
> [EMAIL PROTECTED] <[EMAIL PROTECTED]>*>*
> *To: <[EMAIL PROTECTED] *>*
> *Sent: Monday, February 04, 2008 8:05 AM*
> *Subject: [amibroker] simple question regarding arrays*
> *
> *
> *> Hi
Don't recall but maybe there is something in the settings that will work. If
not, valuewhen(cum(1) == 1, c, 1) will.
Bill
- Original Message -
From: "fifthelement80" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 04, 2008 8:05 AM
Subject: [amibroker] simp
Hi,
I am very new to afl and I have a stupid problem on coding my indicator.
I have 50,000 1 minute candle in my database and on my chart , now I
want to access the close of the price on the bar #1 , but when I
use C[1] I get "subscription out of range/error 10" message. it
tells me I can n
you need to use SetBarsRequired function:
http://www.amibroker.com/f?setbarsrequired
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: "oneklema" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 07, 2007 3:45 PM
Subject: [amibroker] Simple question about
I have what should be a simple question about BarCount but cannot get
a definitive answer from the AB documentation. FYI, I am working on
daily data.
What exactly does BarCount represent? The AB help says:
BarCount constant gives the number of bars in array (such as Close,
High, Low, Open, Volume
*From:* amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *ravathi communications
*Sent:* Monday, January 08, 2007 2:49 PM
*To:* amibroker@yahoogroups.com
*Subject:* Re: [amibroker] Simple question
DEAR SIR
CAN I KNOW WHO IS THE RESELLER IN INDIA FOR PATTERN EXPLORER S
ry 08, 2007 2:49 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] Simple question
DEAR SIR
CAN I KNOW WHO IS THE RESELLER IN INDIA FOR PATTERN EXPLORER S/W
URS
m.kOTHANDARAMAN
On 1/8/07, Thomas Z. <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
.com> wro
lorer.com
--
*From:* amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *veszka
*Sent:* Sunday, January 07, 2007 5:23 PM
*To:* amibroker@yahoogroups.com
*Subject:* [amibroker] Simple question
Hello!
How can I do the following:
buy when close price > EMA(200) and sell after wit
m: Thomas Z. <mailto:[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <mailto:amibroker@yahoogroups.com> ps.com
Sent: Monday, January 08, 2007 4:18 AM
Subject: RE: [amibroker] Simple question
Hi,
buy = close > ema(c,200);
sell = barssince(buy)==5;
Best Regards
Thomas
To: amibroker@yahoogroups.com
Sent: Monday, January 08, 2007 4:18 AM
Subject: RE: [amibroker] Simple question
Hi,
buy = close > ema(c,200);
sell = barssince(buy)==5;
Best Regards
Thomas
www.patternexplor
ker] Simple question
Hello!
How can I do the following:
buy when close price > EMA(200) and sell after with 5 days the date of
buy?
I can't create the condition of selling. Could anybody help me?
Thanks!
Hello!
How can I do the following:
buy when close price > EMA(200) and sell after with 5 days the date of
buy?
I can't create the condition of selling. Could anybody help me?
Thanks!
I am just starting to use Ami, and I would like my database to come up
with barcharts when opening. Seems no matter what I save them as,
they always come up as Candle. Is this fixable?
Please note that this group is for discussion between users only.
To get support from AmiBroker please s
gt;
> Buy = Ref(condition,-1); BuyPrice = O;
>
> SetChartOptions(0, chartShowDates);
> Plot(C,"C",1,64);
> PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0, yposition =
> BuyPrice, offset = 0 );
>
>
>
>
>
> - Original Message -----
&g
ot;C",1,64); PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0,
yposition = BuyPrice, offset = 0
);
- Original Message -
From: "Tomas" <[EMAIL PROTECTED]>
To: <amibroker@yahoogroups.com>
Sent: Wednesday, April 05, 2006 5:41
AM
Subject: R
t;,1,64);
> PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0, yposition =
> BuyPrice, offset = 0 );
>
>
> rgds, Ed
>
>
> - Original Message -
> From: "Tomas" <[EMAIL PROTECTED]>
> To:
> Sent: Monday, April 03, 2006 1:43 AM
>
, April 04, 2006 12:48
PM
Subject: Re: [amibroker] Simple Question
: How do I specify the previous day's price
On Tuesday 04 April 2006 05:31 am, emp62 wrote:> you
can code that like:>> condition = BarsSince( C > Ref(C,-1))
== 3 AND MA(V,3) < MA(V,50);>>
On Tuesday 04 April 2006 05:31 am, emp62 wrote:
> you can code that like:
>
> condition = BarsSince( C > Ref(C,-1)) == 3 AND MA(V,3) < MA(V,50);
>
> Buy = Ref(condition,-1); BuyPrice = O;
Ah ha! This is the proper way to buy at the Open price (O). This is what
you want to do to simulate putti
0
);
rgds, Ed
- Original Message -
From: "Tomas" <[EMAIL PROTECTED]>
To: <amibroker@yahoogroups.com>
Sent: Monday, April 03, 2006 1:43 AM
Subject: [amibroker] Simple Question : How do I
specify the previous day's price
> Hi,> > I just reg
Hi,
I just registered Amibroker a week ago, and in the process of testing out some
of the features.
I spent the last few hours trying to figure this issue out, but have no luck.
This is a simple
thing, but the array concept of AFL is a little confusing to me.
My issue is that I want to write
do you not get an error message when you run this?
firstly using IF with an array variable (which is what check is)
requires a FOR loop to iterate through the bars, but I assume you only
want to run on the alst bar, so you need to cahnge the array to a
scalar value (single value for all bars)
if(
Hi -
I'm trying to check if any of my stocks have closed below price "x"
in the last "y" periods and take some action:
I have:
X = 1.00;
y = 260;
check = LLV(C,y) < x;
//Now I want to:
if (check){ CategoryRemoveSymbol("",CategoryWatchlist, 0);
This doesn't seem to be finding the stocks in m
26 matches
Mail list logo