Comment on Pi Bridge for Amibroker

ritesh commented on 26 Aug 2016, 12:08 PM

Can anyone please provide a sample afl for use with Pi bridge to scan multiple symbols or a watchlist in Amibroker. When i scan in automatic analysis Pi bridge generates signals but the symbol remains the same only the price of different stocks are updated in Pi. I tried using the following codes, which i read about but when inserted in afl, the afl stopped generating signals.

Symbol = StrFormat(Name()+”-EQ”);//

Qty = ceil(50000/lastvalue(c,1));
Buyprice = Valuewhen(Buy,C);

brd.PlaceOrder (“NSE”, Symbol ,”NIFTY”,”STRATEGYNAME”, 1,Qty,0, Lastvalue(Buyprice,1), 0, “L”, “NRML”,
“DZ1105″,”DAY”);

I am new to coding so anyone with the solution please help me out.

View the full comment thread »