• Overview
  • Reviews (3)
  • Comments (42)
  • What's new

Demand And Supply Diagram MT4

The balance of supply and demand is a simple and effective market analysis method.

The supply and demand diagram can show you in advance, even before the trend reversal, where the supply ends and the demand is already emerging, where the demand ends and the supply is emerging, while substantially increasing the probability of making a deal in the right direction and with a high profit factor.


Indicator Signals

The indicator uses the price/volume values to generate signals:

  • ED – excess demand.
  • ES – excess supply.
  • ND (No demand) – no demand (accompanied by a warning message "Sell area").
  • NS – no supply (accompanied by a warning message "Buy area").

It also monitors the sequence of these signals, determines the elasticity of demand/supply to the price and gives a confirmation message "Buy point" or "Sell point".


Input Variables

  • Alerts – enables/disables additional showing of signals in the alert window, as well as additional push messages.
  • Advise - enables/disables trading tips.
  • Labels – enables/disables the display of signal labels on the chart.
  • Viewing – enables/disables the full display of the diagram (Alerts and Advise retain their functionality, if they are enabled).
  • Position – location of the diagram along the time scale.
  • Average - calculation mode of the diagram's midpoint, moving average or weighted average based on volume.
  • Deviation - calculation mode of the diagram's amplitude, the maximum deviation, the standard deviation or the deviation based on the Hurst exponent.
  • Signal - data set (supply and demand and/or total volume) to be used for generation of the trade signal.
  • Reverse - enable/disable the diagram calculation mode in terms of limit orders.
  • ExcessValidate - the mode of tracking subsequent chains of signals, this option works as a filter.
  • ElasticityValidate - check the elasticity of supply/demand to the price, with selection of the position opening type; the option acts as an additional filter.
  • Profile - calculation mode of volume profile: normal profile, difference profile and profile of open interest, mathematically obtained by successively zeroing the mutually exclusive volumes.
  • Timing - diagram recalculation frequency.
  • Volumes – type of volumes, tick or real if provided by the broker.
  • TfShift – shift of the applied period.
  • Correlation - enable/disable the mode of checking the correlation between the trade signals of the current and the higher timeframes.
  • LowLevelValue – below this value the volume is considered as low, in percent.
  • LowestLevelValue – below this value the volume is considered as very low, in percent.
  • HighLevelValue - above this value the volume is considered as high, in percent.
  • HighestLevelValue - above this value the volume is considered as very high, in percent.
  • PeriodForXX – an arbitrary period for a specific timeframe.
  • DurationParts – the number of the diagram sectors along the time scale.
  • StandardDeviations - multiplier for the standard deviation mode.
  • HurstExponent - Hurst exponent to calculate the deviation.
  • ProfileMaxLengthPix - limit on the profile length in pixels.
  • LeftShiftPix – shift of the diagram to the left, in pixels.
  • WidthPix – width of the diagram, in pixels.
  • FontSize – font size.

The remaining inputs refer to line color and width settings, and their purpose is clear from their names.


Indicator operation features

The presence of a "Buy point" / "Sell point" is expressed by a text message, and also accompanied by a flashing of the relevant price tag. Only these two combinations together should be perceived as a valid presence of the signal.

The full recalculation of the diagram is performed according to the Timing variable, a signal is checked on every tick.

A line with a width of zero is not displayed and is not considered in the formation of signals.

You can scroll the chart and view its historic diagram and signals.

Alerts and trading tips are given for the periods ranging from current and higher.

The volumes on the diagram are cumulative and normalized to the percentage calculation.

Peter
813
Peter 2018.01.31 07:17 
 

Most fascinating indicator with a lot of potential.

CoolBFG
219
CoolBFG 2017.12.12 22:54 
 

Хороший индикатор, рекомендую.

tradertb
229
tradertb 2017.11.12 20:16 
 

From what I can see and what I have tried with real money is, it doesn't work. It repaints really bad and gives false signals most of the time. Complete waste of money in my opinion! Check out how many times I got suckered by false signals from the indicator.

http://prntscr.com/h9k5fs. The author trades by demo, not real markets and real money and emotion.

Version 2.5 2018.07.17
Added one more option to the Deviation input parameter - deviation based on Hurst coefficient.
Version 2.4 2018.03.28
Added display of demand/supply elasticity relative to price.
Switching between volume and elasticity curves is performed by double-clicking the horizontal axis line (VolumeMidpointLevel graphical object).
Version 2.3 2018.03.14
Improved the algorithm for checking the elasticity in the TfShift mode.
The ED and ES signals are now accompanied by the messages «Close sell position» and «Close buy position» as a recommendation to a partial or complete closure of the corresponding position.
Version 2.2 2018.03.02
Fixed algorithm for checking correlation with an older timeframe.
Added algorithm for checking volatility to avoid signals in too narrow flat periods of the market.
Version 2.1 2018.02.15
The source code of the indicator has been checked and optimized to prevent errors that were not previously observed, but could potentially occur under certain conditions.
Version 2.0 2018.02.07
The FillingValidate function has been replaced by a more advanced ElasticityValidate function, which checks the elasticity of supply/demand to the price.
Version 1.9 2017.12.12
The ExcessValidate and Direction functions have been combined into one ExcessValidate function.
Fixed error in calculating the length of the daily diagram for trading symbols having an additional short trading day.
Version 1.8 2017.11.03
Added the algorithm for checking the synchronization of the history data.
Version 1.7 2017.10.26
Fixed the diagram truncation error in the TfShift mode.
Added clarifying signals "Buy point" and "Sell point" to the «Buy area» and "Sell area" signals, which are formed when the price reaches the Lowest or Highest levels, respectively.
Version 1.6 2017.10.18
Improved the algorithm for adjusting the diagram by elasticity of supply and demand.
Version 1.5 2017.10.13
Improved the algorithm for tracking the ED->ND and ES->NS signal chains.
Fixed an error in calculation of the volume profile in the Difference mode.
Version 1.4 2017.10.04
Following the results of the multiple trading strategy tests, supply and demand volumes are represented from the perspective of limit orders.
Version 1.3 2017.09.20
Added display of supply and demand volumes profile.
Version 1.2 2017.09.06
Optimized the source code and significantly increased the indicator's operation speed (including in the strategy tester) without losing the accuracy of the calculated values.
Version 1.1 2017.08.29
In version 1.1, the indicator calculates data and tracks signals for all chart timeframes simultaneously, i.e. it is multitimeframe.
Alerts and trading tips are given for the periods ranging from current and higher.
In addition, the indicator displayed the weighted average price line, and also places the signal labels directly on the chart.
The signal labels and trading tips can be generated only when there is a permanent connection to the broker's server. To restore the chains of signals lost due to disconnection from the broker's server, scroll the chart into the history.