Cyclic Component

Custom MT4 expert advisors published here.

Moderator: admin

Cyclic Component

Postby Alexander.Gettinger » Wed Mar 05, 2014 5:00 pm

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

Cyclic Component:

Formulas:
Cyclic Component [i] = (HP[i]+2*HP[i-1]+2*HP[i-2]+HP[i-3])/6, where
HP[i] = (Price[i]-Price[i-1])*(1+Alpha)/2+2*Alpha*HP[i-1],
Alpha = (1-sin(2*Pi/Length))/cos(2*Pi/Length).

CC_MQL.PNG


Download:
CC.mq4
(1.76 KiB) Downloaded 842 times


Instantaneous Trendline:

Formulas:
Instantaneous Trendline = MVA(Price, Length)+SmoothSlope/2, where
SmoothSlope[i] = (Slope[i]+2*Slope[i-1]+2*Slope[i-2]+Slope[i-3])/6,
Slope[i] = Price[i]-Price[i-Length+1].

IT_MQL.PNG


Download:
IT.mq4
(1.78 KiB) Downloaded 702 times


Modeling the market:

Formula:
Modeling the market = Instantaneous Trendline+Cyclic Component.

Modeling_The_Market_MQL.PNG


Download:
Modeling_The_Market.mq4
(2.19 KiB) Downloaded 939 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: Apprentice, Bing [Bot] and 12 guests