Advanced Get Oscillator

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

Advanced Get Oscillator

Postby Alexander.Gettinger » Sat Mar 30, 2019 11:01 am

Formulas:
Histogram=MVA(FastPeriod)-MVA(SlowPeriod),
if Histogram>=0: UpLine[i]=Histogram[i]*Coeff+UpLine[i-1]*(1-Coeff), DnLine[i]=DnLine[i-1],
if Histogram<0: UpLine[i]=UpLine[i-1], DnLine[i]=Histogram[i]*Coeff+DnLine[i-1]*(1-Coeff), where
Coeff=2/39.

Advanced_Get_Oscillator.PNG


Download:
Advanced_Get_Oscillator_JS.jsl
(3.24 KiB) Downloaded 193 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 1 guest