Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 20:02:19 +0000



Post From: Market Depth Historical Graph - number of levels

[2019-01-21 21:15:51]
User132748 - Posts: 159
My chart settings are standard for crude. No modifications there. Also settings for depth study colors are not a problem here (i set both to 0 as you asked).

Here you have some screens with different levels setting. No real logic there.

Also im not sure about your number of levels exlpanation. If I set it to 200 I expect to have 100 bids and 100 offers starting from current price. Of course it doesnt mean that it will show all 100 prices up and down as depth at some prices can be zero so it should iterate all 100 available levels from price up/down. It should be excatly same logic as in sc.GetAskMarketDepthEntryAtLevel() and sc.GetBidMarketDepthEntryAtLevel() and where I can call sc.GetAskMarketDepthNumberOfLevels() function to look for actual depth levels available here you should just set this as constant value (study input) and just iterate up and down from price.
imagesettings.JPG / V - Attached On 2019-01-21 21:02:25 UTC - Size: 119.43 KB - 256 views
imaged1.JPG / V - Attached On 2019-01-21 21:02:30 UTC - Size: 148.11 KB - 277 views
imaged3.JPG / V - Attached On 2019-01-21 21:03:52 UTC - Size: 156.96 KB - 270 views