Metatrader 5 versions of indicators ...

+ New Comment
mladen
Join date: 2006.10.03
Private message
#1

Some of you might remember this one : originally it was a part of an expensive system. Than it was coded as dots because of the repainting problems in metatrader. Here is a version for metatrader 5 : slightly changed the look of it (Bollinger bands is drawn as the "shadow" in the background)

Also you can see in the code how easy it is now to make it not repaint (and the new macd line is 4 color now, which could be possible in metatrader 4 if only the macd line was drawn, otherwise it is impossible to make it in metatrader 4 without repainting)

Attached are both versions : metatrader 4 (non repainting version) and metatrader 5 version

mladen
Join date: 2006.10.03
Private message
#2

...

One more average (from this thread https://www.forex-tsd.com/forum/exclusive/11428-one-more-average) - metatrader 5 version (simbas combination of parameters on the picture )

_______________________________

Differences compared to metatrader 4 version :
Added colors to show the slope of the average. To turn of the colors set the first two colors to same value

Added multi time frame capabilities. Multi time frame can be drawn the "classical" (step like way - third picture) or interpolated (points between the end points smoothed through linear interpolation - fourth picture). In multi time frame mode two more colors are shown : they are marking the last (current) bar of the higher time frame which is a subject to changes (it will be changed until the chosen time frame bar is not closed)

mladen
Join date: 2006.10.03
Private message
#3

...

"Classical" averages with a twist :

Colors change depending on the angle of the slope : the greater the angle the color will be closer or equal to "Fast up" color. The smaller the angle the color will be closer or equal to "Fast down" color. The rest is drawn as a gradient between the two colors (depending on the angle of MA)

The "equal" part depends on the "Angle threshold for color steps" parameter : if you set 90, it is obvious that it will never be reached. Default for this parameter is set to 20 degrees

mladen
Join date: 2006.10.03
Private message
#4

...

This one was originally developed on TSD by linuxser, so I decided to keep it's name (due to tremendous effort linuxser made to solve some problems of this indicator in metatrader 4).

Metatrader 4 version did lack buffers for this one to display all the necessary data, so the usual implementation was to make it 2 indicators. Since the limitation does not exist in version 5, it is a single indicator now. What is an addition is the timer (the timer attached is and EA, not an indicator). As far as I know woodies club is using indicator similar to this on a 5 minute chart strictly watching on the time left for the bar to complete. Since the timer attached really does show time every second (it even shows when the new bar is "late"), the two together are what one could call a "woodies system"

_____________________________________

PS: of LSMA and EMA line colors : colors are shown as a relation of close to LSMA or EMA - if close is above -> the line is green, if close is bellow -> the line is red

PPS: for the eClock to work properly, make sure that your computer time is synchronized. The easiest way is to do it through "adjust date time" in windows (something like on this picture) otherwise your local time and broker time may have difference in seconds.

mladen
Join date: 2006.10.03
Private message
#5

Stochastic RSI

Stochastic RSI :

_________________________

Depending on parameters (stochastic 1, stochastic 2 and smoothing) it is :
(x,x,x) a simple RSI

(x,x,n) a smoothed RSI

(n,x,x) or (x,n,x) stochastic RSI in its "classical" way

(n,x,n) or (x,n,n) smoothed stochastic RSI

(n,n,x) double stochastic RSI

(n,n,n) smoothed double stochastic RSI

_________________________ PS:
x -> parameter is less than or equal to 1

n -> parameter is greater than 1

mladen
Join date: 2006.10.03
Private message
#6

Pivot points

Slowly preparing the rest of indicators normally found on metatrader 4

__________________________

Pivot points for metatrader 5

Since parameters are descriptive now (new feature of metatrader 5) just an explanation what does "Hide connecting lines between periods" do. This indicator is drawn as indicator buffers and not objects. hence when period changes, it will draw a "connecting line" between two periods like on this picture :

When "hiding" is turned on, it will show it like this picture, but the "cost of it is that one point is missing (it needs to make a break in data in order to hide those connecting lines)

Compared to metatrader 5 this one can show literally any period from 1 minute to 1 month (so any time frame recognized by metatrader 5 (the 8 hour is rather useful in my opinion))

Additions - added 4 ways of calculating pivot points :

(Previous High +Previous Low + Previous Close)/3

(Previous High +Previous Low + Previous Close + Previous Close)/4

(Previous High +Previous Low + Previous Close + Open)/4

(Previous High +Previous Low + Open + Open)/4

Added "alternate way" of calculating pivot support and resistance lines - I found that in a lot of versions the R3 and S3 are calculated differently than the original (it effectively makes it "tighter" than the original) so I decided to enable that way too

__________________________

PS: no yearly pivot in this one

mladen
Join date: 2006.10.03
Private message
#7

...

This thread has been neglected a bit lately (it seems that the "speed" of invoking new metatrader is not what they planed it to be)

Here is a simple setup of a couple of indicators (mrtools excellent work reminded me of Guppy MMA). Also, the highs/lows, due to the fact that it covers all the time frames supported by metatrader 5, does not have equivalent in metatrader 4

PS: the simple.tpl should be copied to profiles/templates sub-folder of metatrader 5

mladen
Join date: 2006.10.03
Private message
#8

...

Adding this one to metatrader 5 collection too.

______________________________

The main reason for making it is experimenting with the "novelty" that metatrader 5 has - applying indicator to other indicator without changing code. So, on the picture those are all just one indicator but applied to previous indicator value (2 of the 3 on the main chart are applied to previous Jurik filter, for example)
This is one of the good things in the new metatrader. Unfortunately some other things are not so good (for example for the last couple of months color histogram 2 does not work as it should, and they still did not notice it). Some other things that are far more serious are still not solved, so it seems that we have to wait some more. Till then we can test it and prepare ourselves slowly in case it becomes a usable trading platform
Apeiron
Join date: 2010.10.22
Private message
#9

Daily Pivots

Hi Mladen

Pivot= ( yesterday_high + yesterday_low + yesterday_close ) / 3.0 ;

R1= ( 2.0 * Pivot ) - yesterday_low;

S1= ( 2.0 * Pivot ) - yesterday_high;

R2 = Pivot+ ( R1] - S1);

S2 = Pivot- ( R1] - S1] );

R3= ( 2.0 * Pivot) + ( yesterday_high - ( 2.0 * yesterday_low ) );

S3= ( 2.0 * Pivot) - ( ( 2.0 * yesterday_high ) - yesterday_low );

R0 (Mid)= ( Pivot + R1) / 2.0;

S0 (Mid)= ( Pivot + S1) / 2.0;

R1 (Mid)= ( R1 + R2) / 2.0;

S1(Mid) = ( S1 + S2 ) / 2.0;

R2(Mid) = ( R2 + R3 ) / 2.0;

S2(Mid) = ( S2 + S3 ) / 2.0;

Daily Pivots Formul

GMT Shift

MQ5 Version

Thanks

mladen
Join date: 2006.10.03
Private message
#10

Apeiron

Moved your post here since you can see it and since the original indicator was posted here. Extended the pivot points indicator from a few post above )so the one that can draw pivot points for any time frame) to draw middle lines too (so this one has an option to turn on middle points to regardless of the calculation method). Will find some solution for GMT shift too

regards

Mladen

Apeiron:
Hi Mladen

Pivot= ( yesterday_high + yesterday_low + yesterday_close ) / 3.0 ;

R1= ( 2.0 * Pivot ) - yesterday_low;

S1= ( 2.0 * Pivot ) - yesterday_high;

R2 = Pivot+ ( R1] - S1);

S2 = Pivot- ( R1] - S1] );

R3= ( 2.0 * Pivot) + ( yesterday_high - ( 2.0 * yesterday_low ) );

S3= ( 2.0 * Pivot) - ( ( 2.0 * yesterday_high ) - yesterday_low );

R0 (Mid)= ( Pivot + R1) / 2.0;

S0 (Mid)= ( Pivot + S1) / 2.0;

R1 (Mid)= ( R1 + R2) / 2.0;

S1(Mid) = ( S1 + S2 ) / 2.0;

R2(Mid) = ( R2 + R3 ) / 2.0;

S2(Mid) = ( S2 + S3 ) / 2.0;

Daily Pivots Formul

GMT Shift

MQ5 Version

Thanks
drhouse7
Join date: 2009.04.16
Private message
#11

Hi mladen and happy new year !

i come back!

Could you please convert this indicator in mq5 format?

Best regards

Doc

mladen
Join date: 2006.10.03
Private message
#12

Welcome back Doc

Here you go Added 2 parameters : price (so you can chose the price you would like to use - in the original it is Close) and T3Original (false for Fulks/Matulich calculation which is faster then the original Tim Tillson calculation)
regards

Mladen

dr.house7:
Hi mladen and happy new year !

i come back!

Could you please convert this indicator in mq5 format?

Best regards

Doc
drhouse7
Join date: 2009.04.16
Private message
#13

Thank you very much Mladen!

I really appreciate everithing you make more than necessary

hopefully than metatrader 5 will come soon for live trading...it's impressive how much is more faster and precise than 4 version.

Best regards

Doc

och
Join date: 2007.10.11
Private message
#14

NonLagMA

Hi Malden,

Could you please convert this indicator, you worked on into MQL5.

Regards,

mladen
Join date: 2006.10.03
Private message
#15

Missed the previous post

_________________________

Here is a metatrader 5 version of NonLag ma (not a conversion of the upper one, but a new one - it is a "pure non lag ma"). It has all the stuff that metatrader 5 allows : it is a non-repainting one, it can be applied to previous indicator data (so it can be applied to any data or any indicator you use) It also is showing that even metatrader 5 can be written simply : the latest indicators that are posted on metatrader 5 site are anything but simple (code wise) and since there is no reason whatsoever to write such coding monsters, this one might show that in any coding language (like mql4 and mql5) things can be written simply

Here is an example of a nlm applied to previous nlm as well as a nlm applied to momentum