Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Vues:
6084
Note:
(17)
Publié:
2018.11.20 12:51
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Real author:

Eva Ruft

A simple indicator that calculates rounded volatility of a financial asset. Volatility is calculated in points based on the maximum and minimum prices.

The volatility is calculated using a simple MA as the sum of the maximum prices for the averaging period minus the sum of minimal prices for the same period. The resulting value is converted into points and rounded according to the coordinate grid step defined by the StartLevel and LevelsStep input values.

Inputs:

//+-----------------------------------+
//|   INDICATOR INPUT PARAMETERS      |
//+-----------------------------------+
input  ENUM_MA_METHOD   MAType=MODE_SMA;           // smoothing method
input uint              VolatilityPeriod=5;        // indicator period
input int               Shift=0;                   // horizontal indicator shift in bars
input uint              LevelsTotal=20;            // number of levels
input uint              StartLevel=100;            // initial level
input uint              LevelsStep=100;            // distance between levels
input color             LevelsColor=clrDarkOrange; // color of levels

Fig. 1. Volatility2Step indicator

Fig. 1. Volatility2Step indicator

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/22963

OHLC Channel OHLC Channel

The indicator based on two indicator buffers (DRAW_LINE style)

Volatility2Step_Alerts Volatility2Step_Alerts

Volatility2Step indicator provides alerts, sends email and push notifications when the indicator breaks through the trigger level specified in the inputs.

Bruno Bruno

Multiple strategies within a single Expert Advisor. When two or more strategies are activated, a position lot is increased exponentially.

T3_Price_Overlay T3_Price_Overlay

T3 Price Overlay indicator