PIN Bar detector – Amibroker AFL code

Pin Bar Detector

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.

ZLEMA ATR Long Only Trading System – AFL code

Backtest Results

ZLEMA ATR Long only Trailing stop loss trading is a mechanical strategy for higher timeframes. The trailing stop loss is quite adaptive and adjustible in the down trends to revise it stoploss downwards on its own and the buy or sell decision is taken only at the end of the candle.

Bollinger Band Based Trailing Stop Loss – Amibroker

DLF Futures

BBand TSL or or Bollinger Band based Trailing stop loss trading is once again a mechnaical trend trading system for lower timeframes inspired from mql4 (metatrader). The trailing stoploss method is completly built using bollinger bands and completely fits for stop and reverse strategy.

How to Send a Tweet Alert From Amibroker

Tweet Alert

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.

How to Plot the Equity Curve without Backtesting?

Nifty Futures Equity Curve

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 – Amibroker AFL code

Double Donchain Trading System

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.

Positive Bars Percentage – Intraday Sentiment Indicator

Positive Bars Percentage

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 Long only Trading System

Didi Index Nifty Spot

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.

Code Snippets – Plot Buy and Sell Arrows in Amibroker

Block Arrows

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.