## D oscillator

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

### D oscillator

Oscillator based on two indicators: RSI and CCI.

Formulas:
Line1[i]=2/(Smooth+1)*StCCI+(1-2/(Smooth+1))*Line1[i-1],
Line2[i]=2/(Smooth*0.8+1)*Line1[i-1]+(1-2/(Smooth*0.8+1))*Line2[i-1], where
StCCI=[CCI_Coeff]*CCI[i]+(1-[CCI_Coeff])*StRSI,
StRSI=(RSI[i]-MinRSI)*200/(MaxRSI-MinRSI)-100,
MaxRSI, MinRSI is a maximum and minimum of RSI from [i-D_Period] to [i].

D_Oscillator.lua

Indicator based strategy
viewtopic.php?f=31&t=68918
Alexander.Gettinger
FXCodeBase: Confirmed User

Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

### Re: D oscillator

Strategy based on this oscillator: viewtopic.php?f=31&t=3609
Alexander.Gettinger
FXCodeBase: Confirmed User

Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

### Re: D oscillator

Hi,

Could you please make a bigger time frame version? It will be very useful.

Thank you.
Hybrid

Posts: 42
Joined: Fri Apr 02, 2010 7:52 am

### Re: D oscillator

Your request has been added to developmental cue.

Apprentice
FXCodeBase: Confirmed User

Posts: 27929
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: D oscillator

Biger Time Frame D Oscillator

BF_D oscillator.lua

You need to install D_Oscillator.lua from Top Most post.

Apprentice
FXCodeBase: Confirmed User

Posts: 27929
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: D oscillator

Thank you very much, Apprentice!
Hybrid

Posts: 42
Joined: Fri Apr 02, 2010 7:52 am

### Re: D oscillator

MQL4 version of this oscillator: viewtopic.php?f=38&t=20672
Alexander.Gettinger
FXCodeBase: Confirmed User

Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

### Re: D oscillator

Could arrows be added for a visual of direction of lines.
"A hundred pips a day keeps the collector away"

sho-me-pips

Posts: 82
Joined: Sat Sep 11, 2010 8:38 am

### Re: D oscillator

Show Arrows Option Added.

Apprentice
FXCodeBase: Confirmed User

Posts: 27929
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: D oscillator

Perfect, as always!!
"A hundred pips a day keeps the collector away"

sho-me-pips

Posts: 82
Joined: Sat Sep 11, 2010 8:38 am

Next