There are two the right way to create your individual amibroker afl:
1) the usage of drag-and-drop interface
2) by way of writing your individual components
First means, the use of drag-and-drop interface may be very easy and does now not require writing single line of code. To show a brand new indicator in a separate chart pane simply to find the indicator within the Charts record (use Window -> Charts menu) and double-click on on the indicator identify.
On the other hand that you would be able to make a selection Insert from the context menu. In consequence new indicator pane might be created and Parameters dialog might be displayed. Right here that you may swap the residences of the indicator (like colour or classes). To simply accept the settings press OK button. (you’re going to in finding the exact description of parameters window beneath).
To overlay one indicator on every other one, press LEFT mouse button on the indicator title, drag (with mouse button held) the chosen indicator into the vacation spot pane and free up the button.
To insert every other RSI (primarily based completely different sessions quantity) into the identical pane – drag RSI into the in the past created RSI pane, switch the collection of classes within the Parameters window and press OK. However that you may make a choice Overlay choice from context menu.
To insert RSI pane – in finding RSI indicator within the record, double-click on on the identify, make a choice the selection of classes and colour, then press OK.
2nd means includes writing a hallmark components in versatile AFL (AmiBroker Formulation Language). One can find the outline of this language in AFL Reference Information element of person’s information. Right here we will be able to existing normal steps wanted to outline and show your individual customized indicator. On this instance we will be able to create an system in order to exhibit buy sell alerts on MACD crossovers.
Simply observe these steps
Make a choice Amibroker > Formula Editor possibility from the menu as proven under and insert the next codes:
Plot( C, “Close”, colorBlack, stylecandle );
Buy = Cross( MACD(), Signal() );
Sell = Cross( Signal(), MACD() );
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorGreen, 0,L, Offset=-45);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorRed, 0,H, Offset=-45);
Save this amibroker afl as Easy.afl and drag it on the chart. Voila! You’ve gotten efficiently coded your first amibroker afl.
We’re sharing every other good color coded MACD with buy sell indicators amibroker afl. The indicator is coded for Amibroker and can be utilized for day after day trading. Take a look at the picture under for extra small print. Click on on the picture for a bigger view.
You can freely download and use the colour coded macd amibroker afl by clicking the share buttons below. You need an account in Facebook OR Twitter to download this file.
Indrajit is a professional blogger and trading system developer. Amibroker expert, Wordpress expert, SEO expert and stock market analyst.Trading since 2002, he has started the journey of StockManiacs.net on 2008. He follows Indian and world stock markets closely.