Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Didi Index Long only Trading System

38 sec read

Didi Index Nifty Spot

 
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 Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

How to Install Amibroker and Ninjatrader on MacBook Air

This is a routine question we get from Mac users and in this tutorial, we will be learning how to install Windows 11 inside...
Rajandran R
49 sec read

What is Algomojo – Smart Order Execution Module for…

Smart Order Module brings a 100% end-to-end automated trading solution for Amibroker users to automate their trading ideas with a simple plug-and-play module. Traders...
Rajandran R
26 min read

Virtual Trade Simulator Module Version 1.0 – Amibroker AFL…

Thought of launching a simple and user-friendly Virtual Trade Simulator to study/test your inner intuition before practicing in the live markets. Virtual Trade Simulator...
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