Page 7 of 8

Amibroker

PostPosted: Tue Dec 13, 2011 9:40 am
by vpukken
This thread is dedicated to Amibroker lovers. Please contribute what ever you can. Thanks.

Re: Amibroker

PostPosted: Tue Mar 20, 2012 8:55 am
by vpukken
Joe I hope some expert will help you on this.

Re: Amibroker

PostPosted: Tue Mar 20, 2012 10:00 am
by abhijit78
I have amiborker 5.2 but i dont know how to add Nifty in it can anyone help me out?

Re: Amibroker

PostPosted: Fri Apr 20, 2012 6:10 pm
by vpukken
Trend Blaster system.

Re: Amibroker

PostPosted: Sun Apr 22, 2012 2:18 pm
by manish midha
Code: Select all
_SECTION_BEGIN( "Hurst Bands" );
// See http://www.stockmaniacs.net
SetChartBkColor(ParamColor("BackGround Color", ColorRGB( 234,234,234 )));
CY1 =  Param("Short Cycle Length?" ,10, 1 ,1000 ,1 )/2;
CY2 =  Param("Medium Cycle Length?" ,80, 1 ,1000 ,1 )/2;
M1 =  Param("Short Cycle Multiplyer?" ,1, 0.01 ,10 ,1 );
M2 =  Param("Medium Cycle Multiplyer?" ,3, 0.01 ,10 ,1 );
T1 =  Ref(MA(Close ,CY1 ),CY1/2)+ M1*ATR(CY1 );
B1 =  Ref(MA( Close ,CY1 ),CY1/2)- M1*ATR(CY1 );
T2 =  Ref(MA(Close ,CY2 ),CY2/2)+ M2*ATR(CY2 );
B2 =  Ref(MA( Close ,CY2 ),CY2/2)- M2*ATR(CY2 );

Plot(T1, "", colorLime);
Plot(B1, "", colorLime);
Plot(T2, "", colorRed);
Plot(B2, "", colorRed);

GraphXSpace = 5;

SetChartOptions( 0, chartShowDates | chartShowArrows | chartLogarithmic | chartWrapTitle );
_N( Title = StrFormat( "{{NAME}} - " + " {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " + WriteVal( V, 1.0 ) + " {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
if ( ParamToggle( "Tooltip shows", "All Values|Only Prices" ) )
{
    ToolTip = StrFormat( "Open: %g\nHigh:  %g\nLow:   %g\nClose:  %g (%.1f%%)\nVolume: " + NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 ) ) );
}
_SECTION_END();[code][/code]

Re: Amibroker

PostPosted: Sun Apr 22, 2012 2:20 pm
by manish midha
'hurst bands" like that formula of gravity by paul sir.

Re: Amibroker

PostPosted: Mon May 21, 2012 6:35 pm
by vpukken
Here is the latest version of Amibroker
that is version 5.5
with cure.

http://www.4shared.com/rar/DgurkKwW/ami ... _full.html

PS: I am not a fan of Amibroker. Just picked from the net.

Re: Amibroker

PostPosted: Sat May 26, 2012 12:52 am
by manish midha
Code: Select all
_SECTION_BEGIN

("CCI + DPO + MACD");
// Written by Barry Scarborough 2/15/05

// Updated 8/10/05 - corrected DPO formula

//

// This Signal was discussed on the VV forum. I am not sure who developed it.

// It combines the three indicators, MACD, DPO AND Trix into one timing Signal.

// A Signal will only occur when all three conditions exist.

// The two timing signals are buy/cover and short/sell signal. The purpose is to keep the user in the market all the time.

// macd

// Param allows changing parameters without changing the code, the default are the standard defaults for MACD

r1 =

Param( "MACD Fast avg", 12, 2, 200, 1 );
r2 =

Param( "MACD Slow avg", 26, 2, 200, 1 );
r3 =

Param( "MACD Signal avg", 9, 2, 200, 1 );
upMacd =

IIf(MACD(r1,r2) > Signal(r1,r2,r3), 1, 0); // up and down signal
// dpo - detrended price oscillator

n =

Param("DPO period", 14, 2, 100, 1);
p =

int( ( n / 2) + 1);
movA =

MA(C, n);
dpo = C -

Ref(movA, -p);
upDpo = dpo >

0;
dnDpo = dpo <

0;
// CCI

periods =

Param("CCI period", 20, 2, 100, 1 ); // default is 10
myCCI =

CCI( periods );
// signal conditions

myBuy = upDpo AND upMacd AND myCCI >

0;
myShort = dnDpo AND !upMacd AND myCCI <

0;
Buy

= Cover =
ExRem(myBuy, myShort); // this removes additional signals between the first buy up to the short signal

Short

= Sell = ExRem(myShort, myBuy);
Plot

( Buy * C, "CCI(" + NumToStr(periods,1.0) + ") DPO(" + NumToStr(n,1.0) + ") MACD(" + NumToStr(r1,1.0) + "," + NumToStr(r2,1.0) + "," + NumToStr(r3,1.0) + ") - myBuy ", colorGreen); // a positive spike that indicates a buy or cover trade.
Plot

( -Short * C , "myShort ", colorRed); // a negative signal that indicates a short or sell signal
// explore varables

Filter

= Buy OR Short;
AddColumn

(Close, "Close", 1.2);
AddColumn

(Buy, "Buy/Cover", 1.0);
AddColumn

(Short, "Sell/Short",1.0);
_SECTION_END

();
_SECTION_BEGIN

("Price");
SetChartOptions

(0,chartShowArrows|chartShowDates);
_N

(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot

( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END

();
_SECTION_BEGIN

("Background Color");
BKswitch =

ParamToggle("Background Color","On,Off");
OUTcolor =

ParamColor("Outer Panel Color",colorLightBlue);
INUPcolor =

ParamColor("Inner Panel Upper",colorLightYellow);
INDNcolor =

ParamColor("Inner Panel Lower",colorSeaGreen);
TitleColor =

ParamColor("Title Color ",ColorRGB(245,245,245));
if

(NOT BKswitch)
{

SetChartBkColor

(OUTcolor); // color of outer border
SetChartBkGradientFill

(INUPcolor,INDNcolor,TitleColor); // color of inner panel
}

_SECTION_END

();
//=====================================================================

//background stock name (works only on Amibroker version 5.00 onwards.

//=====================================================================

_SECTION_BEGIN

("Name");
GfxSetOverlayMode

(1);
GfxSelectFont

("Tahoma", Status("pxheight")/8 );
GfxSetTextAlign

( 6 );// center alignment
GfxSetTextColor

( ColorHSB( 120, 240, 180 ) );
GfxSetBkMode

(0); // transparent
GfxTextOut

( Name(), Status("pxwidth")/2, Status("pxheight")/12 );
GfxSelectFont

("Tahoma", Status("pxheight")/18 );
GfxTextOut

( IndustryID(1), Status("pxwidth")/2, Status("pxheight")/4 );
GfxSelectFont

("Tahoma", Status("pxheight")/18 );
GfxSelectFont

("Tahoma", Status("pxheight")/36 );
GfxTextOut

( "www.MutualFundSystem.com", Status("pxwidth")/2, Status("pxheight")/3 );
_SECTION_END

();
 

_SECTION_BEGIN

("Graphics");
GrpPrm=

Param("Graphic Space",2,-5,10);
GraphXSpace

=GrpPrm;
_SECTION_END

();
//======================================================================================

Re: Amibroker

PostPosted: Sat May 26, 2012 12:54 am
by manish midha
one more afl,go to parameters>price>style>own scale for optimum visibility. somu da please bear with me :)

Re: Amibroker

PostPosted: Sat May 26, 2012 9:47 am
by nilopra
have you this indicator in MT4 terminal. kindly post it here.

Re: Amibroker

PostPosted: Sat May 26, 2012 10:02 am
by vpukken
Nilo/Manish: What does this do. Explain, may be I can find an indicator in MT4 :)

Re: Amibroker

PostPosted: Sat May 26, 2012 5:35 pm
by nilopra
see the image, green spike buy signal, red spike sell signal.

Image

Re: Amibroker

PostPosted: Sat May 26, 2012 11:58 pm
by vpukken
That is cycle indicator. I have few. Let me search my HD.

Re: Amibroker

PostPosted: Sun May 27, 2012 12:24 am
by vpukken
These are the latest in cycle indicator. You are the judge :lol:

Re: Amibroker

PostPosted: Sat Jun 02, 2012 2:05 pm
by vpukken
Here's something called Odin Feeder – Realtime Datafeed

http://www.marketcalls.in/amibroker/odi ... rader.html

Here's the configuration file already done for you. Just unzip it and put it into new data folder that you made for TOS data. Maybe call your new Ami-database "TOS data" and copy this configuration file to it. You can open the file with notepad to see the configuration.

dde.config
http://www.informedtrades.com/attachmen ... =133858553 4


PS: no questions asked. I dnt use ami. Let us know your feed back. :SUNNY:

Re: Amibroker

PostPosted: Sun Jun 10, 2012 11:12 am
by vpukken
The following site is on the techie side, but shows ways to use Amibroker in the Linux and the Macintosh operating systems. This is only for traders with some programming background.

Amibroker for Linux/Mac
http://www.amibroker.org/3rdparty/Amibroker_on_Linux/