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)

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)

[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

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