Depth of Market (DoM) history problems

 

Dear Coders!

Is there any way or constant or parameter to find Type column in depth of market history data? you can see example in attached pictures.

I searched in MQL5 document and forum, But I didn't find anything.

thanks in advance

Depth of Market


     
    MQL5 Cookbook: Implementing Your Own Depth of Market
    MQL5 Cookbook: Implementing Your Own Depth of Market
    • www.mql5.com
    MQL5 language is constantly evolving and offering more opportunities for operation with exchange information every year. One of such exchange data types is information about Depth of Market. It is a special table showing price levels and volumes of limit orders. MetaTrader 5 has a built-in Depth of Market for displaying limit orders, but it is...
     

    dear @demoinvest,

    thanks for your help, but I already saw this article and what I want is not in this article,

    let me more clear, please see below image,

    I get Red box by this function "MarketBookGet()",

    Yellow line parameter by

    last_price = SymbolInfoDouble(_Symbol, SYMBOL_LAST);

    Blue line parameter by

    last_vol = SymbolInfoInteger(_Symbol, SYMBOL_VOLUME);

    But I want to know the Green box, :(


    sample

     
    Koros Jafarzadeh:

    dear @demoinvest,

    thanks for your help, but I already saw this article and what I want is not in this article,

    let me more clear, please see below image,

    I get Red box by this function "MarketBookGet()",

    Yellow line parameter by

    Blue line parameter by

    But I want to know the Green box, :(



    You need to use CopyTicks() or CopyTicksRange().
     
    Alain Verleyen:
    You need to use CopyTicks() or CopyTicksRange().
    Dear @Alain Verleyen,  


    Now I realized, thanks for you tips.