get color of plot as shown in databox? - NinjaTrader Programming | futures trading

Go Back

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

get color of plot as shown in databox?
Started:April 19th, 2012 (01:31 PM) by solondon Views / Replies:838 / 1
Last Reply:April 20th, 2012 (02:46 AM) Attachments:1

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

get color of plot as shown in databox?

Old April 19th, 2012, 01:31 PM   #1 (permalink)
Elite Member
London, UK
Futures Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Favorite Futures: FX,Metals
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received

get color of plot as shown in databox?


how do you examine the color value of a plot as shown in the databox (screenshoot) from code? example Plot1 at bottom changes color and i need to see when it changes from say Green to red

many thanks,

Please register on to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote

Old April 20th, 2012, 02:46 AM   #2 (permalink)
Elite Member
Edmond,Oklahoma,United States
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: ES, CL
Posts: 19 since Sep 2010
Thanks: 6 given, 30 received

The data in the data box is passed through via the indicators you currently have and is generally set by the Color() function of the indicator. In this case, it looks like you have a T3 indicator that's painting it. If you do, you should be able to see what color the draw function is painting using the (indicator).PlotColors method.

If you explained a bit more I might be able to help more but this is a start.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > get color of plot as shown in databox?

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
RSI Wilder crossover,paints arrows as shown in pic Rad4633 NinjaTrader Programming 1 October 18th, 2011 03:26 PM
plot and DataBox independant ? mea109 NinjaTrader Programming 3 September 20th, 2011 09:10 AM
plot without DataBox baberg NinjaTrader Programming 5 August 15th, 2011 05:36 PM
plot color dot on High/low edi025 NinjaTrader Programming 3 June 28th, 2010 09:22 AM
ZigZag indicator but with tick difference shown at the pivot points wuolong NinjaTrader 3 April 6th, 2010 08:59 AM

All times are GMT -4. The time now is 02:11 PM.

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-23 in 0.07 seconds with 21 queries on phoenix via your IP