Attachments forums

List of attachments posted on this forum.


All files on forums: 135723

Re: Something interesting please post here (Metatrader)

bilbao, Sun May 15, 2022 8:22 pm

ClusterBox indicator + ClusterBox Based Alert for MT4

For each candlestick of any timeframe there is a corresponding amount of ticks that formed it. On Forex charts this trait is displayed as Volume, although it has no direct relation to the real trade volumes. However, the tick volume data can be in the same way as the real volume data.

The information about the ticks that came before the indicator was attached are taken from the special tick file, which is formed with the help of the Ticks collector. If the history rendering is not required, then the indicator values will appear in real-time, provided the new ticks arrive.

About the ClusterBox indicator:

The ClusterBox indicator displays the detailed picture of tick distribution inside the candlestick, if it is split into several clusters. Each cluster is characterized by height, set in points (the "Amount of points in one cluster" parameter). Therefore, each candlestick will contain a different amount of clusters depending on its height.

Depending on the size of the accumulated tick volume, the text label indicating the amount of ticks in the cluster will be represented by a certain color.
Accordance between the minimum tick volume level and the color which represents that level is set in the related parameters "Minimal volume. Level N" and "Color of level N". Therefore, the tick volume that is greater than the value of the "Minimal volume. level 5" parameter is represented by a color specified in the "Color of level 5" parameter.

About the Clusterbox Based Alert by Jeanlouie

  • uses the clusterbox_ad indicator, which clusters volumes into evenly spaced levels, needs it to be running
  • 2 signal options; which candle half has the greater sum of clustered volumes, and which half has the largest cluster volume
  • middle cluster on odd clustered candles is ignored, it's common to both halves
  • optional texts for each
  • optional placement of arrows and texts, styling
  • both top/bot half signals are as buffers, for calling, just check if the icustom index is non zero or not empty
All files in topic