Problem get value for my custom indicator
i would like create a custom indicator. I need to know if is it possible get the Order buy and sell on specific Level of depth. I read the API but there Is only CumulativeDomAsks and CumulativeDomBids proprieties. I would like get it separatrly only the level interested. For example: only Buys level 1, Buys level 3, or Sells level 4 , or Sell level 10 etc... I dont want cumulate the values. I woud like to get it and display it. I want to choose what level display it in my custom indicator.
There are Api Proprety or method for get it?
For exanple in Ninjatrader i used:
protected override void OnMarketDepth(MarketDepthEventArgs e) ...etc...
...and for get the level of my interest:
private List askRows = new List();
private List bidRows = new List();
.... and after i use variable i get the levels of interest and display it.
Customer support service by UserEcho
To get flow of market depth changes you can use override following method:
Also you can get shapshot of all dom levels.
Here more info and examples: