Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

Hull ROAR – Rate of Annual Return Amibroker AFL Code

33 sec read

Hull ROAR indicator helps in identifying the fastest raising shares and filters it out of the fastest rising shares. Hull ROAR is the brainchild of Alan Hull (author of active investing). ROAR stands for Rate of Annual Return. The rate of annual return is calculated by taking the annual increase in price activity and dividing by the current share price. The result is multiplied by 100 to convert it to a percentage.

Trading Rules

1)Filter Fundamentally Good Bluechip Stocks
2)Buy stocks/index if the Current Rate of Annual Return is greater than cutoff rate
3)Exit stocks/index if the Current Rate of Annual Returns is lesser than cutoff rate

Here are the backtested results for Nifty 50 index on Weekly timeframe with cutoff rate of 10%

SymbolTradeDatePriceEx. dateEx. Price% chgProfit Points
NIFTY 50Long24/05/961085.0322/11/96850.33-21.63%-234.7
NIFTY 50Long27/06/971169.6509/01/981033.55-11.64%-136.1
NIFTY 50Long07/05/991062.916/06/001477.338.99%414.4
NIFTY 50Long05/04/021141.9506/09/02995.2-12.85%-146.75
NIFTY 50Long11/07/031161.6523/07/041601.637.87%439.95
NIFTY 50Long04/02/052077.9517/11/063852.885.41%1774.85
NIFTY 50Long01/12/063997.606/06/084627.815.76%630.2
NIFTY 50Long26/06/094375.507/05/105018.0514.69%642.55
NIFTY 50Long29/10/106017.715/04/115824.55-3.21%-193.15
NIFTY 50Long13/07/125227.2512/07/13600914.96%781.75
NIFTY 50Long28/02/146276.9529/05/158433.6534.36%2156.7
NIFTY 50Open Long19/08/168666.902/01/178179.5-5.62%-487.4

Hull ROAR Indicator formula (Active Investing style) – Amibroker AFL Code

Note : The below AFL code is recommended to use in Weekly Charts

https://gist.github.com/0186910c1fced1fcbf1f45f2655519bd

Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

[Live Coding Webinar] Build Your First Trading Bridge for…

In this course, you will be learning to build your own trading bridge using Python. This 60-minute session is perfect for traders, Python enthusiasts,...
Rajandran R
1 min read

[Webinar] Understanding and Mitigating Curve Fitting in System Trading

"Understanding and Mitigating Curve Fitting in System Trading"! This dynamic session aims to equip novice to intermediate traders, quantitative analysts, and financial engineers with...
Rajandran R
1 min read

P-Signal Strategy Long Only Strategy – Amibroker AFL Code

This tutorial provides an overview of the P-Signal reversal strategy, a quantitative trading strategy that utilizes statistical parameters and error functions to generate probabilistic...
Rajandran R
2 min read

5 Replies to “Hull ROAR – Rate of Annual Return Amibroker AFL…”

  1. rajandran sir. aapki help chahiye.for fix single error. there are in error at word study

    //@version=2
    //
    study(“CDC Action Zone 20170101″, overlay=true)

    src = input(title=”Sorce”, defval=ohlc4 , type=source)
    prd1 = input(title=”Fast EMA”, defval=12, type=integer)
    prd2 = input(title=”Slow EMA”, defval=26, type=integer)
    Fast = ema(src,prd1)
    Slow = ema(src,prd2)
    macd = Fast-Slow
    Bullish = macd>0
    Bearish = macdFast
    Yellow = Bullish and srcSlow
    Brown = Bullish and src<Fast and src<Slow
    Red = Bearish and srcFast and srcFast and src>Slow

    Buy = Bullish and Bearish[1]
    PreBuy = Blue and Blue[1] and Blue[2] and Blue[3] and src<src[2]
    BuyMore = barssince(Bullish)25 and src2 and src0? green : red)
    barcolor(barcl)

    1. Alan Hull Website Reads “Rather than use the change in value over one year, which is a little blunt, we can take a sample over a shorter time frame and annualise the result. And, to provide a degree of smoothing, the price values can be taken from a moving average like the Hull Moving Average or using linear regression.”

      1. This is not working on my amibroker. The indicator says empty when used on weekly charts,doesn’t work for smaller time frames as well.
        Could it be due to lack of data?. I have one year historical data.
        kindly suggest what could be done.
        Thank you

Leave a Reply

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