NexusFi: Find Your Edge


Home Menu

 





DepthBars issue / Market Depth in ASCIL


Discussion in Sierra Chart

Updated
    1. trending_up 1,116 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

DepthBars issue / Market Depth in ASCIL

  #1 (permalink)
payne1000
Warsaw, Poland
 
Posts: 2 since Jun 2016
Thanks Given: 0
Thanks Received: 0

Hi,

We now have full 50/50 DOM quotes on crude via CQG data. As this gives some extra info, other things get messy. For example Bid & Ask Depth Bar Study. I would like to analyse only first 10/10 DOM levels. There is such option but only regarding Historical Data as source.

I tried to access this myself via ASCIL

for (int Level = 0; Level < DEPTH_LEVELS; Level++)
{
BidDepth = BidDepth + (int) sc.SymbolData->BidDOM[Level].Volume;
AskDepth = AskDepth + (int) sc.SymbolData->AskDOM[Level].Volume;
}

But I see I miss a lot of spikes due to chart refresh set to 10ms. Somehow original Sierras DepthBars got all information with all spikes even with refresh set to 200+

Is there any better way to access full live depth data from ASCIL then that code above?

Thanks in advance!!!
Martin

Reply With Quote




Last Updated on February 1, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts