Menu
  • Crash Course on Orderflow
  • Training
  • Premium
  • Traders Cafe
  • Intraday signals
  • MCX Signals
  • Library

Marketcalls

Simply Intelligent Technical Analysis and Trading Strategies

  • Software
    • Amibroker
    • NinjaTrader 7
    • Ninjatrader 8
    • Option Action
    • Market Analyst
    • Metatrader
    • Python
    • Datafeed
  • Market Profile
    • Orderflow
  • Markets
  • Commodities
  • Forex
  • Economy
    • Banking
  • Webinars
  • Trading Lessons
    • Algo Trading
    • Infographic
    • Video
You are here: Home / Web Updates / New Custom Indicators in Interactive Charts Section

New Custom Indicators in Interactive Charts Section

April 10, 2015 by Kalaivani Pandian 8 Comments

KAMA

 
Two New Indicators Kaufman Adaptive Moving Aveage – KAMA and Fisher Transform Indicator by Ehlers are added in our Interactive charting section. Now users can make use of these indicators in NSE FNO 5min charts and NSE Cash and Futures EOD charting section

Kaufman Adaptive Moving Average

Kaufman Adaptive Moving Average (KAMA) was created by Perry Kaufman. Wikipedia says Perry J. Kaufman is an systematic trader, index developer, and quantitative financial theorist. He is considered a leading expert in the development of fully algorithmic trading programs.

Generally Moving averages are one of the most favourite trading tools for the traders. As other indicators moving average also has its own advantages and setbacks.

Pros and cons of moving averages:

Simple moving average:

In moving averages, by averaging the data for a stated number of days,one can derive a sort of automated trendline which highlights the trend. While smoothing the data, trader always gives back a part of profit as moving averages lag behind the market action.

Weighted moving average or Exponential moving average:

To overcome the setback in simple moving average, weighted moving average compared to SMA tracks the price very closely by assigning high weightage to the recent data. The formula to calculate an exponential moving average is:

EMA = (W * Close) + ((1-W) * EM)
Where,

      W is the smoothing constant calculated as

2 / (N + 1)

      which remains constant

 

    EM is the exponential moving average from yesterday

Eventhough EMA overcomes the lag resulted in Simple Moving Average,it failed to reduce the losing trades.

Adaptive Moving Average:

Perry Kaufman introduced the Adaptive Moving Average which compared the price direction with the level of volatility.The name “Adaptive” reveals that AMA automatically adapts to the market volatility.AMA traverse between fast and slow moving average.

If a market is advancing with very small countertrend moves, the degree of noise is low and enough if one follows a shorter look back period.However, if the market is moving sideways, the degree of noise is high and one should look for a longer look back period. So AMA is designed likewise , to move slower in a sideways market and faster in a trending market.

In AMA, Kaufman replaced the “weight” variable with a factor “Efficiency Ratio” ,which can be calculated as follows:

ER = (total price change for period) / (sum of absolute price changes for each bar)

Principle behind ER: An ER of +1.0 indicates that the stock is in a perfect uptrend; -1.0 represents a perfect downtrend. In practical terms, the extremes are rarely reached.

AMA can be calculated as follows:

1. Calculation of weight factor

C = [(ER * (SCF – SCS)) + SCS]2
Where,

      SCF is the exponential constant for the fastest EMA allowable (usually 2)

 

      SCS is the exponential constant for the slowest EMA allowable (often 30)

 

      ER is the efficiency ratio that was noted above

 

    C is the weight factor which is adaptive

SCS can be calculated as 2 / (SA + 1)
Where, SA – trader’s choice of a slow moving average > FA

SCF can be calculated as 2 / (FA + 1)
Where, FA – choice of a slow moving average < SA

2. Replacing the weight factor in Exponential Moving Average formula
After finding the C value, W in EMA formula should be replaced with C like,

AMA = (C * Close) + ((1-C) * EM)
Where,

      C is the smoothing constant calculated by applying Efficiency ratio

 

    EM is the exponential moving average from yesterday

Simple understanding of AMA:

kauffman 10thapr

In the above chart,when price moves sideways Adaptive Moving Average(in blue) maintained a flattened line whereas, the Exponential Moving Average(in pale green) moved with the choppiness of prices.

Conclusion:
The adaptive moving average’s strength is its ability to respond to changing market conditions, which is a problem for studies that use fixed look-back periods.

Using a fixed look-back period is not possible. Because the market is always changing, static approaches are likely to have limited success. Using adaptive study which is dynamic is a potential way to get good results. The AMA could also be combined with other indicators to develop a profitable trading system.

Amibroker Users Download the AFL Code for Kaufman Adaptive Moving Average here

Fisher Transform

General assumption in share market is, market price follows the Gaussian Normal Distribution forming a bell shaped curve.In practice, the price movements not only follows Gaussian distribution but also other probability distribution functions. At this point,a indicator is necessary to transform such values to Gaussian normal distribution to identify trend reversals.

Fisher Tansform is the one ,which transforms any probability distribution function to Gaussian normal distribution

Assumption: underlying prices follows square wave distribution

Implementation:

The fisher transform formula is as follows:
fisher
Where x is the correlation coefficient.

How transformation is made

1. Prices should be constrained to remain within the limits of -1 to +1.
2. Comes the real transformation using fisher transform formula

Result:

As Gaussian normal distribution function most of the values are highly concentrated around the mean, while the extremes are observed to be concentrated at the right and left tails of the bell shaped curve. So transformed time series helps to identify trends,i.e sharp turning points in price movements

How to Apply the Indicator

In this indicator along with fisher line,fisher delay(one previous fisher bar) is also added.Signals are identified when fisher line crosses above or below its signal line.

Bullish signal – Fisher line turns up below -1 threshold & crosses up the fisher delay line
Bearish signal -Fisher line turns down above +1 threshold & crosses down the fisher delay line

Its shown in the below chart

fi

Amibroker Users can Download the Fisher Transform Amibroker AFL code here

Conclusion:

The Fisher Transformation transforms the probability density function of any waveform into a Gaussian-like probability density function. Unlike other indicators & oscillators, the Fisher Transformation introduces no lag and provides the turning points in advance. It is an excellent tool to improve our trading systems.

Related Readings and Observations

  • 5 EMA High-Low Indicator Added to Interactive Charts5 EMA High-Low Indicator Added to Interactive Charts One more custom indicator added to our Interactive Live Charts and EOD Charting section. 5EMA(High-Low) simple trend following strategy that can be practiced on Hourly, EOD and Weekly […]
  • [Recorded Webinar] Technical Analysis Using Interactive Charts[Recorded Webinar] Technical Analysis Using Interactive Charts Nice discussion about our Interactive Charts. In this webinar we discussed about Interactive Charts features, Indicators, Custom Indicators, How to get custom indicators in Interactive […]
  • Webinar : Technical Analysis on Live Interactive ChartsWebinar : Technical Analysis on Live Interactive Charts This time we would like to discuss with you a lot about interactive charts again a pending request from traders/investors as lot more custom indicators added. We thought of discussing […]
  • New Tools and Feature Updates From MarketcallsNew Tools and Feature Updates From Marketcalls Recent tools, features ,enhancement , upgrades at Marketcalls to make tools user friendly and provide one step better solution ahead of others. Addon Features on Interactive Charts, Access […]
  • Live Market Profile Charts – Open BetaLive Market Profile Charts – Open Beta Recently added Market Profile Charts in Open Beta mode. Currently allowed access to Nifty and Bank Nifty Current month futures and will run till this end of the month later could extend to […]
  • Tradingview Provides NSE and BSE Cash EOD ChartsTradingview Provides NSE and BSE Cash EOD Charts Trading view in its blog announced that they started providing NSE and BSE EOD data for cash market. As of now the historical data is since 2013. Its really a great news for the Indian […]

Filed Under: Web Updates Tagged With: EOD Charts, Fisher Transform, Interactive Charts, KAMA, Kaufman Adaptive Moving Average, Live Charts, NSE FNO Charts, Tradingview, Web Updates

About Kalaivani Pandian

Learner, Trader and Programmer. Worked as a Telecom Engineer in the past now a Growth Hacker @marketcalls. Interested in Quant strategies and Trading Analysis Softwares.

Comments

  1. Rajkumar says

    April 10, 2015 at 3:51 pm

    Thanks Kalaivani…

    Reply
  2. ole says

    April 11, 2015 at 7:46 am

    Very informative. Thanks.

    Reply
  3. kumaran says

    April 11, 2015 at 11:41 am

    can you helip people with positional traders with a good afl or which is best suitable

    Reply
  4. karan says

    April 11, 2015 at 3:57 pm

    pls give free link for downloading meta trader 4. i want to use renko charts in that. please do advice me for the same.

    Reply
  5. vijay says

    April 12, 2015 at 5:17 pm

    sir pl check Interactive nifty option charts is not updating for April series .

    Reply
    • Rajandran R says

      April 12, 2015 at 5:27 pm

      Iam able to see the charts. Try to use the symbols format NIFTY15APR9000CE

      Reply
  6. Ani says

    August 28, 2015 at 8:01 pm

    Hi Rajandran,
    Can you include some other customized indicator (basically on RSI) in the indicator list if I give you the code.
    Thanks in advance,
    Ani

    Reply
    • Rajandran says

      August 30, 2015 at 1:21 am

      Yes we do. Do post the code in gist.github.com and share the code with us. Make sure that you compiled the code successfully without any errors in tradingview pinescipt editor before sharing with us.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Email Newsletter

Sign up to receive email updates on latest trading strategies , analysis & financial market updates

We Respect Your Privacy

Premium Access

Username:
Password:
Remember Me
Lost your password?

Tools For Traders

  • Marketcalls Android App
  • MCX Signals
  • Intraday Signals
  • International Commodities
  • OI Tracker
  • Participation OI
  • Your Broker
  • Market Sentiment Analysis

Amibroker Updates

[Recorded Webinar] How to Send Bracket Order, Cover Order and Multiple Orders using Amibroker and AlgoAction Platform

December 25, 2018 By Rajandran 1 Comment

AlgoAction Now Supports Bracket Order and Multi Orders

December 23, 2018 By Rajandran Leave a Comment

Code Snippet : ORB – Open Range Breakout Levels – Amibroker AFL Code (Better Version)

December 4, 2018 By Rajandran 1 Comment

Button Trading in Amibroker using AlgoAction Platform

December 2, 2018 By Rajandran Leave a Comment

[Recorded Webinar] Chart Based Vs Scan/Exploration Based Automated Trading – Amibroker

December 2, 2018 By Rajandran 1 Comment

  • Facebook
  • Google+
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Metatrader Updates

MetaTrader 5 Demo Servers Now Available for BSE Currency Markets

March 20, 2018 By Rajandran 8 Comments

ChartIQ – WebTrader for MT4

December 4, 2017 By Rajandran 4 Comments

Metatrader 4 – Web Platform Overview

October 29, 2015 By Rajandran 9 Comments

William VIX FIX Indicator for Metatrader 4

May 16, 2015 By Rajandran 9 Comments

How to Install Custom MQL4 indicators in Metatrader

November 14, 2014 By Rajandran 6 Comments


About | Contact Us | Terms and Conditions | Privacy Policy | Support Policy | Privacy Policy | Refund Policy | Disclaimer


© Copyright 2018 Marketcalls Financial Services Pvt Ltd · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·

Data and information is provided for informational purposes only, and is not intended for trading purposes. Neither marketcalls.in website nor any of its promoters shall be liable for any errors or delays in the content, or for any actions taken in reliance thereon.