Amibroker,GDFL and NEST setup

Sorry for the naive question, but I’m confused after going through multiple blogs and reading materials on Amibroker and Z-connect.

What I want to achieve?

Applying a simple AFL strategy on AMibroker which generates a buy and sell alert on ZT. I accept the alert and the order gets executed.

What I have

  1. Amibroker 2. ZT with NEST plus activated 3. Subscription from GDFL

How to

  1. I create a blank chart

  2. Drag the GDFL plugin from Charts dialogs to the blank chart

  3. Add the symbol for ex. (ACC-I )

After this I do see the charts and the parameter settings. However, the GDFL plugin in step 2 already shows buy and sell signals. I would like to use mine. Now do I just create a basic AFL code and add it or do I need to integrate the GDFL plugin information also in the AFL code.

Vaibhav, have you seen Zerodha Pi? We have an option called Pi bridge to Ami, probably the most reliable solution out there. You can link this to Ami irrespective of your data provider. Check the last pic in this post. So how this works i

 Enable Ami to fire orders to Pi. We will give you a DLL. 

1. Paste pibridge.net.dll in amibroker installed folder (In my system its C:\Program Files (x86)\AmiBroker)

2. Open "Command Prompt (cmd) " as administrator.

3. Goto C:\Windows\Microsoft.NET\Framework\[Latest Framework] (In my system its C:\Windows\Microsoft.NET\Framework\v4.0.30319)

4. type > regasm [location of pibridge.net.dll] ( regasm "C:\Program Files (x86)\AmiBroker\pibridge.net.dll")

Open Pi. If every thing is right then PiBridge icon at right-bottom will turn green when you open amibroker.

Include something like this in the code: 

PlaceOrder(string pExchnge, string pTrdSymbol, string pSymbol, string pOrderTag, short pOrderSide, int pInitialQty, int pDiscQty, double pLimitPrice, double pTriggerPrice, string pOrderType, string pProdType, string pClientCode, string pValidity)

Example in amibroker

brd=Null;

if(IsNull(brd))

{

  brd = CreateStaticObject("pibridge.Bridge");

  brd.PlaceOrder("nse_fo", "NIFTY14OCTFUT", "NIFTY","STRATEGY", 1, 50, 50, 780000, 0, "L", "NRML", "DN0005","DAY");

}


Generated Alerts

All the orders fired get logged in a generated alerts window, click on it to place an order. 

Now First Currently GFDL Nest Plug in is Using Are Not in ZTRADER ?

Works with Amibroker and no limitation on who you subscribe data from.

Hi Nithin,
I had registered for the Beta. Still waiting for the invite. Last week I paid INR 250 for NEST plus plugin to Zerodha. Do I need to continue with that once I migrate to Pi.

Hi Nithin,
brd=Null;
if(IsNull(brd))
{
brd = CreateStaticObject(“pibridge.Bridge”);
brd.PlaceOrder(“nse_fo”, “NIFTY14OCTFUT”, “NIFTY”,“STRATEGY”, 1, 50, 50, 780000, 0, “L”, “NRML”, “DN0005”,“DAY”);
}
Shouldn’t amibroker directly pick these values based on the signal and symbol. Seems hardcoded.

You will not need the NEST plugin anymore. We are enabling beta for everyone tonight. I will have document on bridge out by this weekend. We will start giving out bridge from next week onwards.

Awesome. Will wait for it.