OnChart Stochastic

Custom MT4 expert advisors published here.

Moderator: admin

OnChart Stochastic

Postby Alexander.Gettinger » Wed Aug 14, 2013 2:33 pm

Original LUA indicator: http://fxcodebase.com/code/viewtopic.php?f=17&t=41814.

Formulas:
Central[i] = Moving average(ATR_Length, K_Smooth_Method, Close, i),
OB[i] = Central[i]+ATR*(Overbought_Level-50)/100,
OS[i] = Central[i]-ATR*(Oversold_Level-50)/100,
K[i] = Central[i]+(StochK-50)*ATR/100,
D[i] = Central[i]+(StochD-50)*ATR/100, where
ATR - ATR(ATR_Length),
StochK, StochD - K and D lines of Stochastic(K_Length, D_Length, Slowing_Length, K_Smooth_Method).

OnChart_Stochastic_MQL.PNG


Download:
OnChart_Stochastic.mq4
(2.32 KiB) Downloaded 921 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: No registered users and 30 guests