Draw on several panels at same time - NinjaTrader Programming | futures io social day trading
futures io futures trading


Draw on several panels at same time
Updated: Views / Replies:4,061 / 11
Created: by cls71 Attachments:2

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 2  
 
Thread Tools Search this Thread
 

Draw on several panels at same time

  #1 (permalink)
 Vendor: www.supperia.com 
Madrid, Spain
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
Posts: 18 since Oct 2009
Thanks: 6 given, 14 received

Draw on several panels at same time

Hello,

I'd like know if is possible to plot on several panels, simultaneously.
I'm developing an indicator which plots a summary (on Panel 2) but I want draw some curves on price panel, also.
All code is inside the method "override Plot".
I have tried with the properties Indicator.Panel and Indicator.PanelUI but don't work.

Thanks.

Reply With Quote
 
  #2 (permalink)
Elite Member
Florida
 
Futures Experience: Intermediate
Platform: NT7
Favorite Futures: CL, NQ, NG
 
Posts: 456 since Jun 2009
Thanks: 1,359 given, 383 received

i normally create a different version for non-price panel
then load it twice
not sure if this is best for use of resources tho but it's simple enough
kz

Reply With Quote
 
  #3 (permalink)
 Vendor: www.supperia.com 
Madrid, Spain
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
Posts: 18 since Oct 2009
Thanks: 6 given, 14 received


Thanks zeller4,

but it is for an indicator which consumes much resources, and I want run it only once.


Regards

Reply With Quote
 
  #4 (permalink)
Elite Member
Austin, TX
 
Futures Experience: Advanced
Platform: NT/Matlab
Broker/Data: Interactive Brokers
Favorite Futures: FX majors
 
sefstrat's Avatar
 
Posts: 285 since Jun 2009
Thanks: 20 given, 749 received

it is not possible (it will be in NT7)

Reply With Quote
 
  #5 (permalink)
Trading for Fun
Here, GA
 
Futures Experience: Intermediate
Platform: Ninja
 
Posts: 146 since Jun 2009
Thanks: 1 given, 73 received

Hurry up and wait for NT 7 to do what you want. Other than that it is possible if you are a serious coder (not me) using the Graphics Methods in C#.

Reply With Quote
 
  #6 (permalink)
Market Wizard
New Orleans, La (Mardi Gras City)
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Ninjatrader / Optimus Futures / AmpFutures
Favorite Futures: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,004 since Aug 2009
Thanks: 803 given, 1,367 received


TAJTrades View Post
Hurry up and wait for NT 7 to do what you want. Other than that it is possible if you are a serious coder (not me) using the Graphics Methods in C#.


Here is an indicator that will draw on both but may not be what you mean?

Attached Files
Register to download File Type: zip DrawOnPricePanelTest.zip (1.5 KB, 80 views)
Reply With Quote
 
  #7 (permalink)
 Vendor: www.supperia.com 
Madrid, Spain
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
Posts: 18 since Oct 2009
Thanks: 6 given, 14 received


DavidHP View Post
Here is an indicator that will draw on both but may not be what you mean?

Thanks David,

but no good. The DrawOnPricePanel doesn't change the ChartControl.PanelUI property. The override Plot method draws on the indicator panel, even though DrawOnPrice = true.

Regards

Reply With Quote
 
  #8 (permalink)
 Vendor: www.supperia.com 
Madrid, Spain
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
Posts: 18 since Oct 2009
Thanks: 6 given, 14 received

I guess the only way is change the size and position of the Graphics object inside the Plot method.

Reply With Quote
 
  #9 (permalink)
 Vendor: www.supperia.com 
Madrid, Spain
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
Posts: 18 since Oct 2009
Thanks: 6 given, 14 received

This is an evidence that can be drawn in several panels from a single indicator by overriding the plot method.

But there is a problem. To work properly you need to know the dimensions of all panels that are in the chart.
The panels are stored in the collection ChartControl.Panels.
However, this collection is not public and can not access it from the indicator. But is available during debugging.
Someone knows how to access this collection at design time ?



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

Reply With Quote
 
  #10 (permalink)
Elite Member
Austin, TX
 
Futures Experience: Advanced
Platform: NT/Matlab
Broker/Data: Interactive Brokers
Favorite Futures: FX majors
 
sefstrat's Avatar
 
Posts: 285 since Jun 2009
Thanks: 20 given, 749 received



cls71 View Post
To work properly you need to know the dimensions of all panels that are in the chart.
The panels are stored in the collection ChartControl.Panels.
However, this collection is not public and can not access it from the indicator. But is available during debugging.
Someone knows how to access this collection at design time ?

You should be able to access it via reflection.

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

Reply



futures io > > > > > Draw on several panels at same time

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get all draw objects dimkdimk NinjaTrader Programming 18 February 14th, 2015 12:46 PM
Finally got my solar panels installed yesterday! shodson Off-Topic 16 September 19th, 2014 10:36 PM
Fib extenions I can draw ricktrades ThinkOrSwim 3 July 7th, 2014 02:38 PM
Little help with Draw Region jram77 NinjaTrader Programming 14 September 26th, 2013 12:21 AM
How to put two different Data series on one chart or two panels? Buscador NinjaTrader 2 July 13th, 2011 10:07 PM


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

Copyright © 2017 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
Page generated 2017-12-17 in 0.12 seconds with 20 queries on phoenix via your IP 54.90.92.204