.

## Metatrader 5 Versions of indicators.

Moderators: mntiwana, mrtools

### Re: Metatrader 5 Versions of indicators.

#221

Probability levels based on ATR. "Probability" is calculated based on the projected Average True Range and previous period Close.
Defaults are using daily period, but any time frame supported by MetaTrader 5 can be used.
Attachments
ATR Probability Levels.mq5
atr prob.png (26.77 KiB) Viewed 1635 times

### Re: Metatrader 5 Versions of indicators.

#222
mrtools wrote:
Wed Feb 14, 2018 5:35 am

Probability levels based on ATR. "Probability" is calculated based on the projected Average True Range and previous period Close.
Defaults are using daily period, but any time frame supported by MetaTrader 5 can be used.
Probability based on what? Does it display a percent? tks

### Re: Metatrader 5 Versions of indicators.

#223

RSI that can use 4 different types of averages for RSI calculation was originally developed for MetaTrader 4 by Igor Durkin ( (originally posted here: https://www.mql5.com/en/forum/175870).

Igor Durkin:

...

So-called normal RSI uses EMA smoothing with period = 2*Length-1 (or Wilder's smoothing with period=Length).

I've developed RSI indicator with my algorithm of calculation.

Now you can use any values for length and any kinds of smoothing.

...

This version can use up to 2 Moving Averages applied to that RSI in order to filter out some false signals (when RSI is used in combination with levels crosses). In this version you can use smoothed values of the RSI for signals. To set any of the averages off, set the average period to less than or equal to 0.

Recommendations
>>>Use some short period for fast period (default is 2) to help filtering out some of the RSI sudden value and direction hanges.
>>>>Use some longer period for slow period (default is 8).
>>>>Try using the crosses of the averages as signals.
Attachments
Rsi(var) with averages.mq5
rsi var.png (19.45 KiB) Viewed 1621 times

### Re: Metatrader 5 Versions of indicators.

#224
TzPivot for MT5.
Attachments
TzPivots.mq5
Rule No.1: Never lose money. Rule No.2: Never forget rule No.1.

### Re: Metatrader 5 Versions of indicators.

#225

Relative Vigor Index indicator used in technical analysis to measure the conviction of a recent price action and the likelihood that it will continue. The RVI compares the positioning of a security's closing price relative to its price range, and the result is smoothed by calculating an exponential moving average of the values.

The indicator is calculated by using the following formula:

RVI = Close - Open
High - Low

This indicator has an addition of inverse Fisher Transform to the RVI.

The Inverse Fisher Transform normalizes the values in the desired range (-1 to +1 in this case) which helps in assessing the overbought and oversold market conditions.
Attachments
ift rvi.png (21.7 KiB) Viewed 1540 times
Inverse Fisher RVI.mq5

### Re: Metatrader 5 Versions of indicators.

#226
mrtools wrote:
Thu Feb 15, 2018 3:16 am

Relative Vigor Index indicator used in technical analysis to measure the conviction of a recent price action and the likelihood that it will continue. The RVI compares the positioning of a security's closing price relative to its price range, and the result is smoothed by calculating an exponential moving average of the values.

The indicator is calculated by using the following formula:

RVI = Close - Open
High - Low

This indicator has an addition of inverse Fisher Transform to the RVI.

The Inverse Fisher Transform normalizes the values in the desired range (-1 to +1 in this case) which helps in assessing the overbought and oversold market conditions.
Dear mrtool, do you have heiken ashi with mtf and alerts for MT5 ?

### Re: Metatrader 5 Versions of indicators.

#227
Smart Grid MT5

Smart Grid MT5 automatically recognizes any symbol, period and scale of the chart and marks it up accordingly.

It is possible to mark up the chart by trading sessions. The grid consists of the two main line types.

Vertical lines
There are two visualization methods :
1. Standard - the lines are divided into three types, separating :
- Small time period.
- Medium time period.
- Large time period.
2. Trading Session - the lines are divided into groups (a total of ten).
Each group has two lines: the first is responsible for the opening of the trading session, the second for the closing.

Horizontal lines
They are divided into two types, separating :
- Medium price period.
- Large price period.
Division value depends on the chart period and scale.

Description of some time periods :

5 minutes :
- Small time period divides the chart into segments of 4 hours each, and any candle on H4 chart corresponds with a certain segment on M5 chart.
- Medium time period divides the chart by days.
- Large time period divides the chart by weeks.

1 hour :
- Small time period is absent.
- Medium time period divides the chart by days.
- Large time period divides the chart by weeks. This division allows you to quickly see the end of the past and the beginning of the next week on H1 chart making it easy to determine the day of the week in any part of the chart.

4 hours :
- Small time period is absent.
- Medium time period divides the chart by weeks.
- Large time period divides the chart by months.

The grid supports all time periods, including non-standard ones.

Some input parameter features

1. Method of visualization - select the visualization method.
2. Trading Session' method will work during this period and less - added to forcibly disable the visualization method on the higher time periods. If this method is selected and the time period changes for a larger one or a compression occurs, then the visualization will be performed using the "Standard" method. It should also be noted that compressed charts are regarded by the grid as having a higher timeframe, for example, compressed M15 is H1, M5 is M30, etc.
3. The general color of the grid - set color for the entire grid. You can change the color of the lines belonging to a certain type only if the parameter is set to NONE.
4. Set hotkey for these settings (a, B, c, ..., or 0, 1, 2, ...) - create a "hot key" for the current configuration. This significantly facilitates changing the grid representation between the "Standard" and "Trading Session" methods or between their variations.
5. I will use the time in GMT (auto switch to the local time) - shift the set time for the trade session lines relative to GMT.

Notes

- When attempting to modify parameters of a previously attached "indicator" with a non-empty "hot key" value, the changes might not take place. For the changes to take effect, press the corresponding "hot key".
- Suitable keys are "A" through "Z" or "0" through "9", except for "R" (Refresh).
- The "hot keys" of the indicator do not conflict with the "hot key" combinations of the terminal.
- The "hot keys" work on any chart of the terminal, where the "indicator" is running with a non-empty "hotkey" value.
- To disable the "hot keys" feature, clear the corresponding edit box. It will be disabled only on the current chart.

Important

- The "Trading Session" method does not take holidays into account. Therefore, the lines may be shifted, not displayed or displayed incorrectly during such periods.
- Tooltips are not displayed in testing: hovering the mouse over a line shows its original name instead of the tooltip.
- To increase usability, the horizontal lines do not separate an explicitly set range (which causes excessive compression/stretching of these lines among themselves during periods of high/low volatility), but rather a dynamically selected one, which takes a number of factors into account. Also, the price range will always be smoothed and have the form - 10, 20, 50, 100, 200, 500, 1000 points, etc.
Attachments
Smart Grid MT5.ex5
Always looking the GREAT, never left GOOD Point...

### Re: Metatrader 5 Versions of indicators.

#228

Williams' Percent Range Technical Indicator (%R) is a dynamic technical indicator, which determines whether the market is overbought/oversold. Williams' %R is very similar to the Stochastic Oscillator. The only difference is that %R has an upside down scale and the Stochastic Oscillator has internal smoothing.

Indicator values ranging between -80% and -100% indicate that the market is oversold.
Indicator values ranging between -0% and -20% indicate that the market is overbought.
To show the indicator in this upside down fashion, one places a minus symbol before the Williams' Percent Range values (for example -30%). One should ignore the minus symbol when conducting the analysis.

The DSL version of Williams' Percent Range does not use fixed levels for oversold and overbought levels, but is having a sort of dynamic (discontinued signal lines) calculated to identify those levels. That makes it a bit more responsive to market changes and volatile markets.
Attachments
Dsl - WPR.mq5
dsl wpr.png (22 KiB) Viewed 1375 times

### Re: Metatrader 5 Versions of indicators.

#229

This is a conversion of Kalman bands originally developed by Igor Durkin. Values are the same as MetaTrader 4 version except that we are using possibilities that MetaTrader 4 does not have to make the indicator easier to use.
Attachments
Kalman bands.mq5
kalman bands.png (29.95 KiB) Viewed 1374 times

### Re: Metatrader 5 Versions of indicators.

#230

One more from the creations of John Ehlers.

Best described by Ehlers himself:

John Ehlers:

Take EMA of price (better, a 3 Pole filter).
Take the difference (delta) between Price and its EMA.
Take an EMA of delta (or a 3 Pole filter):
Smoothing will help reduce whipsaws.
Ideally, smoothing introduces no major trend mode lag because delta is detrended.
Add the smoothed delta to EMA for a zero lag curve.
Add 2*(smoothed delta) to EMA for a smoother predictive line.
Attachments
non linear kalman.png (24.3 KiB) Viewed 1374 times
Nonlinear Kalman filter.mq5

1. ### Similar Topics

1. #### Metatrader 4 Versions of indicators.

6 Replies 269 Views

by shaileshm, Wed Nov 28, 2018 12:08 am in MT4 Indicators

6 Replies
269 Views
Last post by appsoluxions
Wed Nov 28, 2018 2:09 am
2. #### Metatrader 5 Versions of Momentum,Velocity and ROC indicators

4 Replies 1070 Views

by mntiwana, Wed Sep 27, 2017 3:02 pm in MT5 Indicators

4 Replies
1070 Views
Last post by mntiwana
Fri Nov 30, 2018 5:57 am