Posts

Showing posts from April, 2016

How to get Free Intraday one minute data of all segments from Zerodha Pi

Image
FREE

How to get Free Intraday one minute data of all segments from Zerodha Pi

How to Connect Zerodha Pi with Amibroker with Pi Bridge very Easily.

Image
Check

The below Amibroker AFL  of Sample trading system with Pi bridge for Zerodha Pi Order Firing



_SECTION_BEGIN("Chart Settings");
SetChartOptions(0,chartShowArrows|chartShowDates);
SetChartBkColor(colorBlack);
SetChartBkGradientFill( colorBlack,colorBlack);
GfxSelectFont( "Cambria", 11, 400, False );
GfxSetTextColor( colorYellow );
GfxSetBkMode(0);
ChartStyle = ParamList("Select Chart Style","Candle|Line|Dot",0);
Plot( C, "Close", colorDefault, IIf(ChartStyle=="Candle",styleCandle,IIf(ChartStyle=="Line",styleLine,IIf(ChartStyle=="Dot",styleDots|styleNoLine,styleCandle))) );
pxw = Status("pxwidth");
pxh = Status("pxheight");
_SECTION_END();

_SECTION_BEGIN("Basic Variables");
Buy=Sell=Short=Cover=0;
BuySLP=ShortSLP=0;
BuyP=SellP=ShortP=CoverP=0;
BuyTgtP=ShortTgtP=0;
BarB = BeginValue(BarIndex());
BarE = EndValue(BarIndex());
BarC = BarIndex();
BarL = LastValue(BarC,1);
BarT = BarIndex() - Nz(V…