Here is a simple AFL code snippet to plot One Previous Day High Low and currently day One hourly high low (i.e high between 9:15a.m – 10:15a.m as per NSE timings)
Pin Bar Detector – (Amibroker Indicator) is pin bar pattern detection system inspired for Earnforex – Pin Bar Detecor mql4 code. Pin Bar is a bar with a long upper or lower “tail”, “wick” or “shadow” and a much smaller “body” or “real body”, you can find pin bars on any plain candlestick chart. The Pinbar (also known as “Pin-bar” or “Pin bar”) pattern was first introduced by Martin Pring in his Pring on Price Patterns.
This is my first event with ATMA. Will be speaking about Amibroker AFL coding concepts. Probably the first ever group to discuss about Programming concepts and provide live coding experience in a open forum in India
Almost every Amibroker users know that it supports custom rule based alerts like Email Alert, Sound Alert, Even a push notification alert from Amibroker is possible. But how to send a tweet alert to your twitter followers about Buy/Sell Signal happenings in you trading system or Important Events like high volume alert notifications.
In Amibroker the general way of computing the Equity curve is to backtest the given trading system and the report computes the equity curve, drawdown…etc results for you. And to compute the equity curve you have to push the backtest button every time which makes you little uncomfortable if you want to measure the Equity curve in realtime.
Double Donchian Trading system is a Breakout trading system inspired from Richard J.Dennis. Donchian channels were developed by Richard Donchian, a pioneer of mechanical trend following systems. Double Donchian trading system a turtle trading strategy.Curtis Faith in his book Way Of The Turtle describes a variation of the Donchian system used by the legendary Turtle Traders.
Here the Goal is to use Amibroker AFL to find the Percentage Number of bars which have closed higher then the previous bar out of total number of bars for a day in a selected time frame on Intraday basis. Positive Bars Percentage is generally a breath indicator used to gauge the Intraday Sentiment of a Particular stock/Index.Value above 80 indicates extreme positive sentiment and a value below 20 indicates extreme negative sentiment.
Didi Index is a positional long only trading system constructed based on three exponential moving averages inspired from mql4 code Didi Index Indicator. Indicator developed by Brazilian and analyst Odir Aguiar (Didi), consists of “Moving Averages”, known for the famous needles Didi, which allows the visualization of reversal points.
Amibroker AFL script based trading system generally consist of four trading conditions Buy(go long), Sell(Exit Long), Short(go short) and Cover(Exit Short). In todays tutorial we are going to concentrate only how to plot a Buy Signal(Generally we Up arrow is preferred) and Sell Signal(Generally Down Arrow is preferred) using Amibroker.