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 and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Didi Index Long only Trading System

38 sec read

Didi Index Nifty Spot

[wp_ad_camp_5]

 
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.

_SECTION_BEGIN(“Didi Index Indicator”);

small = 2;
medium = 5;
large =7;

sEMA = EMA(C,small);
mEMA = EMA(C,medium);
lEMA = EMA(C,large);

sEMA = sEMA/mEMA;
lEMA = lEMA/mEMA;

Plot(sEMA,”sEMA”,colorred);
Plot(lEMA,”lEMA”,colorGreen);

_SECTION_END();

The AFL consist of two parts one is the Trading System which contains the Buy and Sell Signals plotted over the candles and the second one is the Didi Indicator. Download Didi Index Trading System amibroker AFL code.

Recommendation
One can try this trading system for Positional Trading Especially in Daily and Hourly Charts.Below insights shows the performance of trading system over hourly charts (Nifty Spot Since March 2009 till March 2014)

Portfolio Equity
Portfolio Equity

Drawdown
Drawdown

Profit Table
Profit Table

Backtesting Results of Didi Index Trading System- Hourly

Backtesting Results of Didi Index Trading System- Daily

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 and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

How to Perform Machine Learning Using Amibroker and Python

Amibroker is a powerful technical analysis and trading system development platform, used extensively by traders and analysts for developing and deploying trading strategies. Python,...
Rajandran R
5 min read

Preparing the Features Dataset using Amibroker Exploration – Machine…

There are various methods to prepare the feature dataset, which is a crucial input for a machine learning prediction model. One approach is to...
Rajandran R
1 min read

Dynamic Color Coding in Amibroker Profit Tables: A Visually…

Profit tables are a valuable tool for traders and investors to analyze the trading strategy performance of their investments over time. However, the traditional...
Rajandran R
3 min read

10 Replies to “Didi Index Long only Trading System”

  1. Dear Sir,
    Is it possible to make Didi Index Long only Trading AFL to Short (sell) also for Algo purpose. Please provide the code.

    Regards,
    MS Thakur

    1. Signal will come at the beginning of the bar itself but decision taken at the close of the bar. Right?

  2. This does not work with SELL signal with Auto Trading Plugin. Please make (Code) it working for SELL side for Auto Trading Plugin.

Leave a Reply

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