## Two Averages 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.

### Two Averages Oscillator

This simple indicator is the result of the difference between two moving averages,
MA difference, MA Delta.
Two Averages Oscillator.lua

To work install 20 in 1 Moving Average Indicator a.k.a. Averages
viewtopic.php?f=17&t=2430

Select 1. Indicator
Select 2. Indicator
Calculate difference between two.
Both are using chart price data as a source.
Difference between two different indicators.lua

Select Indicator 1. Source Indicator
Select Indicator 2. Source Indicator
Both are using chart price data as a source.

Select Indicator 3
Select Indicator 4
Indicator 3 is using Indicator 1. as source.
Indicator 4 is using Indicator 2. as source.
Calculate difference between two.
Both are using chart price data as a source.

The indicator was revised and updated

Apprentice
FXCodeBase: Confirmed User

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

### Re: Two Averages Oscillator

Added the functionality of plotting the differences between 2 MVAs, and a moving average of itself... based on the 3/10 oscillator by LBR.

The 3/10 OSCILLATOR

The “3/10 oscillator” is created by subtracting a 10-period simple moving average from a
3-period simple moving average, and then creating a 16-period simple moving average of
the 3/10 oscillator. These two lines are useful in confirming wave structure or highlighting
chart formations. We call the 3/10 line as the “fast” line, and the 16-period SMA the “slow”
line or trend line.

THE PRICE PULSE – THE MAIN PRINCIPLE BEHIND THE 3/10 OSCILLATOR
The 3/10 is a relatively sensitive oscillator and often highlights the “pulse” in the market’s
action. Tony Plummer best describes this “pulse” in his book, “Forecasting Financial
Markets”. It describes a “negative feedback” conditions that is present in the market about
80% of the time.

3_10.lua
zmender

Posts: 43
Joined: Thu Nov 10, 2011 11:00 pm

### Re: Two Averages Oscillator

Hey thanks for this Oscillator, its very powerful. Can you add a fib time zone Indicator to it? I think it has the potential to help identify entry/exit zones.

If you are Long your first time zone’s color is orange, and is set from “two averages oscillator’s” previous peak to the next bottom. The second time zone is white and is set from “two averages oscillator’s” previous bottom to the next peak. Use time zone lines 2, 3, 5, 8 only. If you are short, the white time zone set is first (short/long parameter can be set using simple moving average option):
If
• White 3 is before Orange 2:
o Signal Long Entry Opportunity Range from White 3 to Orange 2
o Signal Optimal Close Range:
 If
• Orange 5 is further than White 8 then the range is from White 8 to Orange 5
• Orange 5 is not further than White 8 then the range is from White 5 to Orange 5
o Disregard Orange 8

If
• Orange 3 is before White 2:
o Signal Short Entry Opportunity Range from Orange 3 to Orange 2
o Signal Optimal Close Range
 If
• White 5 is further than Orange 8 then the range is from Orange 8 to White 5
• White 5 is not further than Orange 8 then the range is from Orange 5 to White 5
o Disregard White 8
Attachments
Picture 4 gives an idea of what i'm hoping for.
speakinmymind

Posts: 310
Joined: Thu Feb 28, 2013 8:18 am

### Re: Two Averages Oscillator

Apprentice
FXCodeBase: Confirmed User

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

### Re: Two Averages Oscillator

Thanks, there was a slight typo in my explanation:

"If
• Orange 3 is before White 2:
o Signal Short Entry Opportunity Range from Orange 3 to WHITE 2
o Signal Optimal Close Range
 If
• White 5 is further than Orange 8 then the range is from Orange 8 to White 5
• White 5 is not further than Orange 8 then the range is from Orange 5 to White 5
o Disregard White 8"

Also, photo 2 is inconsistent and should be ignored.

Thanks again.
speakinmymind

Posts: 310
Joined: Thu Feb 28, 2013 8:18 am

### Re: Two Averages Oscillator

zmender wrote:Added the functionality of plotting the differences between 2 MVAs, and a moving average of itself... based on the 3/10 oscillator by LBR.

The 3/10 OSCILLATOR

The “3/10 oscillator” is created by subtracting a 10-period simple moving average from a
3-period simple moving average, and then creating a 16-period simple moving average of
the 3/10 oscillator. These two lines are useful in confirming wave structure or highlighting
chart formations. We call the 3/10 line as the “fast” line, and the 16-period SMA the “slow”
line or trend line.

THE PRICE PULSE – THE MAIN PRINCIPLE BEHIND THE 3/10 OSCILLATOR
The 3/10 is a relatively sensitive oscillator and often highlights the “pulse” in the market’s
action. Tony Plummer best describes this “pulse” in his book, “Forecasting Financial
Markets”. It describes a “negative feedback” conditions that is present in the market about
80% of the time.

When I saw Linda trading , i wondered where can i get "3/10 MA oscillator" version for FXCM's TS and i thought i could not find anywhere even in fxcodebase. Amazing.Thanks
Jeffreyvnlk

Posts: 302
Joined: Wed Apr 11, 2012 2:17 pm

### Re: Two Averages Oscillator

would be possible plot this indicator as line on the chart?

And woud be possibile create a second indicators as diference between Tow average oscillator?
like this Two av. osc. (period t ) - Tow Av. Osc. ( t-1)?We could have two indicators on the chart, Two average oscilator and its velocity....
Thanks
gianpierobn

Posts: 4
Joined: Mon Mar 18, 2013 3:22 am

### Re: Two Averages Oscillator

Apprentice
FXCodeBase: Confirmed User

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

### Re: Two Averages Oscillator

MQL4 version of Two Averages Oscillator: viewtopic.php?f=38&t=61150.
Alexander.Gettinger
FXCodeBase: Confirmed User

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

### Re: Two Averages Oscillator

Can you customize 3/10 Linda oscillator like this ? This taken from Linda website

Jeffreyvnlk