Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

.Net SDK for Amibroker

2 min read

.NET for AmiBroker is a 3rd party software package that provides full .NET programmability to AmiBroker.

.NET for AmiBroker covers all programmable features of AmiBroker: plug-in interfaces, built-in AFL functions and objects, OLE interface, IBController can be accessed and used from .NET code while using any .NET language.
Indicators, filters, scanners, explorations, custom backtester modules, automated and real time trading systems, optimizer and data source plug-ins, OLE automation programs that drive custom optimization and scanner processes or data loading, etc. can be developed in C#, VB.NET, VC.NET, F#, or any .NET language of choice.

Extend or replace your AFLs with .NET code
AFL plug-in development that once used to challenge even experienced C/C++ developers can now be done in any .NET language very easily and fast. .NET plug-ins can extend or completely replace AFL scripts. Include files can be easily converted to AFL plug-in. Indicators, scanners, explorations, backtester modules, real time trading modules, etc. can be created in pure .NET or in a mix of AFL and .NET. .NET code can simply access all the built-in AFL methods and objects of the backtester interface.

Optimizer and data plug-ins
Optimizer and data source plug-ins can be developed in any .NET language as well. Using these AmiBroker interfaces from .NET for AmiBroker is simpler then the C/C++ interface. They still provide the full functionality of the original interface.

Driving AmiBroker
AmiBroker’s OLE automation interface is also accessible from .NET code. A full blown object model equivalent of the original object model makes it possible to manage AmiBroker database, load custom quote data, to run scanners, explorations, optimizers directly from .NET code.

Real time trading using IBController trading interface
.NET for AmiBroker provides easy integration of AFL indicators, trading logic in object oriented .NET code and AmiBroker Auto-Trading interface for Interactive Brokers. The managed IBController interface and the .NET plug-ins together provide new, easier, more reliable and managable ways to create real time trading systems.

Integrate AmiBroker into your custom trading process
.NET for AmiBroker also simplifies the integration of all kinds of applications into AmiBroker. Using .NET makes the integration of applications with COM interfaces (like Excel, Access, Word, R, SciLab, MatLab, etc.) a simple task.
There are also limitless integration possibilities using the .NET Class Library. E.g.: .NET plug-ins can send custom email, send SMS, call a web service, access files, communicate with an external trade management system through the network or even receive event from an external system.

Speed up development using .NET classes and step by step debugging
.NET for AmiBroker vastly reduces the development time and saves you a lot of time. Step by step debugging helps to debug and fix bugs. The design goal was to make .NET for AmiBroker easy to use and still efficient. .NET plug-ins require no plumbing code like C/C++ plug-ins do. Developers can write .NET code as fast as writing AFL code or convert their AFL code almost line by line to C#. VB and VB script developers can write .NET plug-ins simply in VB.NET.

Download .NET for AmiBroker (x86), 5.30.7

System requirements:
Windows XP / Vista / 7 (32 bit or 64 bit)
AmiBroker 5.3x (32 bit only)
.NET Framework 3.5 SP1 (.NET Framework 4.0 is optional)
.NET development tools:
Visual Studio 2008 or Visual Studio 2010 for .NET for AmiBroker – Developer Edition.
Visual Studio 2008 Express or Visual Studio 2010 Express for .NET for AmiBroker – Standard Edition. This setup does not allow step by step plug-in debugging.

.NET for AmiBroker – Developer Edition and .NET for AmiBroker – Standard Edition have a 30 days trial period.

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

AllinOneAlerts – Amibroker Alerts Module for Amibroker Users

AllinOneAlerts is one of the most important and most requested modules to bring all sorts of alerts with no extra coding efforts. Now even...
Rajandran R
5 min read

How to improve your Amibroker Algo Trading Execution Speed

When comes to Automated Trading speed of execution plays a dominant role in executing at better prices. Here I would like to list three...
Rajandran R
1 min read

Introduction to QuantZilla 2.0

QuantZilla is a 75+ hours of immersive coding mentor-ship program on designing trading systems, converting trading ideas into indicators and trading strategies, automating the...
Rajandran R
4 min read

18 Replies to “.Net SDK for Amibroker”

  1. hi,
    i want to create application, using this application i want to get alerts from amibroker.
    Like sending buy order
    also tell me how to add COM object and how to use the COM objects.

    Please give me needful answer.

  2. hi sir,

    i’ve created dll plugin using .netforab dev edition.how to call plugin in amibroker. i tried many times but i cant. and how to write script for call the dll in amibroker. i expect your reply.

    thanks in advance.

  3. Sir,
    I have AmiBroker installed on my PC.
    I have some strategies to feed in to it.
    Could you please guide me who can feed
    these strategies in to my AmiBroker.
    I would be highly obliged if you could guide
    me on the same.
    Thank you in advance

  4. Hi Sir,

    I want to use moving average function using c#.net sdk but i want to know how i set the value of Close, High etc. variables in sdk. because of this it gives me error: “Object reference not set to an instance of an object.”

    Please give me solution for this.

  5. hi i have created one indictaor and now how can can i keep the login credential for that indicator . i am expert in php but not in .net or pllease let me know some use full information how can i do this

  6. i have built dll plugin using dot net for amibroker. but not able to backtest it. any solution or guidance, pls reply asap

  7. Hi sir.. I would like to know the conversion of amibroker afl file into dll??.. Please help me out ASAP.

    1. Lakshman , i have converted afl into dll using c#.net and also i have built licence manager to protect your dll , if you want to convert then u can contact me on my email id – [email protected]

  8. what is the syntax for alertif function in c# 3.0 version. I am getting syntax error.
    AFTools.AlertIf(cond,” “,”str”,0,1,1); saying best overloaded method has some invalid arguments. plz help me.

  9. I want to learn codes to lock afl to dll along with licence manager ???

    Any abody pl help me ???

  10. I have done ranking for stock, now want to automatically change the ticker to get signal from top ranked symbols.
    how to automatically change ticker (not by setforiegn(ticker) – it generates signals to orignal ticker only).

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More