fbpx
Indicators Metatrader 5Support & ResistanceVolume

Mini POC

Mini POC

For those who struggle with overbloated Volume Profile/Market Profile indicators, here is a solution that contains only the Point of Control (POC) information. Super-fast and reliable, the Mini POC indicator presents this vital information visually within your chart. Totally customizable in splittable timeframes, type of Volume, calculation method, and how many days back you need.

SETTINGS

  • Timeframe to split the POCs within the day.
  • Volume type to use: Ticks or Real Volume.
  • Calculation method. Recommended: OHLC/4.
  • How many past days do you need. Limiting the amount of days will speed up the calculation process. 0 = current day only.
  • Do you need the POCs for the current day or just yesterday’s data and the following days ago?
  • Do you need just the immediately previous POC?
  • Timer to refresh (data update) the POC lines on the chart. REMEMBER: The faster the update more CPU will be needed to recalculate the data! Be conscious!
  • Use/Fill the internal data buffer for your EA to read?
  • Show/hide success/fail messages on MT5’s log window.
  • Symbol name to get Volume and POC. Leave blank if you want the data from the current chart/symbol.
  • Prefix names for the POC lines. Useful for EA’s: additionally to the Prefix name, the indicator adds to the POC lines the reference of Day, Hour and Minute.
  • Lines color.
  • Lines style.
  • Lines width.
  • Extend the lines to the right side of the chart?

PLEASE NOTE

That when the market is closed your Metatrader will stop receiving “ticks” from the Brokers server, so if you are calling the POCs from another SYMBOL, it could fail. Sometimes changing the timeframe on your chart will do the trick, but it is not guaranteed. This is a Metatrader limitation.

Data from the current Symbol is OK and it will work perfectly.

 

READING LINES FROM EA

Every line that MiniPOC generates follows the rule:

PREFIX + “_” + SYMBOL + “_” + POC TIMEFRAME + “_D” + DAY + “_H” + HOUR + “_M” + MINUTE

Example:

MLABS_POC_WDOK20_D_D07_H00_M00

 

READING THE DATA BUFFER

Optionally you can read the MiniPOC buffer data via iCustom(). Use the #0 for it. When Calling iCustom() with the standard parameters, the indicator INPUTS needed are the following (property / Data Type):

  • Timeframe for POCs / ENUM_TIMEFRAMES
  • Volume Type to use / (VOLUME_REAL ou VOLUME_TICK)
  • Calculation Method /
         ML_CALC_METHOD_HL2=1,               // HL / 2
         ML_CALC_METHOD_OHLC4=2,         // OHLC / 4
         ML_CALC_METHOD_C=3                     // Close
  • How many past days to draw zones? / Integer value
  • Draw Lines for the Current Day? / True or False
  • Draw ONLY the last previous POC of the TF selected? / True or False
  • Timer (min) to refresh the Lines (new and old) /

ML_WAIT_NONE=0, // None
ML_WAIT_5SEC=5, // 5 seconds
ML_WAIT_10SEC=10, // 10 seconds
ML_WAIT_15SEC=15, // 15 seconds
ML_WAIT_30SEC=30, // 30 seconds
ML_WAIT_45SEC=45, // 45 seconds
ML_WAIT_1MIN=60, // 1 minute
ML_WAIT_2MIN=120, // 2 minutes
ML_WAIT_3MIN=180, // 3 minutes
ML_WAIT_4MIN=240, // 4 minutes
ML_WAIT_5MIN=300, // 5 minutes
ML_WAIT_10MIN=600, // 10 minutes
ML_WAIT_15MIN=900, // 15 minutes
ML_WAIT_20MIN=1200, // 20 minutes
ML_WAIT_30MIN=1800, // 30 minutes
ML_WAIT_1HOUR=3600, // 1 hour
ML_WAIT_2HOUR=7200, // 2 hours
ML_WAIT_3HOUR=10800, // 3 hours
ML_WAIT_4HOUR=14400, // 4 hours
ML_WAIT_5HOUR=18000, // 5 hours
ML_WAIT_6HOUR=21600, // 6 hours
ML_WAIT_7HOUR=25200, // 7 hours
ML_WAIT_8HOUR=28800, // 8 hours
ML_WAIT_9HOUR=32400, // 9 hours
ML_WAIT_10HOUR=36000, // 10 hours
ML_WAIT_11HOUR=39600, // 11 hours
ML_WAIT_12HOUR=43200 // 12 hours

  • Fill Buffer Data with POCs for my EA (buffer #0)? / True or False
  • Show Success/Fail feedback messages in Log window? / True or False
  • Symbol name (blank for current chart) / String
  • Prefix name of the Lines / String
  • Lines Color
  • Lines Style
  • Lines Width
  • Extend Lines to the Right side? / True or False

Example

// loads up the MiniPOC indicator...
hPOC = iCustom( _Symbol, _Period, "Market\\Mini POC.ex5",
                PERIOD_M15,         // POC timeframe
                VOLUME_REAL,
                2,                  // ML_CALC_METHOD_OHLC4
                0,                  // how many days back
                true,               // draw current TF bars?
                true,               // draw only one POC?
                900,                // refresh time for reload POCs (15 min = 900sec)
                true,               // fill buffer data for ENTRY.POC indicator
                false,               // show feedback messages
                "",                 // symbol to analyze
                "MLABS_POC_EA_",    // Prefix for POCs
                clrYellow,          // line colors
                STYLE_SOLID,
                2,                  // line width
                false               // Extend lines to the Right?
               );

 

 

If you like this indicator, all I am asking is a little Review (not a Comment, but a REVIEW!)…

This will mean A LOT to me… And this way I can continue to give away Cool Stuff for Free…

With No Strings Attached!  Ever!

Live Long and Prosper!

😉

 

 

GET YOUR INDICATOR HERE…

Artigos relacionados

3 Comentários

  1. Hello I tested the indicator in an EA but I couldn’t get the buffer. I must be doing something wrong. Can you help me?

    handlePoc = iCustom ( _Symbol, _Period, “Mini POC” ,
    _Period, // cronograma POC
    VOLUME_REAL,
    2, // ML_CALC_METHOD_OHLC4
    0, // quantos dias atrás
    true , // desenha as barras TF atuais?
    false , // desenha apenas um POC?
    300, // tempo de atualização para recarregar POCs (15 min = 900seg)
    true , // preenche os dados do buffer para o indicador ENTRY.POC
    false , // mostra mensagens de feedback
    “” , // símbolo para analisar
    “MLABS_POC_EA_” , // Prefixo para POCs
    clrRed, // cores das linhas
    STYLE_SOLID,
    2, // largura da linha
    true // Estender linhas para a direita?
    ) ;

    //This line does not load the buffer
    CopyBuffer(handlePoc,0,5,2,mediaPoc);

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Verifique também
Fechar
Botão Voltar ao topo