Drawing rectangle at bottom of sceen after each bar - NinjaTrader Programming | futures io social day trading
futures io futures trading


Drawing rectangle at bottom of sceen after each bar
Updated: Views / Replies:1,863 / 6
Created: by RBerry Attachments:0

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
 
Thread Tools Search this Thread
 

Drawing rectangle at bottom of sceen after each bar

  #1 (permalink)
Elite Member
Toronto, Canada
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: es
 
Posts: 5 since Nov 2011
Thanks: 11 given, 0 received

Drawing rectangle at bottom of sceen after each bar

Folks,

I'm trying to have a rectangle to draw under each bar at the bottom of price panel. Is there a way in NT7 to do this? I know how to get DrawRectangle() to draw a rectangle at a certain number of ticks above or below a bar, but I want the rectangle to appear at the very bottom of the current price panel under each bar. The colour of the rectangle would vary based on various conditions.

Thanks for any assistance.

RBerry

Reply With Quote
 
  #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.

 
  #3 (permalink)
Elite Member
Milan Italy
 
Futures Experience: Intermediate
Platform: Ninjatrader, Sierra Chart
Favorite Futures: ES
 
Posts: 523 since Feb 2010
Thanks: 470 given, 629 received



RBerry View Post
Folks,

I'm trying to have a rectangle to draw under each bar at the bottom of price panel. Is there a way in NT7 to do this? I know how to get DrawRectangle() to draw a rectangle at a certain number of ticks above or below a bar, but I want the rectangle to appear at the very bottom of the current price panel under each bar. The colour of the rectangle would vary based on various conditions.

Thanks for any assistance.

RBerry

You can do that by overriding the Plot() method. I usually create a DataSeries keyed to the colors, and then refer to that in Plot().

Reply With Quote
 
  #4 (permalink)
Elite Member
Toronto, Canada
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: es
 
Posts: 5 since Nov 2011
Thanks: 11 given, 0 received

Drawing rectangle at bottom of sceen after each bar

Thanks for your rely.
I don't understand the overwrite Plot method. And how would I stipulate bottom of price panel under each bar.

Thanks

Reply With Quote
 
  #5 (permalink)
Elite Member
Milan Italy
 
Futures Experience: Intermediate
Platform: Ninjatrader, Sierra Chart
Favorite Futures: ES
 
Posts: 523 since Feb 2010
Thanks: 470 given, 629 received

NinjaTrader Version 7

The examples they mention (among the indicators provided with NT) show how to get the bounds. You can also refer to C# help material for how to do graphics - once you're overriding the method you've moved from Ninjascript help to C#. It might seem daunting, but once you get into it you'll find it straightforward at first, and worth the effort if you are interested in custom indicators.

Reply With Quote
The following user says Thank You to futuretrader for this post:
 
  #6 (permalink)
Elite Member
Salt Lake City, UT
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Dormans/Zen-fire
Favorite Futures: 6E ES YM
 
Posts: 233 since Mar 2010
Thanks: 46 given, 321 received

Does it really need to be a rectangle? Using DrawFixedText - I think one of the overrides let you set the font family and using windings 1,2 or 3 you can do things.... but overwritting the plot is not that hard either... there are numerous examples in the support forum...

Reply With Quote
The following user says Thank You to tulanch for this post:
 
  #7 (permalink)
Elite Member
Toronto, Canada
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: es
 
Posts: 5 since Nov 2011
Thanks: 11 given, 0 received

Drawing rectangle at bottom of sceen after each bar

Thanks folks for your response. I'll look at the samples you mentioned. If you can point me to more examples on the forum, I'd appreciate it.

Thanks again!

Reply With Quote

Reply



futures io > > > > > Drawing rectangle at bottom of sceen after each bar

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
Looking for Market Bottom? You Could Have a Long Wait Quick Summary News and Current Events 0 August 8th, 2011 04:40 PM
DELTA DIVERGENCE BOTTOM tigertrader Traders Hideout 6 October 28th, 2010 12:57 PM
draw text to the bottom of the chart Zsolt NinjaTrader Programming 5 August 30th, 2010 07:30 AM
Shaved Top and Bottom Candles zeller4 NinjaTrader 3 May 11th, 2010 01:41 PM
Creating a Rectangle with an anchor zeller4 NinjaTrader Programming 4 March 12th, 2010 01:04 AM


All times are GMT -4. The time now is 03:59 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.10 seconds with 19 queries on phoenix via your IP 107.20.115.174