indicator drawing in two panels - futures io
futures io futures trading



indicator drawing in two panels


Discussion in NinjaTrader

Updated
    1. trending_up 878 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

indicator drawing in two panels

(login for full post details)
  #1 (permalink)
FRANCE/NICE
 
 
Posts: 2 since Jul 2015
Thanks: 3 given, 1 received

hello

Is it possible to have an indicator drawing (like DrawDiamond() ) in his own panel and also drawing in the price panel?

thanks in advance

Reply With Quote

Can you help answer these questions
from other members on futures io?
Can the Magnet Tool Affect Chart Orders In Overcharts Ha …
Platforms and Indicators
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
OFA (Order Flow Analytics) Licence
NinjaTrader
Short Interest Ratio indicator?
ThinkOrSwim
 
 
(login for full post details)
  #2 (permalink)
Birmingham UK
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
 
ratfink's Avatar
 
Posts: 3,651 since Dec 2012
Thanks: 17,422 given, 8,403 received


smallbirdking View Post
hello

Is it possible to have an indicator drawing (like DrawDiamond() ) in his own panel and also drawing in the price panel?

thanks in advance

The control variable is DrawOnPricePanel (boolean true or false)

Usually just set in Initialize but I seem to think it can be flipped in OnBarUpdate as well, but don't quote me..

Travel Well
Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to ratfink for this post:
 
(login for full post details)
  #3 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,030 since Jun 2009
Thanks: 845 given, 7,894 received



ratfink View Post
The control variable is DrawOnPricePanel (boolean true or false)

Usually just set in Initialize but I seem to think it can be flipped in OnBarUpdate as well, but don't quote me..

yes! that's correct.

Reply With Quote
The following 2 users say Thank You to cory for this post:
 
(login for full post details)
  #4 (permalink)
FRANCE/NICE
 
 
Posts: 2 since Jul 2015
Thanks: 3 given, 1 received

Thanks a lot, it works. But it seem necessary to set DrawOnPricePanel at the beginning and the end. If not, it doesn't change. For example,

DrawOnPricePanel = false;
DrawDiamond("tag1"', true, 0,1, Color.Green);
DrawOnPricePanel = true;
DrawDiamond("tag2", true, 0, 2, Color.Yellow);
DrawOnPricePanel = false;
DrawDiamond("tag3", true, 0, 2, Color.Red);
DrawOnPricePanel = true;

Thanks for your help again.

Reply With Quote
The following user says Thank You to smallbirdking for this post:
 
(login for full post details)
  #5 (permalink)
Birmingham UK
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
 
ratfink's Avatar
 
Posts: 3,651 since Dec 2012
Thanks: 17,422 given, 8,403 received


smallbirdking View Post
Thanks a lot, it works. But it seem necessary to set DrawOnPricePanel at the beginning and the end. If not, it doesn't change.

Yes, just made some different tests here, it doesn't seem like a stable offering, the objects can flip back so can't be used on a per bar basis unless you are happy to be redrawing when needed.

In these sort of situations it's often easier just to have two copies of the same indicator - one set for each panel.

Cheers

Travel Well
Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to ratfink for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > indicator drawing in two panels


Last Updated on August 14, 2015


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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