XWPR_Histogram_Vol – indicator MetaTrader 5

Fig. 1. XWPR_Histogram_Vol indicator
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 … Read more