Australian (ASX) Stock Market Forum

Amibroker FAQ

anyone know if there is a way to plot indicators in this 'blank space'

as [barcount+1] i dont believe works.

I have some code that I stole that works, but the computer it's on is packed in a container. :(

But it is possible.
 
anyone know if there is a way to plot indicators in this 'blank space'

as [barcount+1] i dont believe works.

Here ya go.

SYNTAX Plot( array, name, color/barcolor, style = styleLine, minvalue = {empty}, maxvalue = {empty}, XShift = 0 )
RETURNS NUMBER
FUNCTION Plots the graph using array data. Parameters:
array - data array to be plotted
name - defines graph name used for displaying values in a title bar.
color - defines plot color that could be static (if third argument is a number) or dynamic (when third argument is an array). Color indexes are related to the current palette (see Preferences/Color)
style is a combination of one or more of following values:

XShift - allows to visually shift the chart past the last bar.
EXAMPLE // Example 20-bar Moving average shifted 10 bars into the future past the last bar:
Plot(Close,"Close",colorBlack,styleCandle);
Plot(MA(Close,20), "Shifted MA", colorRed, styleLine, Null, Null, 10 );
// Note that shift occurs during plotting AND does NOT affect source array
 
Here ya go.

SYNTAX Plot( array, name, color/barcolor, style = styleLine, minvalue = {empty}, maxvalue = {empty}, XShift = 0 )
RETURNS NUMBER
FUNCTION Plots the graph using array data. Parameters:
array - data array to be plotted
name - defines graph name used for displaying values in a title bar.
color - defines plot color that could be static (if third argument is a number) or dynamic (when third argument is an array). Color indexes are related to the current palette (see Preferences/Color)
style is a combination of one or more of following values:

XShift - allows to visually shift the chart past the last bar.
EXAMPLE // Example 20-bar Moving average shifted 10 bars into the future past the last bar:
Plot(Close,"Close",colorBlack,styleCandle);
Plot(MA(Close,20), "Shifted MA", colorRed, styleLine, Null, Null, 10 );
// Note that shift occurs during plotting AND does NOT affect source array

ahh, xshift, ofcourse.

cheers wayne.
 
I feel more comfortable with mechanical trading

Can one incorporate - Risk & Money Management in AmiBroker
I want to set stop losses, set trade sizes, and manage risk exposure
Which one is best as I have been reading about JBL Risk Manager in the shop section

Which one works best with AmiBroker

I am still researching all my options before I commit
Thanks in advance
KK
 
So I've finally decided to start using my copy of Amibroker, only problem so far is the data is not accurate. I assume it's the database settings and backfill, since the 1m is showing up accurately. Any suggestions?
 
Anyone have any advice on backtesting? What difference can I expect between backtested trades and real-time trades, e.g. slippage? Is there anything in the reports that I should pay particular attention to? Am I getting perfect fills during fast moves in the backtest?
 
Hi Mr. J --

There are some good threads in ASF discussing backtesting, optimization, and trading system validation. Search on my name, howardbandy, to find my comments.

The bottom line, in my opinion, is that backtesting is not sufficient. Backtest results will always be good, but are not of value in estimating future performance. What is valuable in estimating future performance is a good baseline that was obtained from out-of-sample testing.

Thanks,
Howard
 
Thanks Howard, I'll take a look. I have experience properly testing sportsbetting systems, so I'm more interested in flaws that amibroker backtesting may have and certain stats to look for, rather than how to test a system.
 
By that I mean the difference (if any) between amibroker backtesting over a sample and if the sample had been traded live. As an example, perhaps the amibroker backtest gives me a fill I might not have been able to get in live trading.
 
Hi Mr. J --

That is always a possibility. But it is independent of the trading system platform being used.

If the data you are using to backtest is identical to the realtime data, then the signals will be identical. If there are differences between the data series, then there could be, and probably would be, differences between the backtest signals and trading results and the realtime signals and trading results.

Even given perfect data, there may not have been enough volume at a given price to assure your fill. Say you want to buy 1000 shares at 15.00 limit day order. You see that the high for the day is 15.00. The fact that there was a trade at 15.00 does not guarantee that your order would have been filled. You can check the volume on intra-day 1 minute bars to get some idea of how often you will not get filled. You can do this in AmiBroker with an AmiBroker program -- you do not need to look at each 1 minute bar manually.

Thanks,
Howard
 
Hi,

I have just waded through this thread because I am interested in buying a copy of Amibroker. I already have Metastock/Tradesim and only trade end of day. My coding is at basic level and I either need to get Jose Silva's text book for Metastock and persevere or change to Amibroker now and just learn AFL.

I read in this thread about one fellow who was trying to export an Ami trade database into Tradesim. I didn't think that you would need Tradesim if you had Amibroker. Am I wrong about that?

Is Amibroker any better than Metastock/Tradesim for back testing (assuming you put the time in to learn to code in AFL)? Is it better for charting than Metastock?

I use dataHQ for my Metastock data. Can I just get Amibroker to look at those folders or would I need to change providers?

Any advice would be much appreciated.:confused:
 
Hi all you experienced Amibroker users,

After being pointed in this direction by other helpful members of the forum as Amibroker being the most customisable software package, I waded my way through this thread and the Amibroker website and have a couple of specific questions.

I notice on the website that a number of classic indicators are included, but they mention "ROC, RSI, MACD, OBV, CCI, MFI, NVI, Stochastics, Ultimate oscillator, DMI, ADX, Parabolic SAR, TRIN, Advance/Decline line, Accumulation/Distribution, TRIX, Chaikin oscillator and many more)"

1) Is there a complete list somewhere? Trying to code any of the fractals could be a major pain in the @rse.

2) The software is limited by the datastream that is entered into it. If I have values that are not part of the datastream from the data provider, (IE I've calculated them from a different program, such as a forecasting model in excel) can I incorporate these data points into the software or do the calculations need to all be done using the AFL language?

Cheers

Sir O
 
Are you looking for a specific indicator?

Anyone trading from the chart in Amibroker? I've seen a couple of people offering code, one here and another called "Tipster Trendlines". I was wondering if anyone is using another?
 
Just a quick one ppl,

Can any one tell me if Ichimoku Kinko Hyo is available as a stand alone indicator in Ambibroker or do I have to code it in? Is there a complete list of indicators available out there?

Cheers,
 
Top