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)

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 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

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