NexusFi: Find Your Edge


Home Menu

 





get color of plot as shown in databox?


Discussion in NinjaTrader

Updated
    1. trending_up 2,444 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 solondon 
London, UK
 
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
Posts: 38 since Sep 2011
Thanks Given: 9
Thanks Received: 6

Hi

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,
JLo


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CME Group CEO Calls CFTC-Approved Crypto Perps Dangerous …
Traders Hideout
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 Caveman 
Edmond,Oklahoma,United States
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: ES, CL
Posts: 19 since Sep 2010
Thanks Given: 6
Thanks Received: 30

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




Last Updated on April 20, 2012


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts