EMA HLC Envelope With Bar Coloring and Shifting

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

EMA HLC Envelope With Bar Coloring and Shifting

Postby TonyMod » Tue Feb 02, 2010 1:24 pm

EMA HLC Envelope With Bar Coloring and Shifting

I'm posting a new EMA HLC Envelope indicator, along with Oscillator to work with it.

Oscillator

Oscillator accompanying EMA HLC Envelope indicator, contains histogram which displays parts where one of the envelopes is broken by corresponding price, and by how much. All positive values (blue bars), display breaking of high envelope by high price, and in turn all negative values (red bars), display breaking of low envelope by low price.

WARNING: Since Oscillator is a separate instance, it must contain same configuration as EMA HLC Indicator to display accurate data. By default EMA is configured for 14 periods, with 0 shifting on all 3 bands. Make sure Oscillator parameters contain same values as EMA HLC Indicator.

Coloring

Envelope is built out of 3 price streams: High, Low, and Close. High is marked with Dark Blue Color, Low is marked with Dark Red color, Close is marked with gray color.

High Envelope Broken: When High price of the period breaks high envelope, the place where envelope was broken + price that broke it, will be marked with a Blue Color.

Low Envelope Broken: When Low price of the period breaks low envelope, the place where envelope was broken + price that broke it, will be marked with a Red Color.

SCREENSHOT OF EMA HLC ENVELOPE (With Coloring + Oscillator)
EMA-HLC-Envelope-Ind+Osc.jpg
Screenshot of EMA HLC Envelope indicator and oscillator together.


Shifting

Based on shifting bands idea of Alligator indicator and request of one of our members for Bollinger Bands shifting capability, i also made EMA HLC Envelope support shifting.

Each one of the bands can be shifted individually, and coloring will follow the shifted bands.

EMA-HLC-Envelope-Ind+Osc-WITH-Shifting.gif
Screenshot of EMA HLC Envelope Indicator and Oscillator, with top band shifted.


DOWNLOADS:
Indicator
EMAHLCEnvelope.lua
Download .Lua EMA HLC Indicator
(5.01 KiB) Downloaded 1740 times

Oscillator
EMAHLCEnvelope-Oscillator.lua
Download .Lua EMA HLC Oscillator
(3.68 KiB) Downloaded 1628 times


Please post comments and questions if you wish.

If you have problems with this indicator+oscillator or wish it customized in any way, let us know.

Meta Trader / Mq4 Version
viewtopic.php?f=38&t=63757

The indicator was revised and updated
Best Regards,

"TonyMod"
(FXCodeBase.com Forum Moderator)
TonyMod
FXCodeBase: Site Admin
 
Posts: 70
Joined: Wed Oct 21, 2009 1:57 pm
Location: New Jersey



Return to Custom Indicators

Who is online

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