Weighted Moving Average / Simple Moving Average Oscillator

Custom MT4 expert advisors published here.

Moderator: admin

Weighted Moving Average / Simple Moving Average Oscillator

Postby Apprentice » Mon Sep 26, 2016 4:10 am

LWMA_MA.png

LUA Original: viewtopic.php?f=17&t=1866

Description:

This oscillator is the classic histogram achieved by the difference of two moving averages, although in this case using the following formula:

Current_Histogram_Bar = (LWMA/SMA)-1;

Based on the LUA indicator found here: viewtopic.php?f=17&t=1866

For illustration purposes the two main chart moving averages were added to the candles as well.
LWMA_MA.mq4
(1.91 KiB) Downloaded 797 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Google [Bot] and 17 guests