Hi - REF operates on the entire array like most other AB functions. It
shifts the array by the number of bars you specify. You can plot a couple of
different REF's to see it in action. When you need to use IF with an array,
use IIF instead -
MARY = IIF( Ref( Lowest_ROC_NUM, 0 ) == 9, 10, 0 );
Hi - Try this way
Buy = IIF( C MA( C, 200 ), BullBuyCond, BearBuyCond );
Similar for sell, short, cover.
- Original Message -
From: Paolo pcavat...@gmail.com
To: amibroker@yahoogroups.com
Sent: Thursday, June 24, 2010 2:07 PM
Subject: [amibroker] buy/sell rules for different market
).
Thanks for your suggestion anyway,
Paolo
--- In amibroker@yahoogroups.com, Steve Dugas sjdu...@... wrote:
Hi - Try this way
Buy = IIF( C MA( C, 200 ), BullBuyCond, BearBuyCond );
Similar for sell, short, cover.
- Original Message -
From: Paolo pcavat...@...
To: amibroker
Mike beat me to it...he must live closer to the server... 8 - )
- Original Message -
From: Steve Dugas sjdu...@comcast.net
To: amibroker@yahoogroups.com
Sent: Thursday, June 24, 2010 2:49 PM
Subject: Re: [amibroker] Re: buy/sell rules for different market regimes
You could stack
Hi Ron - Unless something has changed, the Style arg won't take an array, i.e.
style must be the same for all bars. I think a workaround like this using
multiple plot statments would probably work...
Plot( IIF( tXa, yFe50, NULL ), a, colorRed, styleDots );
Plot( IIF( aXt, yFe50, NULL ), a,
oops! 2nd line should say styleLine...forgot to change it when I copied/pasted
the 1st line...
- Original Message -
From: Steve Dugas
To: amibroker@yahoogroups.com
Sent: Saturday, June 19, 2010 9:49 PM
Subject: Re: [amibroker] Help with a Plot(AFL containing IIF AFL's
Hi - How about something like this...
RelPct = YourCalc;
RelPct = Max( Min( RelPct, 50 ), -50 );
- Original Message -
From: jorgen_wallgren jorgen.wallg...@gmail.com
To: amibroker@yahoogroups.com
Sent: Friday, June 11, 2010 10:59 PM
Subject: [amibroker] How Do You Handle Plotting Huge
That was me, I decided to sell off a few holdings... 8 - )
Sorry about that !! 8 - )
Seriously, perhaps program trading kicking off more program trading?
- Original Message -
From: Fred Tonetti
To: amibroker@yahoogroups.com
Sent: Thursday, May 06, 2010 3:16 PM
Hi - I am guessing that your computer is multi-core? AB is not written for
multi-threaded optimization - I have a quad-core, 1 instance of AB uses 25%
of total CPU power so I run 4 instances side-by-side when optimizing to keep
the CPU maxed out. I don't think I have heard of a 6-core machine
Hi - untested but you can try something like this...
emaCross = Cross( EMA1, EMA2 );
cumCross = Cum( emaCross );
thirdCross = emaCross AND ( cumCross % 3 == 0 );
Steve
- Original Message -
From: m.kuschel31 m.kusche...@yahoo.com
To: amibroker@yahoogroups.com
Sent: Friday, February 12,
be very simple. Thank you for your help.
Marius
--- In amibroker@yahoogroups.com, Steve Dugas sjdu...@... wrote:
Hi - What did you have in mind? Fred can correct me if I'm wrong, but I
always imagined it was written for someone who wanted to trade at the
close
but only gets EOD data
Hi - I have seen several user-coded versions of the Zig over the years, I
think there is one or two in the library and probably a couple in previous
posts, you might get lucky with those or at least they could give you some
starting code to tweak.
Steve
- Original Message -
From:
in a backtest procedure as it only determines a required
price for tomorrow. Please correct me if I'm wrong.
Regards,
Marius
--- In amibroker@yahoogroups.com, Ara Kaloustian a...@... wrote:
Thanks Steve
A
- Original Message -
From: Steve Dugas
To: amibroker
Remove the words default=. It is just there for informational purposes.
- Original Message -
From: benjamin.bolsa benjamin.bo...@yahoo.com
To: amibroker@yahoogroups.com
Sent: Monday, February 08, 2010 8:15 AM
Subject: [amibroker] Help with Parameter error
I have one AFL Formula but
Hi - Exhaustive optimizer can crash if the opt has too many steps and it
eventually runs out of memory. Does the crash happen well into the opt?
Steve
- Original Message -
From: James
To: amibroker@yahoogroups.com
Sent: Sunday, January 31, 2010 6:26 PM
Subject: [amibroker]
Hi -I think the big thing with static vars is that they can be shared, i.e.
you can create a var in one chart and save it with StaticVarSet(), then you
can access it from other charts or from AA with a call to StaticVarGet().
Steve
- Original Message -
From: Pmxgs pm...@vizzavi.pt
To:
Hi Richard - Your upcoming plugin sounds great, just wondering if it will be
64-bit? With 64-bit computers and OS's increasingly becoming the norm and
64-bit AmiBroker waiting in the wings, it would be real nice if just one
maintenance-free data provider could provide a 64-bit API/plugin and
From: Steve Dugas sjdu...@comcast.net
To: amibroker@yahoogroups.com
Date: Thu, 14 Jan 2010 11:24:01 -0500
Hi Richard - Your upcoming plugin sounds great, just wondering if it will
be 64-bit? With 64-bit computers and OS's increasingly becoming the norm and
64-bit AmiBroker
BTW, could anyone tell me, when subscribing to Norgate data, how many computers
does their license cover? Thank you!
Steve
- Original Message -
From: Steve Dugas
To: amibroker@yahoogroups.com
Sent: Thursday, January 14, 2010 12:22 PM
Subject: Re: [amibroker] PremiumData
--
From: Steve Dugas sjdu...@comcast.net
To: amibroker@yahoogroups.com
Sent: Thu, January 14, 2010 11:10:45 AM
Subject: Re: [amibroker] PremiumData Question
BTW, could anyone tell me, when subscribing to Norgate data
Hi - You can try this...
StartDate = ParamDate( Start Date, 1/4/2010 );
Plot (IIF( DateNum() StartDate, NULL, ROC(Foreign(^AORD,C)),1), All
Ords, colorWhite,styleThick);
...
Steve
- Original Message -
From: pacific5_au pacific5...@yahoo.com
To: amibroker@yahoogroups.com
Sent:
Oops, put the param in the wrong place, this one looks better...
Plot (IIF( DateNum() StartDate, NULL, ROC(Foreign(^AORD,C),1)), All
Ords, colorWhite,styleThick);
- Original Message -
From: Steve Dugas sjdu...@comcast.net
To: amibroker@yahoogroups.com
Sent: Thursday, January 14, 2010
Hi - I believe it is only the Professional Edition that has MAE / MFE.
Steve
- Original Message -
From: James
To: amibroker@yahoogroups.com
Sent: Sunday, January 03, 2010 1:59 PM
Subject: Re: [amibroker] Average MAE/MFE
I must be overlooking this feature. I just
Hi - You can turn off that range checking by adding this to your code -
SetOption( PriceBoundChacking, False );
Steve
- Original Message -
From: Potato Soup
To: amibroker@yahoogroups.com
Sent: Saturday, December 26, 2009 2:50 AM
Subject: Re: [amibroker] Does anyone do FX
Oops, screwed that up pretty good. Try this one instead -
SetOption( PriceBoundChecking, False );
- Original Message -
From: Steve Dugas
To: amibroker@yahoogroups.com
Sent: Saturday, December 26, 2009 11:44 AM
Subject: Re: [amibroker] Does anyone do FX backtesting?
Hi
Hi - For those interested in signing, here is another petition regarding the
proposed US Traders Tax. It would seem there are those in Congress who have
latched onto this idea as a way to raise revenue for just about anything and
everything, pretty much abandoning the pretense of forcing Wall
Hi - Probably best to look at AA and charting as seperate modules, they do not
see each other. You can save your variables to memory using StaticVarSet()
and retrieve them using StaticVarGet(), then they will be visible to charts and
AA, but better yet is to just write one code that includes
Thanks for posting Jerry. There is also this one, it has been around longer
and has 63,000 signatures so far. I have signed both.
Steve
http://www.rallycongress.com:80/no2tradertax/1536/tell-congres-to-block-trader-tax/
- Original Message -
From: Jerry Gress
Hi - For CAR, the user guide gives the formula used by AB...
AmiBroker is one of the few programs that calculates annual returns correctly
and will give you correct value of 20% as shown in the example above. The
formula that AmiBroker uses for annual return calculation is as follows:
Foreign() will return the entire array, just call it once, assign to a
variable and then reference the variable. Your 2nd call has the correct
format so you can just do this
y = Foreign(, Close); // current price for
x = ref( y, -260 );
- Original Message -
From: Alan
built-in Standard Particle Swarm Optimizer?
- Original Message -
From: Howard B
To: amibroker@yahoogroups.com
Sent: Friday, November 13, 2009 5:32 AM
Subject: Re: [amibroker] Walk Forward Test - How would you...
Hi Dubi --
What is SPSO?
Thanks,
Howard
On
Yep, I suppose it is human nature that when everything is going great, people
just go about their business, mostly posting when they have a question or a
problem. It is nice to see someone posting the good stuff, reminds me why we
are all still here. AB rocks! 8 - )
- Original Message
Same here, I stopped pressing Enter a year or more ago, now I just click on
the param name to close the slider. Also agree is doesn't happen every time
and is tough to pin down why it happens sometimes and not others. I can say
that I only have EOD data so I don't think it is due to streaming
Hi - Probably a dumb question but is PSIG a valid ticker in your DB? I
don't see it in my DB and I believe SetForeign will just return the current
ticker if it can't find the one requested. SetForeign seems to work fine
for me...
Steve
- Original Message -
From: Mike
- Original Message -
From: James
To: amibroker@yahoogroups.com
Sent: Sunday, October 25, 2009 6:52 PM
Subject: [amibroker] help with HighestSince in loop
In the code below, I cannot use an array after HighestSince. Can someone help
explain how can I achieve this
is this selected.
AA.RangeMode = RngMode.RngMode_ALL ' all quotes
AA.LoadFormula(AflFile)
AA.LoadSettings(AbSettings)
AA.Explore() '
Any advice is immensely appreciated.
Gajanan
--- In amibroker@yahoogroups.com, Steve Dugas sjdu...@... wrote:
Hi - I think
Hi - Close, it is Exrem that removes all signals until opposite signal is
generated. Flip, after a True, will continue to return True until it comes
to a True in the 2nd array. I think it is convenient to look at it as Signal
( buy, sell, use Exrem ) vs. State ( in long, in short, use Flip ) In
Hi - Have a look at the Flip() function, once price enters your buy zone it
can return a 1 until it enters your sell zone.
Steve
- Original Message -
From: levibreidenbach lev...@comcast.net
To: amibroker@yahoogroups.com
Sent: Friday, October 16, 2009 4:47 PM
Subject: [amibroker] MA
Hey TJ, we will have to get together in 2050 or so for the big victory party!
Please leave some room in your social calender... 8 - )
Steve
- Original Message -
From: Stan Sztaba
To: holygrai...@yahoogroups.com
Sent: Sunday, October 18, 2009 5:03 PM
Subject: [holygrailsm] Stratfor
Hi - I think this will do it...
Steve
AA.ApplyTo = 1; // 0=all symbols, 1=current symbol, 2=use filter
- Original Message -
From: gajanan gajan...@gmail.com
To: amibroker@yahoogroups.com
Sent: Saturday, October 17, 2009 10:30 PM
Subject: [amibroker] activeX ..how to perform
Hi - Yes it can be quite easy for optimizations to use up all memory and
basically lock up your computer or generate an exception. I found that if I
started using smaller opts and then gradually increased the size until it
locked up I could get a pretty good idea of the upper step limit for
a similar issue... along with a separate issue regarding corrupted
parameter lists (this is an old issue pre 5.29)...
Anyway, I deleted broker.params file from the AB directory.. reloaded AB
and now my symbol window seems to be correct...
--- In amibroker@yahoogroups.com, Steve Dugas sjdu
mean the variable that they are assigned
to...?
TIA
--- In amibroker@yahoogroups.com, Steve Dugas sjdu...@... wrote:
Hi Rob - Years ago I had an issue with params, I would open AB and find
many
of the params kept reverting back to the defaults. That can happen if AB
doesn't save them
Hi Ara - Have you tried retrieving the tickers from the QP database with the
new 5.29 plugin to see if the assignments were still correct? Thanks!
Steve
- Original Message -
From: Ara Kaloustian a...@san.rr.com
To: amibroker@yahoogroups.com
Sent: Sunday, October 11, 2009 4:44 PM
Same here, things are messed up. I download mutual funds also, half the mutual
funds are listed under ETF's. Most all the ETF's and common stocks are listed
under Undefined. Something changed, either on the AB side or the QP side. I had
switched over to Gary's plugin that retrieves the
be corrupted or
something...thanks!
Steve
- Original Message -
From: Steve Dugas
To: amibroker@yahoogroups.com
Sent: Saturday, October 10, 2009 1:37 PM
Subject: Re: [amibroker] AB vers. 5.29
Same here, things are messed up. I download mutual funds also, half the
mutual funds
] On
Behalf Of Steve Dugas
Sent: Sunday, 11 October 2009 6:51 a.m.
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] AB vers. 5.29
Ara, one question if you don't mid - When you click on the Symbols tab,
does your symbol tree come up with all tickers or do you have to click Refresh
Hi - This should sell on 14th or following market day...
Sell = Day() = 14 AND Month() == 2;
Sell = Sell AND NOT ref( Sell, -1 );
Steve
- Original Message -
From: miloslavhebky miloslavhe...@yahoo.com
To: amibroker@yahoogroups.com
Sent: Tuesday, October 06, 2009 6:15 AM
Subject:
Hi - If you want to step through the array bar-by-bar, you should be using
subscripts inside the loop that refer to the bar, e.g.
MCAD[i]
But unless you need the loop for something else, I think you could just
remove the looping code at the top and use your regular array-based AFL to
do what
Hi - I had a problem recently that in the symbol tree all markets, groups, etc
were suddenly empty. Not sure when it started, I think either with addition of
GICS support or when TJ recently updated the QP plugin and I had to revert from
Gary's plugin back to TJ's. Anyway, I went to Symbol
: Steve Dugas
To: amibroker@yahoogroups.com
Sent: Wednesday, October 07, 2009 1:32 PM
Subject: Re: [amibroker] AB vers 5.29 - Sectors
Hi - I had a problem recently that in the symbol tree all markets, groups,
etc were suddenly empty. Not sure when it started, I think either
:50 PM
Subject: Re: [amibroker] AB vers 5.29 - Sectors
I deleted the second Utilities label, but the tree structure is still
there with the + box.
- Original Message -
From: Steve Dugas
To: amibroker@yahoogroups.com
Sent: Wednesday, October 07, 2009 10:32
Interval() function
- Original Message -
From: Keith McCombs kmcco...@engineer.com
To: amibroker@yahoogroups.com
Sent: Wednesday, September 30, 2009 12:02 AM
Subject: [amibroker] Getting Periodicity programmatically?
Is there any way to programmatically determine the periodicity of a
Hi - Since you want to create a new ticker you could put your 5 starting
tickers into a watchlist and then run AddToComposite() function over the
list. You can read about AddToComposite by using Search tab in the user
guide and also I think there is a very good tutorial by Herman in the files
Hi - I think you have run into the old recursive problem. In the first
line...
theHi[0] = C[0];
you set only the first bar of the Hi to the close. Don't know what the rest
of the array is offhand, AB may initialize it to zero or null or something,
otherwise I would think the values are
a lot or does Ami only go back far enough to load
the indicators correctly? I remember seeing something like that.
Thanks Steve,
Barry
--- In amibroker@yahoogroups.com, Steve Dugas sjdu...@... wrote:
Hi - I think you have run into the old recursive problem. In the first
line...
theHi[0
Hi - Data retrieved via Foreign() is synchronized to the data of the current
ticker, i.e. dates/times are aligned, so probably your data for DCO and ATN
ends a little sooner than the others? Try plotting basic price chart and
then changing the current ticker to see if those tickers have one
Hi - You can shift the arrays to the left by using Ref with a positive number...
CPctOne = ref( CPct0, 1 );
CPctTen = ref( CPct0, 10 );
PlotShapes( IIF( CPctOne...
PlotShapes( IIF( CPctTen...
Steve
- Original Message -
From: Vinay Gakkhar.
To: Amibroker
Sent: Saturday, August
*[Attachment(s) from Steve Dugas included below]
Hi Vinay - Your code seems to work fine on my computer...is this what it is
supposed to look like?
Steve
- Original Message -
From: Vinay Gakkhar. vgakk...@yahoo.co.uk
To: amibroker@yahoogroups.com
Sent: Saturday, August 29, 2009 9:24
Hi - you can use NumToStr() function for title formatting...
Title= Pctval = + EncodeColor(SelectedValue(dyn_col)) + NumToStr(
pctval, 1.2 ) + %;
Steve
- Original Message -
From: doedau don.edwa...@doir.wa.gov.au
To: amibroker@yahoogroups.com
Sent: Wednesday, August 05, 2009 2:38
Hi TJ - Re the new QP plugin, I think you are aware that Gary has added
Morningstar industry classification ( tickers !HMxxx ) and that your old
plugin would not retrieve these tickers from QP for some reason and that
Gary has released a modified version of your plugin that will retrieve these
SetForeign(MSFT);
Replaces the price arrays ( OHLC etc ) of the current ticker with those of
MSFT
Plot( Ultimate(), Ultimate from MSFT, colorRed );
Plots the Ultimate Oscillator derived from MSFT prices. That's just a simple
example, there is lots of stuff you can do, for example you could
Hi - Go to www.blueowlpress.com , click on activities, scroll about 3/4 of
the way down, see 2 presentations, Atlanta and Irvine.
Steve
- Original Message -
From: Paolo Cavatore pcavat...@gmail.com
To: amibroker@yahoogroups.com
Sent: Thursday, July 23, 2009 4:24 AM
Subject: [amibroker]
Hi - In case you might find it useful, I often use a little piece of code
like this to lock in charts for different tickers...
Steve
Ticker = ParamStr( Ticker, CURRENT );
if ( Ticker != CURRENT )
{
SetForeign( Ticker, True, True );
TickerName = Ticker;
}
else
TickerName =
of the operations
in AB that requires a heavier overhead.
2. difficult to use this method when you have he same piece of code (insert
linked) on 8 charts all looking at different symbols...
--- In amibroker@yahoogroups.com, Steve Dugas sjdu...@... wrote:
Hi - In case you might find it useful, I often use
Hi - There is currently no TDAM plugin and as far as I know TJ is not
writing one. If you are a programmer, perhaps you could use their API docs
to write one, or the easier approach would be to turn on QT's internal
server, feed TDAM data into QT, and then follow the directions in AB's user
Hi - Please see my earlier post that I just sent a minute ago.
Steve
- Original Message -
From: livinloud_1104 kapishmoh...@yahoo.com
To: amibroker@yahoogroups.com
Sent: Sunday, July 05, 2009 12:22 PM
Subject: [amibroker] Auto trading with TD AMERITRADE
Hello,
I am looking for an
Hi TJ - Don't know how you or the others feel about it, but if you are
interested, here are some instructions I saw that allows a group owner to
change their preferences so that full attachments are sent out again instead of
only links to them. I always liked receiving the full attachments. 8
Hi - If I remember right, I *think* it will only show up if you already have
QP installed when you install AmiBroker. Also FYI, Gary at QP has updated
TJ's plugin to give you a choice of either their old IRL sector / industry
assignments or thier new Morningstar structure. In fact I beleive
I find this little utility almost indispensible when tweaking different
versions of my AFL's, and it's free to boot!
http://download.cnet.com/Files-Compare-Tool/3000-2248_4-10315688.html
- Original Message -
From: James
To: amibroker@yahoogroups.com
Sent: Wednesday, June 17,
How to code a Adaptive StDev()Hi Herman - Not sure how fast it would be but
possibly something along these lines?
function xStDev( priceArray, Periods) // Periods 25
{
global BBTop, BBBot;
Periods = Max( 2, Min( 25, Periods ) );
BreakPoint = Min( 25, Highest( Periods ));
++ )
{
VarSet( SD + i, StDev( PriceArray, i );
}
AdaptSD = 0;
for( i = 2; i = BreakPoint; i++ )
{
CurrSD = VarGet( SD + i );
AdaptSD = IIF( Periods == i, CurrSD, AdaptSD );
}
return AdaptSD;
}
- Original Message -
From: Steve Dugas
to code a Adaptive StDev()
Steve,
I did not realize that I could append a number to a string in AFL without
converting it first with NumToStr( i, 0.0).
It looks like I have been missing a big shortcut all this time.
BR,
Dennis
On Jun 13, 2009, at 1:26 PM, Steve Dugas wrote
Hi Howard - between QP and Norgate, just wondering if you ever followed up on
the differences in data and if you found one to be noticably cleaner than the
other? Thanks very much!
Steve
- Original Message -
From: Howard B
To: amibroker@yahoogroups.com
Sent: Saturday, June
Hi TJ / All - I just was wondering if you think it might be possible /
desirable someday to make the backtester / optimizer work like the charting
currently works, i.e. instead of PICK one code to work with, we could ADD a
code and then ADD one or more additional codes, and they would be kept
Hi - There is a page in the users guide that lists which functions will
accept an array for the Periods arg, the rest expect a constant...
http://www.amibroker.com/guide/a_varperiods.html
Steve
- Original Message -
From: brian_z111 brian_z...@yahoo.com
To: amibroker@yahoogroups.com
Hi - it uses the Zig function to determine the peaks, so change is the %
change needed for a new legs of the zig zag. See Zig function for more
details.
Steve
- Original Message -
From: lucianomt lucian...@gmail.com
To: amibroker@yahoogroups.com
Sent: Tuesday, June 02, 2009 4:16 PM
I believe that TJ initializes his ParamField variable to -1, which is the first
plot on the chart, and that name is added at the bottom of the param list. Try
editing the default name of the original price plot to TEST to see what I
mean.
Steve
- Original Message -
From: Tony
I would think you could associate your dates to BarIndex() and increment that
by 100, something like...
BegISbar = Valuewhen( DateNum() == BegISdate, BarIndex() );
EndISbar = Valuewhen( DateNum() == EndISdate, BarIndex() );
...
for (FromISbarNum = BegISbar; FromISbarNum = EndISbar;
A couple of things I have been wanting for years that have not made it into
AB yet -
1. Ability to use the Equity() line as feedback when trading NDO. The value
of the current bar's equity changes when new data is downloaded and it
becomes the next-to-last bar, causing signals to disappear or
';'
Microsoft Jscript compilation error. Is there something Im doing wrong?
--- On Wed, 4/22/09, Steve Dugas sjdu...@comcast.net wrote:
From: Steve Dugas sjdu...@comcast.net
Subject: Re: [amibroker] individual optimization
To: amibroker@yahoogroups.com
Hi - You can try these, there are some directions at the top of the codes. You
need to rename the .jsabc file back to .js ( jscript ). Only problem is you
can't sort by ticker, you can see where I tried to add a sortable column via
CBT for just the ticker but couldn't get it to work at the
Hi Ara - If you mean one of those apps that automatically tells you whenever a
newer version of your software/drivers is available, I tried a couple of those
over the years. Both times I eventually screwed up my computer by installing a
newer driver that they found and recommended. My attitude
Done.
- Original Message -
From: ang_60 ima_c...@yahoo.it
To: amibroker@yahoogroups.com
Sent: Monday, March 30, 2009 5:39 AM
Subject: [amibroker] Re: Discretionary Equity
--- In amibroker@yahoogroups.com, Steve Dugas sjdu...@... wrote:
Hi - I was playing with TJ's discretionary
Thank you Blair!
Steve
- Original Message -
From: Blair snoopy.p...@gmail.com
To: amibroker@yahoogroups.com
Sent: Monday, March 30, 2009 4:26 PM
Subject: [amibroker] Re: Discretionary Equity
-Steve et All:
For your variables, you might want to check out the UKB article 2.13
First it finds the HHV(C,126). Presumably that will be a positive number
( i.e., TRUE ) on every bar, including the current bar, so BarsSince reports
0 bars since it was last true. Plotting the arrays can show you step-by-step
how it arrives there...
Steve D
- Original Message -
regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: Steve Dugas sjdu...@comcast.net
To: amibroker@yahoogroups.com
Sent: Thursday, March 26, 2009 4:53 PM
Subject: Re: [amibroker] Re: Performance of anti virus programs
Hi - FWIW, the latest Norton product has been seriously
Hi - I don't believe SetForeign resizes the arrays, I think it just
overwrites the contents. I ran into that in the past, I think what I did
was to set the current ticker to an index or something with a very long
history and then search for the first non-null value. Might want to do a
quick
, March 21, 2009 8:52 PM
Subject: Re: [amibroker] Discretionary Equity
Very Nice Steve, thank you for the improvements, very nice. I use
Discretionary Equity every day, will give it a try Monday (the next trading
day).
Jon
--- On Sat, 3/21/09, Steve Dugas sjdu
Subject: Re: [amibroker] Discretionary Equity
Very Nice Steve, thank you for the improvements, very nice. I use
Discretionary Equity every day, will give it a try Monday (the next trading
day).
Jon
--- On Sat, 3/21/09, Steve Dugas sjdu...@comcast.net wrote
Hi - I was playing with TJ's discretionary equity code from a few years ago and
made some changes, just thought I would post in case anyone might find it
useful. Your discretionary trades will be lost when you shut down AB but I am
having fun with it so may figure out how to write the trades to
Hi TJ - Haven't had a chance to try the new column features yet but just wanted
to say thank you, it looks like a great solution that you implemented !!
BTW ( for anyone who might know ), is there going to be an AB conference this
year? I thought it was usually in Feb but Feb is gone now and
GetDatabaseName()
- Original Message -
From: sidhartha70 sidharth...@yahoo.com
To: amibroker@yahoogroups.com
Sent: Monday, March 02, 2009 4:43 PM
Subject: [amibroker] Retrieving DB name via AFL
Hi All,
Is there a way of returning the current DB name via AFL...?
TIA
Hi - That is an idea, let me look at it over the long weekend, maybe I can add
it.
Steve
- Original Message -
From: Snoopy
To: amibroker@yahoogroups.com
Sent: Thursday, February 12, 2009 9:44 PM
Subject: Re: [amibroker] Creating a Year over Year comparison screen
Steve,
Seasonality there to set
Attached is the chart I end up on the third overlay along with the Parameters
box and the updated afl too
Thank you for your help
MarkK
From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf
Of Steve Dugas
to it
Thank you
Mark
From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf
Of Steve Dugas
Sent: Wednesday, February 11, 2009 2:36 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] Re: Creating a Year over Year comparison screen
@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf
Of Steve Dugas
Sent: Wednesday, February 11, 2009 3:47 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] Re: Creating a Year over Year comparison screen
Hi Mark - I just looked at the code you posted, looks like it has some
Hi - I was really worried about this stuff a few months ago when the whole
world started collapsing and did a bit of research. I ended up distributing my
funds better, I have it divided between 4 brokers now, a real PITA for trading
but at least only 25% of the funds are at risk with any one
Hi - I didn't try to reproduce your results, but perhaps if you added 3
seperate columns - Year(), Month() and Day(), then you could use the Shift
key to do a multi-coilumn sort?
Steve
- Original Message -
From: gmorlosky gmorlo...@yahoo.com
To: amibroker@yahoogroups.com
Sent:
Hi - from the users guide...
bool AddCustomMetric( string Title, variant Value, [optional] variant
LongOnlyValue, [optional] variant ShortOnlyValue , [optional] variant
DecPlaces = 2 )
...code would look something like this, last zero means no decimal places...
bo.AddCustomMetric( MF,
1 - 100 of 433 matches
Mail list logo