NEW! Updated on March 1 because of run time errors in NT7B10. Cleaned up the code in the OnMarketDepth method, and removed list row creation from Plot method.
The Histogram Width Factor gives you full control of that width, and is a double, not an integer. For the ES you might want to go as low as 0.15. Also note that the bar opacity is on a scale of 0 to 255.
The histogram will auto scale according to the width of the chart, to always leave some space to the left of the longest histogram bar regardless of your Histogram Width Factor setting.
You can also select the number of rows to display with MaxRows, under Level II Settings. For most instruments, you can get a maximum of ten levels of bid and ask.
Thanks to John Thom for the original version and to RJay for the updated version. All I did was make it run in NT7. I am a strong advocate of migrating to NT7 ASAP.
NinjaTrader 7.0: Yes - Zondor
Category The Elite Circle
|
|
|