• Overview
  • Reviews (2)
  • Comments (56)
  • What's new

AnyProfile MT5

The indicator displays market profiles of any duration in any place on the chart. Simply create a rectangle on the chart and this rectangle will be automatically filled by the profile. Change the size of the rectangle or move it - the profile will automatically follow the changes.


Operation features

The indicator works on every timeframe available in the terminal, but it uses the history data of the smaller timeframes (relative to the current) - M1, M5, H1, H4 and D1. Before attaching the indicator, download the history of those periods by scrolling the chart using the mouse. If the required data is not available, the indicator will display a corresponding message, and will perform plotting only for the chart area that has the data.

Below the profile, its resulting balance is displayed, which represents the ratio between the buy and sell volumes. The value of balance is always not less than one. For example, if the balance value is 1.18 and the number is colored in green, this means that the buy volumes exceed sell volumes by 18%. And conversely, if the number is colored in red, this means that the sell volumes exceed the buy volumes by 18%.

The summary profile is calculated based on the data present within the visible area only.

If you do not want the rectangle to be filled by a profile, then rename it to any other name which does not include the word «Rectangle».


Indicator operation modes

  • Profile - regular profile.
  • ProfileDelta - profile with a color-difference delta.
  • ProfileDeltaLine - profile in the form of two lines, separately for buy and sell volumes. Such display method represents a graph of supply and demand.
  • ProfileImbalance - the mode of difference between the buyer volumes and seller volumes, or the delta profile.
  • ProfileMathOI - profile of open interest, obtained by successively zeroing the mutually exclusive volumes. Only the volumes not affected by this operation are displayed. This function is not performed for the summary profile.
  • NoVolumes - in this mode the candle volumes are not considered at all, profiles are plotted based on the "TPO" principle.
  • TickVolumes - tick volumes are used in calculations.
  • RealVolumes - real volumes are used in calculations, if broadcasted by the broker.


Description of Input Parameters

  • ProfileStepPoint - fixed step of profile calculation grid. It is set in "old" points, a value of 0.1 correspond to one "new" point. If set to zero, the calculation step is taken from the ProfileStepPointPix variable.
  • ProfileStepPointPix - dynamic step of profile calculation grid, in monitor pixels.
  • ProfileMaxLengthPix - length of the profile, specified in monitor pixels, which cannot exceed the specified value regardless of the capture area. If the value is zero, the function is not performed.
  • ProfilePriceArea - profile price area as a percentage. If the value is zero, the price area is not allocated.
  • ProfileInitBalance - in this mode, the profile of the initial balance is displayed inside the main profile, with its length set as a percentage of the main profile length. This function is not performed for the summary profile, as well as profiles directed from right to left.
  • ProfileDeltaContrast - contrast of the delta.
  • ProfileDeltaReverse - by default, the balance and delta are calculated in terms of market orders. This function activates the calculation mode in terms of limit orders.
  • ProfileTimingCalculation - recalculation timing in milliseconds.
  • ProfileFading - enable/disable the color fading mode.
  • BorderVisible - profile border visible/invisible.
  • SmartMode - in this mode, the profiles will be displayed only on the period and in the position where they have been created.
  • ProfileFontSize - profile text font size, if 0 no text is displayed.
  • BorderFontSize - font size of the text above the profile, if 0 no text is displayed.

The remaining input parameters are related to color settings, and their purpose is clear from their names.

Alexey Zotkin
167
2017.01.06 12:50 
 

Лучшего исполнения по данной теме не видел! Круто, спасибо.

Evgenii Akselrod
466
2016.07.18 08:25   

Очень крутой индюк! Качество торговли поднял невероятно!

Version 1.7 - 2017.02.24
Added multiple new features in the version 1.7:
1. Mode of displaying the profile in the form of two lines, separately for buy and sell volumes. In a sense, such display method represents a graph of supply and demand.
2. Mode of open interest, mathematically obtained by successively zeroing the mutually exclusive volumes. Only the volumes not affected by this operation are displayed in the profile. This function is not performed for the summary profile.
3. The indicator calculates the resulting profile of the balance. The balance is displayed by one number below the profile and it represents the ratio between the buy and sell volumes.
The value of balance is always not less than one. For example, if the balance value is 1.18 and the number is colored in green, this means that the buy volumes exceed sell volumes by 18%. And conversely, if the number is colored in red, this means that the sell volumes exceed the buy volumes by 18%.
If the balance value is equal to or very close to one, this means that the profile is almost balanced, that is, the buy are very close or equal to the sell volumes.
4. By default, the balance and delta are calculated in terms of market orders. The new ProfileDeltaReverse function activates the calculation mode in terms of limit orders.
Version 1.6 - 2016.10.14
Improved algorithm for calculating the color difference delta.
Set the profile in such a way as to capture the beginning and the end of the trend, and you will see clearly enough the green layers of buyers and the red layers of sellers within this trend.
Version 1.5 - 2016.07.22
Fixed negative values at profile clusters if the volume is too high.
Version 1.4 - 2016.07.11
Added the ability to select the type of the volumes (tick or real) used in the terminal to the indicator. If your broker broadcasts the values of real volumes to the MT5, set the value of the input variable RealVolumes=true, in this case, the indicator will use the real volumes in its calculations.
Version 1.3 - 2016.06.07
Added three new functions:
ProfileImbalance - in this mode, not simply the volume profile is displayed, but the profile of the difference between the volumes of buyers and the volumes of sellers, that is the delta profile.
ProfileInitBalance - in this mode, the profile of the initial balance is displayed inside the mail profile. This profile is calculated based on the data, the capture range of which is set as a percentage of the total length of the main profile, from left to right, starting from the beginning of the main profile. For example, if the main profile has a length of 8 hours, then the value of 12.5% is equivalent to 1 hour of the initial balance. The color of the initial balance profile is set using the ProfileInitBalanceColor variable. This function is not performed for the summary profile, as well as for the profiles directed from right to left. If the value is zero the function is not performed.
ProfileMaxLengthPix - the maximum length of the profile, specified in monitor pixels. In this mode, regardless of the profile capture area, its total visible length will not be greater than the specified value. If the value is zero the function is not performed.
Fixed the error with the summary profile becoming a normal profile when it is overlapped by new candles on the chart. The reference rectangle of the summary profile is now automatically positioned at the bottom, under the summary profile.
The ProfileStepPoint input variable now has a fractional type. This allows to set the grid step of the profiles in «new» points. The value of 0.1 corresponds to one «new» point.
The color of the reference rectangles automatically adjusts to the chart background color, but with a darker tone (slightly brighter tone for a black background). If you want to apply a different color, then set the ProfileRectangleColor input variable to any other color, except White.
Version 1.2 - 2016.05.27
The indicator works on all timeframes.
Improved the visual appearance and extended the indicator capabilities.
When the scale of the calculated grid is increased (ProfileStepPoint or ProfileStepPointPix), the numerical value of volume is specified not only along the POC line, but also on each cluster of profiles.
The initial position as well as the final position is displayed above the profiles. Depending on the timeframe, those will be the initial and final – time, and/or session (day of the week, month, date).
Added the ability to display the total (cumulative) profile. Create a rectangle in an empty space on the right beyond the graph, and the summary profile will appear in that area.
Scrolling the chart to history is allowed for the summary profile. When scrolling the chart, the summary profile will be plotted based on the data in the visible area, that is, the data to the left and right beyond the chart window are not considered in the calculations.
Added the color fading visual effect - ProfileFading.
Added the function of color difference delta - ProfileDelta. In this mode, the areas of prevailing Buys on the profiles is colored in green, that of Sells - in red. On the summary profile, respectively, blue/red.
Separate color variables are introduced for the summary profile:
ProfileSumInAreaColor – summary profile color in the price area.
ProfileSumOutAreaColor – summary profile color outside the price area.
ProfileSumPocColor – color of the POC line of the summary profile.
ProfileSumTextColor – text color on the summary profile.
Version 1.1 - 2016.05.11
In version 1.1 the principle of indicator management has been completely changed.
Now it is possible to create multiple custom profiles within one indicator running on the chart. Simply create a rectangle of required length on the chart and this rectangle will be automatically filled by the profile. The color of this rectangle will also automatically change according to the ProfileRectangleColor input parameter.
Note: If you do not want the rectangle to be filled by a profile, then rename it to any other name which does not include the word «Rectangle».