coding to put range of candle beneath each candle - futures io
futures io futures trading



coding to put range of candle beneath each candle


Discussion in NinjaTrader

Updated by Midas
      Top Posters
    1. looks_one anniebee321 with 6 posts (0 thanks)
    2. looks_two cory with 3 posts (0 thanks)
    3. looks_3 Zondor with 2 posts (1 thanks)
    4. looks_4 eDanny with 1 posts (0 thanks)
    1. trending_up 3,710 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 13 replies
    2. attach_file 2 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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
 

coding to put range of candle beneath each candle

(login for full post details)
  #1 (permalink)
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
 
Posts: 152 since Nov 2009
Thanks: 64 given, 44 received

Can somebody please help me write code so that the range of the bar is below the candle stick for each candle(ninjascript) instead of in the range panel below the chart? pretty please:-)

Reply With Quote

Can you help answer these questions
from other members on futures io?
Setting up an alert on a Gartley study
Traders Hideout
Scan by comparing SMAs within 5 mins
ThinkOrSwim
Is your daily return predetermined?
Psychology and Money Management
Cumulative Bid/Ask Chart resets after 2Billion
MultiCharts
Thinkorswim poor order execution?
Brokers
 
 
(login for full post details)
  #3 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 5,998 since Jun 2009
Thanks: 831 given, 7,832 received


do you have a pic of range panel below the chart?

Reply With Quote
 
(login for full post details)
  #4 (permalink)
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
 
Posts: 152 since Nov 2009
Thanks: 64 given, 44 received

You just click on - indicators - then add range indicator - then it shows the range of each bar below the chart

Reply With Quote
 
(login for full post details)
  #5 (permalink)
East Rochester, NY
 
Experience: Intermediate
Platform: NT
 
eDanny's Avatar
 
Posts: 329 since Jul 2009
Thanks: 17 given, 420 received

anniebee321, if you go to the free section at my site there is a nice RangeBarTargets indicator that might fit your needs (assuming you are talking about Range bars). It also works with RangeAlt, NoGapRange, MedianRenko, SbSRenko and Point-O bars. Can't hurt to try, it's free!

I hope it is ok to post this.

Reply With Quote
 
(login for full post details)
  #6 (permalink)
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
 
Posts: 152 since Nov 2009
Thanks: 64 given, 44 received

No, i'm not talking about range bars - will take a look though -- i simply want the range of the bar in text below the candle, ta

Reply With Quote
 
(login for full post details)
  #7 (permalink)
Portland Oregon, United States
 
Experience: Beginner
Platform: NinjatraderŽ
Broker: CQG, Kinetick
Trading: Gameplay KlownbineŽ Trading of Globex
 
Zondor's Avatar
 
Posts: 1,346 since Jul 2009
Thanks: 1,245 given, 2,713 received

To do this, on each BarUpdate event, calculate the range, High[0]-Low[0], and then use the DrawText method to display the value of the range under the price bar. The x value is 0 (Current Bar) and the y value would be Low[0] minus n*TickSize, where n would be a user selectable integer.

The indicator would be installed in the same panel as the price series, with the same scale justification (left or right) as the price series.

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #8 (permalink)
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
 
Posts: 152 since Nov 2009
Thanks: 64 given, 44 received

i'm sure thats how you do it but its gobbledy gook to me -- have found someone to do it

Reply With Quote
 
(login for full post details)
  #9 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 5,998 since Jun 2009
Thanks: 831 given, 7,832 received


anniebee321 View Post
i'm sure thats how you do it but its gobbledy gook to me -- have found someone to do it

try this one it displays open to close number.

Attached Files
Register to download File Type: cs BarNumbers.cs (6.3 KB, 29 views)
Reply With Quote
 
(login for full post details)
  #10 (permalink)
Portland Oregon, United States
 
Experience: Beginner
Platform: NinjatraderŽ
Broker: CQG, Kinetick
Trading: Gameplay KlownbineŽ Trading of Globex
 
Zondor's Avatar
 
Posts: 1,346 since Jul 2009
Thanks: 1,245 given, 2,713 received


The last I heard, Range = High - Low, not the absolute value of Open minus Close

I changed the indicator accordingly.

I also updated the comments and captions in the code. The indicator applies range markers, not "bar numbers".. .

Let me know if you would like a voice that speaks the range of each bar after that bar closes. It's really pretty easy to code indicators that "talk". I just added a thread on that subject... "Let's teach Ninjatrader how to talk".

Attached Files
Register to download File Type: cs BarRangeMarkers.cs (6.9 KB, 42 views)
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Zondor for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > coding to put range of candle beneath each candle


June 18, 2010


Upcoming Webinars and Events
 

Introducing Edge Pools: Prop Pricing Model w/Edge Clear

Jul 9
 

Every journal equals ten meals for the hungry

Now
     



Copyright © 2020 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