The indicator is recompiled in MT5 build 3041.
A new DemandAndSupplyDifference mode has been added to the list of modes of the input Mode variable, which displays the difference between the DemandAndSupply curves.
A new AsColoredHistogram mode has been added to the list of modes of the input variable CumDeltaDrawing, where the values of the histogram columns above and below zero are displayed in different colors.
The indicator is compiled in MT5 build 2875.
The input variable CumDeltaDrawing switches the way the cumulative delta is displayed - either as a curve or as a histogram.
The indicator is compiled in MT5 build 2715.
The indicator is recompiled in MT5 build 2715.
The indicator is recompiled in MT5 build 2650.
Displaying the values of the demand and supply curves in Mode=DemandAndSupply is converted to percentages. The 100% reference value is the largest value of the demand curve (or supply curve), that is located on the right-to-left side of the last candle and up to the left border of the chart window, or that is located on the right-to-left side of the last candle and the amount specified in the input variable BarsLimit.
A full recalculation (in any mode) the indicator still performs once a minute, at the moment when a new candle appears on the M1 timeframe, and regardless of which timeframe is selected in the input variable Timeframe.
Using the input variable Timeframe, user can select the timeframe that the indicator will work with directly, which allows to place multiple instances of the indicator in the same chart window, but with results from different timeframes displayed.
Using the input variable DsSmoothing user can enable or disable curves smoothing for the DemandAndSupply and DemandAndSupplyRatio modes.
Using the input variable DsPeriod user can set the period (if the value is zero, the period is assigned automatically) for calculating curves for the DemandAndSupply and DemandAndSupplyRatio modes.
The indicator is recompiled in MT5 build 2530.
Added a new feature DemandAndSupplyRatio that displays the ratio between demand and supply curves.
The function of tint the reverse bar is now also work in Delta mode.
In the mode Delta there are two display options that can be selected using the optional input variable DeltaDrawing:
UpOnly - the columns of the histogram are directed only upwards, regardless of the delta sign.
UpAndDown - the columns of the histogram are directed depending on the delta sign.
Added alerts for modes Delta, BuyAndSellVolumes, DemandAndSupply.
Alerts are triggered when the levels AlertLevelForDemand and AlertLevelForSupply are reached by the value on the current candle.
Fixed calculation of cumulative volume period in the DemandAndSupply mode for financial symbols having an additional short trading day.
Added new DemandAndSupply mode, which is displayed as a demand and supply diagram with two lines.
The green line shows demand, the red line shows supply.
The mode can be additionally managed using the DsContrast input variable:
DsContrast = 0 - no candlestick coloring,
DsContrast > 1 - coloring candlesticks,
DsContrast < -1 - reverse coloring.
No significant changes have been made. The indicator code has been slightly optimized in order to reduce the number of excessive cyclic calculations and, as a consequence, to reduce the load on the terminal.
In the CumDelta, CumDeltaDaily and CumDeltaWeekly modes, a price line based on Close prices of candles is scaled and displayed in the indicator window, in parallel with the cumulative delta line.