Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, 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. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

ADXxBollingerband – Amibroker AFL code

1 min read

ADXxBollingerband indicator is derived using ADX and Bollinger Bandwidth. It is yet another cross coding conversion from MQL4 code to Amibroker AFL code. And ADXxBollingerband is inspired from Waddah Attar ADXxBollinger Indicator one of the most popular indicator among opensource mql4 community.

ADX Interpretation
The Average Directional Index (ADX) is used to measure the strength or weakness of a trend, not the actual direction. Directional movement is defined by +DI and -DI. In general, the bulls have the edge when +DI is greater than – DI, while the bears have the edge when – DI is greater

Bollinger Bandwidth

Bollinger BandWidth measures the difference between the upper band and the lower band. BandWidth decreases as Bollinger Bands narrow and increases as Bollinger Bands widen. Because Bollinger Bands are based on the standard deviation, falling BandWidth reflects decreasing volatility and rising BandWidth reflects increasing volatility. Securities with low volatility will have lower BandWidth values than securities with high volatility.

Sample Nifty Spot Charts with the Trend Strength Turned Just Positive
Nifty ADXxBollinger
[wp_ad_camp_5]

 
ADXxBollinger

1)If +DI>-DI then ADX x Bollinger Bandwidth value represents bullishtrend with increase in histogram bar shows increase in volatility and trendstrengh i,e increase in bollinger bandwidth and on contrast decrease in histogram bar suggests decrease in volatility followed by decrease in trendstrength. It is shown as green colour histogram bars in the chart.

2)If -DI>+DI then ADX x Bollinger Bandwidth value represents bearishtrend with increase in histogram bar shows increase in volatility and trendstrengh i,e increase in bollinger bandwidth and on contrast decrease in histogram bar suggests decrease in volatility followed by decrease in trendstrength. It is shown as red colour histogram bars in the chart.

Download ADXxBollinger Band AFL code

Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, 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. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Line Trading – OpenAlgo Automation Module for Amibroker Users

The line Trading Automation tool is designed for Manual traders who want to perform level-based trade execution faster and also bring some advanced trade...
Rajandran R
55 sec read

Mini Certification Course on Algorithmic Trading

Welcome to the Mini Certification on Algorithmic Trading using Amibroker and OpenAlgo! This comprehensive 4-part series is designed to equip you with the knowledge...
Rajandran R
1 min read

Pivot Reversal Strategy – Tradingview Pinescript to Amibroker AFL…

Pivot Reversal Strategy is a popular in-built strategy in Tradingview Platform. Here I had attempted to convert the pinescript v5 to Amibroker AFL Code....
Rajandran R
3 min read

6 Replies to “ADXxBollingerband – Amibroker AFL code”

  1. Mr. Rajandran, how should I place buy and sell signals? which configuration would you use? Thank you.

  2. dear sir,
    for swing trading which indicator can work with amibroker?.
    and where can i get 3 level semafor indicator for amibroker?
    expecting ur favourable reply

    thank you

  3. helo sir,
    There are one AFL named – AR Trading system available in the market, But they are charging very high. Can you provide the same afl on marketcalls.in ?
    Thanking you.
    Hitul Shingala

Leave a Reply

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