Deviation 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.

Moderator: admin

Deviation Oscillator

Postby Apprentice » Thu Oct 23, 2014 8:41 am

Deviation Oscillator.png

As volatility oscillator, will present the Price-MA difference
Normalized, within range of last N differences
pd:=C-Mov(C,x,E);
hpd:=Max(pd,x2);
lpd:=Min(pd,x2);
nf:=200/(hpd-lpd);
Deviation=((pd-lpd)*nf)-100
Deviation Oscillator.lua
(3.77 KiB) Downloaded 599 times

Deviation Oscillator with Alert.lua
(15.99 KiB) Downloaded 564 times


The indicator was revised and updated
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Deviation Oscillator

Postby Alexander.Gettinger » Mon Mar 09, 2015 3:49 pm

MQL4 version of Deviation oscillator: viewtopic.php?f=38&t=61979.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Deviation Oscillator

Postby Coondawg71 » Tue Apr 21, 2015 5:31 pm

Can we please add Alert functions to the Deviation Oscillator in Lua please.

Alert would be triggered upon extreme values of oscillator reaching +90 and -90.

Thanks!!!

sjc
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am

Re: Deviation Oscillator

Postby Apprentice » Thu Apr 23, 2015 4:33 am

Deviation Oscillator with Alert Added
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Deviation Oscillator

Postby Apprentice » Mon Dec 14, 2015 5:18 am

Dec 14, 2015: Compatibility issue Fixed. _Alert helper is not longer needed.

If you want to use updated version of this indicator,
please make sure to use TS Version 01.14.101415. or higher.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Deviation Oscillator

Postby Apprentice » Wed Aug 02, 2017 7:39 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 46 guests