DrawDot code not working in NT7..? - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

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

DrawDot code not working in NT7..?
Started:June 6th, 2011 (10:00 AM) by prisonbreaker82 Views / Replies:1,419 / 2
Last Reply:June 6th, 2011 (11:52 AM) Attachments:0

Welcome to futures.io.

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

DrawDot code not working in NT7..?

Old June 6th, 2011, 10:00 AM   #1 (permalink)
Elite Member
Rio de Janeiro
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, IB
Favorite Futures: Equity & Futures
prisonbreaker82's Avatar
Posts: 312 since Jun 2010
Thanks: 57 given, 140 received

DrawDot code not working in NT7..?


I have this code written for NT6.5

DrawDot("IHdot" + CurrentBar.ToString(), true, HighBar, Indicator[HighBar], Color.Red);

The indicator is a MACD indicator and it should write a red dot on the high of the diff, but when I use NT7 the red dot is drawn on the zero line..

Any suggestions how to change the code to work in NT7?

Reply With Quote

Old June 6th, 2011, 10:00 AM   #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.


Old June 6th, 2011, 11:52 AM   #3 (permalink)
Elite Member
Berlin, Europe
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
Fat Tails's Avatar
Posts: 9,525 since Mar 2010
Thanks: 4,213 given, 24,792 received

The problem with your code is 'Indicator[HighBar]'. If you want the correct syntax, you need to post your indicator, as it really depends on the rest of the code, which I do not know.

Reply With Quote
The following user says Thank You to Fat Tails for this post:


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > DrawDot code not working in NT7..?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

An Afternoon with FIO trader bobwest

Elite only

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
Renko bars not working in NT7 tellytub NinjaTrader Programming 109 January 23rd, 2012 12:56 PM
MIT/LIT anyone with good working example code? Trader.Jon NinjaTrader Programming 9 March 28th, 2011 07:26 PM
PlotColors Code for NT7 jharthun NinjaTrader 13 November 16th, 2010 07:59 PM
Copy and paste not working for NT7 Fat Tails NinjaTrader 5 May 24th, 2010 07:46 PM
NT7 built-in Pivots not working fskidd NinjaTrader 2 December 27th, 2009 01:09 AM

All times are GMT -4. The time now is 06:49 PM.

Copyright © 2016 by futures.io. 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-25 in 0.07 seconds with 19 queries on phoenix via your IP