MT4 to MT5 code converter - page 19

Mladen Rakic
201567
Mladen Rakic  
earmarques:
Ok, but put hin in 01 minute chart. his lines only apears when 1 new bar is loaded.

earmarques

This is a thread dedicated to mt4 to mt5 conversion

For correct version of metatrader 4 use the original code (from this thread : trend quality indicators ). The code you posted is an attempt to change the code that I originally wrote. Since the original works as it should, I don't think that there is a need for yet another version (or, if the author of the changed code believes that there are some improvements, then the correct version with improvements should be posted)

Anthony Kaliisa
6
Anthony Kaliisa  

Hello mladen or anyone else, please kindly help me convert this indicator to mt5

Files:
eae.mq4 4 kb
Mladen Rakic
201567
Mladen Rakic  
KAAN:
Hello mladen or anyone else, please kindly help me convert this indicator to mt5

kaan,

Here is the metatrader 5 version of that indicator : elder_auto_envelope.mq5

name
992
name  
mladen:

kaan,

Here is the metatrader 5 version of that indicator : elder_auto_envelope.mq5

Looks nice

Any documentation from Elder about it?

Mladen Rakic
201567
Mladen Rakic  
on my own:

Looks nice

Any documentation from Elder about it?

This is one description that I have found (from Elder.com) :

Elder – AutoEnvelope

Envelope or channel lines are set parallel to the moving average (parallel to the slow MA if you use two MAs). The two channel lines must contain approximately 95% of all prices for the past two or three months on a daily chart, with only the extremes protruding outside. Channel lines provide attractive profit targets – sell longs near the upper line and cover shorts near the lower line.

The AutoEnvelope is a custom indicator - an original tool that automatically sizes channels by calculating a standard deviation for the last 100 bars. It is designed to either use a fixed channel size or to change value at most once a week (once a month on a weekly chart), making it suitable even for intra-day data (use the ‘Fixed channel size’ parameter to switch from one mode to the other).

The EMA is plotted in addition to the AutoEnvelope. This combination allows you to change the EMA and have the envelope follow it without adjusting two separate indicators. If you do not want to see the moving average, go into the indicator properties and change its style to invisible.

● Base EMA (22) – This is the number of bars for the Exponential Moving Average plottedin the center of the channel.

● Factor (27) – This is the number of standard deviations (expressed in the tenths) for creating the channel. Statistically, 2.7 is the proper size to use, but that assumes a standard distribution, which is not always present in the markets. We find that 27 works for most stocks using daily data, but you may want to adjust this Factor to fit your trading vehicle and style.

● Fixed channel size (Yes) - Channel can be either fixed or dynamic. If fixed size is ticked, channel corresponds to the channel size at the right edge. Otherwise, channel size is changing once a week.

PS: The upper is using the weekly adjustment of the channel

name
992
name  
mladen:

This is one description that I have found (from Elder.com) :

PS: The upper is using the weekly adjustment of the channel

Thanks - that will do

Anthony Kaliisa
6
Anthony Kaliisa  
mladen:

kaan,

Here is the metatrader 5 version of that indicator : elder_auto_envelope.mq5

Thank you, thank you, thank you.

Sorry I even thank you late, was waiting for an email hoping I would be notified when there is a change in the thread until I decided to just check and bingo.

Anthony Kaliisa
6
Anthony Kaliisa  
on my own:

Looks nice

Any documentation from Elder about it?

Elder's books are all over the net, most relevant are the latest Trading for a Living (2014) and Come into my trading room. Almost all his documentations describe his indicators

name
992
name  
KAAN:
Elder's books are all over the net, most relevant are the latest Trading for a Living (2014) and Come into my trading room. Almost all his documentations describe his indicators

Thank you ...

Anthony Kaliisa
6
Anthony Kaliisa  
Any one again please kindly assist, although mladen has been of most assistance. Please convert these 2 items (one an indicator, the other a set of scripts) from mt4 to mt5.
  1. Colored macd that has a scalable histogram, with the normal histogram, short bars around the zero line disappear and one cant tell whether we have crossed above or below the zero line. I have also attached the mt5 colored macd whose histogram has no scale input so it could be added instead of converting the mt4 attached macd to mt5
  2. Script for copying objects from one chart to another for those who use multiple timeframes.