I have several charts with a number of parameters. Occasionally these
parameters reset to default values. Does anybody know why this happens? I am
using AB 5.29.6. TIA
Okay, will switch.
When I'm inside the CBT and looping through trades, what bar of ~~~Equity does
the script think its on when evaluating statements for a given trade? trade
entrybar? exitbar? neither?
I'm trying to determine if I need to use an [ArrayIndex] when getting a number
from St
looks like the code got chopped off..
I like this idea of writing it to a static variable and using another
afl to aggregate all the signals.
For now i have noticed that i am able to run multiple AB instances
connected to the same IQFeed and get away with the problem (at the
expense of some CP
Thanks Brian; I like this idea of writing it to a static variable
andusing another afl to aggregate all the signals.
For now i have noticed that i am able to run multiple ABinstances
connected to the same IQFeed and get away with the problem (at
theexpense of some CPU and memory) but i white boar
I like this idea of writing it to a static variable and using another
afl to aggregate all the signals.
For now i have noticed that i am able to run multiple AB instances
connected to the same IQFeed and get away with the problem (at the
expense of some CPU and memory) but i white boarded a bit of
You are right; i was actually able to run multiple instances of AB connected to
different databases but both being fed by a single IQFeed client. It takes away
the problem of running multiple scans for now (for multiple systems; and
luckyly i dont have to mix all the systems into one big file) a
Yup, always pays to check the release notes too ;) I've been caught by that a
few times myself.
Mike
--- In amibroker@yahoogroups.com, "Joe Landry" wrote:
>
> Mike - I'm sure glad you dusted off the one about static arrays. Last week I
> went off looking in the user's guide and for the life o
P.S. if the "typeof" operator is defined for your version
http://www.amibroker.com/devlog/wp-content/uploads/2009/02/readme5220.html ,
you can use that instead of the following lines:
undefined = IIF( IsNull( foreignATR ), true, false);
if( LastValue( undefined ) )
I assumed that you didn't hav
I have a system that has been running perfectly for the last few months, but
then yesterday it started showing a strange problem. I use a 15-minute
database, and part of my system uses a composite indicator that is run against
a list of stocks.
Just yesterday, I started seeing timestamps on qu
Yes.
Once you enter the custom backtesting phase, the active symbol is ~~~Equity.
Any arrays constructed for symbols during the signal generation phase are no
longer accessible.
Mike
--- In amibroker@yahoogroups.com, B S wrote:
>
> Mike-
> Â
> Thank you. I have been freezing up my machine
Mike - I'm sure glad you dusted off the one about static arrays. Last week I
went off looking in the user's guide and for the life of me (a long time
looking) I could not find the definition for the static variable array
function, or that it was in fact not just a number but now an array. That
Hello,
You need to read this:
http://www.amibroker.com/docs/Houston2.pdf
(look for difference between first pass and second pass)
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-01-21 02:55, B S wrote:
Mike-
Thank you. I have been freezing up my machine for 30 minutes at a
time trying
Hello,
You should NOT do that that way (keying with barindex()) that is
complete overkill.
AmiBroker supports ARRAY static variables, just use latest version 5.29.6
and use the formula I gave earlier.
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-01-21 00:34, B S wrote:
Thanks Toma
Mike-
Thank you. I have been freezing up my machine for 30 minutes at a time trying
to get the staticvarset() to work (never did). This does it. Thanks again.
For my edification, could you tell me why the alternative below doesn't work?
Is it that once the backtester begins, all arrays (
If you've ever made a backup copy of the entire AmiBroker directory (e.g. as
per guidelines when upgrading to the latest beta), you could probably dig it up
from there.
Mike
--- In amibroker@yahoogroups.com, "eskimovsin...@..." wrote:
>
> Hi,
>
> While working on my watch list, with the inten
For what it's worth, static arrays were introduced to the 32 bit version
in 5.24.0 as seen here:
http://www.amibroker.com/devlog/wp-content/uploads/2009/03/readme5240.ht\
ml If the feature is not yet available in the 64 bit version, creating
a static variable for every bar of every symbol would p
I distribute quite a few charts to friends and would like to fix them at a
specific size. Right now this is impossible within AmiBroker as far as I know.
I have found window sizers on the web but they are mostly for resizing browser
windows and the one I did find that seems perfect
(http://www.
> Is there a way to get my favourites back?
I recently closed one of my Windows accidently. Knowing that there was
no built in way to Undo or get it back, I tried the following
successfully...
Without closing AB, I backed up the entire AB directory.
Then after closing AB and restarting it, sure
If you don't find a simpler way, this could certainly be implemented using low
level custom backtester API.
http://www.amibroker.org/userkb/2008/03/16/amibroker-custom-backtester-interface-2/
Mike
--- In amibroker@yahoogroups.com, "gwantel" wrote:
>
> Hi,
>
> if my system is flat I would like
Hi,
While working on my watch list, with the intention to remove one of the stock
from my watch list, I accidentally click "Erase Favourites". Then, my favourite
list was erased completely. I don't see an "undo" option to get my favorites
back.
How could AmiBroker let this happen? I spent so m
Thanks Tomasz. One stupid follow up question: my understanding is that
StaticVarSet will take only a single number not an array, therefore do i need
to create a loop outside the CBT from 0 to BarCount - 1 and create a static
variable for every bar as follows?
StaticVarSet( "MyAtr"+Name( )+BarI
Hello,
Foreign is costly. Move your calculations OUTSIDE custom backtest part.
ATR can easily be calculated outside CBT and passed via Static variable.
So instead of Foreign use Static variables. Store your ATR into static
variables keyed with
StaticVarSet("MyAtr"+Name(), ATR(14) );
and insi
Hi-
I have run into some major performance problems when trying to add a single
simple metric to the backtest results. I have no doubt that its something I'm
doing, I just have no idea what that might be. I have seen a post or two in
the past on how to accomplish what I'm trying to do (as t
//simple moving average with smoothing
P = ParamField("Price field",-1);
movavgperiod = Param("Period",20, 1,200,1);
smoothing = Param("Smoothing",9, 1, 20, 1);
sma1 = MA(P, movavgperiod);
sma2 = MA(sma1,smoothing);
Plot(sma2,"Smoothed MA", ParamColor( "Color", colorCycle
),ParamStyle("Style"));
Dear friends
I want smooth moving average afl with parametre period settings. Pl , help.
Thanks
Throw a dart. Just about any broker will fall head over heels to have you
trade any stock in the S&P500 index. Be sure to investigate commissions for
the size that you trade and service/support issues as these will differ between
brokers. For example, one commission schedule might be attracti
Hi,
if my system is flat I would like to have a stock in the Equity instead of the
linear line that comes from e.g. 2% interest.
Does anyone know how I could tell Amibroker for the case that the system is
flat to take an ETF (e.g. TLT) as the equity?
I need an extension for e.g. this system:
Bu
Is it possible to set up backtester to start calculating the formula at
specified time, say 1530 on the first day?
Backtester seems to always start at midnight.
Thanks
Andy
28 matches
Mail list logo