• 概要
  • レビュー (1)
  • コメント (26)
  • 最新情報

Demand And Supply Diagram MT5

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 (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 or standard deviation.
  • 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 - standard deviation mode multiplier.
  • 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.


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 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.

peep
105
2018.05.15 11:54 
 

Excelent job! :) It would be great to integrate Hurst exponent as an auxiliary price movement ;)

バージョン 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).
バージョン 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.
バージョン 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.
バージョン 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.
バージョン 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.
バージョン 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.
バージョン 1.8 - 2017.11.03
Added the algorithm for checking the synchronization of the history data.
バージョン 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.
バージョン 1.6 - 2017.10.18
Improved the algorithm for adjusting the diagram by elasticity of supply and demand.
バージョン 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.
バージョン 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.
バージョン 1.3 - 2017.09.20
Added display of supply and demand volumes profile.
バージョン 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.
バージョン 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.