TD_I Indicator

Custom MT4 expert advisors published here.

Moderator: admin

TD_I Indicator

Postby Apprentice » Sat Nov 12, 2016 2:45 pm

TD_I.png

LUA Original: viewtopic.php?f=17&t=2359

Description:
Transcription from LUA to MT4 of the TD_I concept that goes as follows:

Formulas:

high_diff = Max(0, high[now] - high[now-Shift]);
low_diff = Max(0, low[now-Shift] - low[now]);
high_avg = Average(high_diff) from now to now-Period
low_avg = Average(low_diff) from now to now-Period
TD_Ihigh_avg / (high_avg + low_avg) * 100;
TD_I.mq4
(2.05 KiB) Downloaded 872 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Bing [Bot] and 10 guests