Recursive Trendline and TOSC

Custom MT4 expert advisors published here.

Moderator: admin

Recursive Trendline and TOSC

Postby Alexander.Gettinger » Tue Aug 13, 2013 2:08 pm

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

Formulas:
RTL[i] = (1-Alpha)*RTL[i-1]+Alpha*(Price[i]+b0[i]-b0[i-1]),
TOSC[i] = (RTL[i]-EMA(Length, Price)), where
b0[i] = (1-Alpha)*b0[i-1]+Price[i].

RTL_TOSC_MQL.PNG


Download:
RTL.mq4
(1.78 KiB) Downloaded 921 times

TOSC.mq4
(1.93 KiB) Downloaded 932 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to MT4 Expert Advisors

Who is online

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