Help with drawtext - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Help with drawtext
Started:July 11th, 2015 (05:22 PM) by floyd084 Views / Replies:227 / 1
Last Reply:July 11th, 2015 (05:22 PM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Help with drawtext

Old July 11th, 2015, 05:22 PM   #1 (permalink)
Elite Member
boston, ma
Futures Experience: Intermediate
Platform: NT7
Broker/Data: amp/zenfire
Favorite Futures: es
Posts: 10 since Feb 2010
Thanks: 3 given, 0 received

Help with drawtext

I'm trying to create an indicator that records lvl2 depth ( volume and price) to a dataseries and then draw text of that dataseries at the bar it was associated with. Im able to collect and then draw the text, 10 ask levels and 10 bid levels per bar using a range bar chart.

I'm writing to the dataseries OnMarketDepth() to get the current depth and then using drawtext OnBarUpdate() for each level of depth to draw past bars bid/ask depth to 10 levels. after a few hundred bars my cpu usage starts increasing and scrolling the chart becomes very slow.

Whats the most efficient way to do this? Drawtext I hear is cpu intensive.

Reply With Quote

Old July 11th, 2015, 05:22 PM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Help with drawtext

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
DrawText - DrawTextFixed ceramictilepro NinjaTrader Programming 1 February 4th, 2014 12:35 PM
DrawText in subpanel, How? ECI Ed NinjaTrader Programming 3 October 21st, 2013 08:32 PM
DrawText() Problem when converting NT6.5 to NT7 qzhang119 NinjaTrader Programming 6 September 23rd, 2012 01:57 PM
N7 SwingHigh/Low DrawText ceramictilepro NinjaTrader Programming 7 February 7th, 2011 07:57 PM

All times are GMT -4. The time now is 06:53 AM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-27 in 0.06 seconds with 19 queries on phoenix via your IP