Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

XWPR_Histogram_Vol - indicator for MetaTrader 5

Views:
3527
Rating:
(15)
Published:
2018.12.18 19:22
Updated:
2023.03.29 13:48
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

WPR_Histogram_Vol indicator with additional averaging of the resulting histogram. A similar averaging is applied to dynamic overbought/oversold levels as well.

//+-----------------------------------------+
//|  INDICATOR INPUTS                       |
//+-----------------------------------------+
input uint                WPRPeriod=14;             // indicator period
input ENUM_APPLIED_VOLUME VolumeType=VOLUME_TICK;   // volume 
input int                 HighLevel2=+20;           // overbought level 2
input int                 HighLevel1=+15;           // overbought level 1
input int                 LowLevel1=-15;            // oversold level 1
input int                 LowLevel2=-20;            // oversold level 2
input Smooth_Method       MA_SMethod=MODE_SMA_;     // Averaging method
input uint                MA_Length=12;             // Smoothing depth                    
input int                 MA_Phase=15;              // first smoothing parameter,
//---- for JJMA, changing within -100 ... +100, affects the transient process quality;
//---- for VIDIA this is CMO period, for AMA this is a slow average
input int                 Shift=0;                  // Indicator horizontal shift in bars

The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".


Fig. 1. XWPR_Histogram_Vol indicator

Fig. 1. XWPR_Histogram_Vol indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22427

XWPR_Histogram_Vol_HTF XWPR_Histogram_Vol_HTF

XWPR_Histogram_Vol indicator with the timeframe selection option available in input parameters

Exp_TimeZonePivotsOpenSystem Exp_TimeZonePivotsOpenSystem

The trading system based on the signals of the TimeZonePivotsOpenSystem indicator

Skyscraper_Fix_Candle Skyscraper_Fix_Candle

Skyscraper_Fix indicator in candle form

VR Donchian Lite MT5 VR Donchian Lite MT5

Classic Donchian Channel indicator