The input variable “HistoryLoadMode”, as a drop-down menu, sets the history loading mode in several options:
1. “FromSpecifiedTime” - by the start date/time specified in the input variable “HistoryStartTime”.
2. “InMonths” - by the number of months (from the beginning of the month) specified in the input variable “HistoryMonths” (value 0 means from the beginning of the current month).
3. “InWeeks” - by the number of weeks (from the beginning of the week) specified in the input variable “HistoryWeeks” (value 0 means from the beginning of the current week).
4. “InDays” - by the number of days (from the beginning of the day) specified in the input variable “HistoryDays” (value 0 means from the beginning of the current day).
5. “InHours” - by the number of hours (from the beginning of the hour) specified in the input variable “HistoryHours” (value 0 means from the beginning of the current hour).
With the advent of the input variable “HistoryLoadMode”, the input variable “BarsLimit” have been abolished as unnecessary.
When calling the indicator from outside, use the input variable “RecalculationTiming” with a negative value (any value), which specify to the indicator that it was called from outside.
The indicator is recompiled in MT5 build 3521.
The new "Relative volume" mode has been added to the list of modes of the input variable "Mode".
To control this mode, the input variable "RvPeriod" has been additionally created, which sets the calculation period.
In this version, an attempt has been made to eliminate the error "cannot set millisecond timer” that occurs when the indicator is called from the outside.
A new input variable “Timing” has also been added, which sets the frequency of recalculation in milliseconds.
When calling the indicator from outside (from another indicator or from EA), the value of this input variable must be set to zero.
The indicator is compiled in MT5 build 3311.
The indicator is recompiled in MT5 build 3285.
The input variable Volumes has been renamed to VolumesType.
The new input variable VolumesMode switches the method of decomposition of candles volumes into buyers and sellers volumes :
- All - the whole volume is involved in decomposition.
- Active - only the volume that produced the movement is involved in decomposition.
The indicator is compiled in MT5 build 3249.
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.
funciona muito bem e com diversas formas de visualização