NexusFi: Find Your Edge


Home Menu

 





Range indicator for time based bars


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one PandaWarrior with 5 posts (1 thanks)
    2. looks_two redratsal with 3 posts (3 thanks)
    3. looks_3 cory with 2 posts (1 thanks)
    4. looks_4 Rad4633 with 2 posts (0 thanks)
      Best Posters
    1. looks_one trendisyourfriend with 1.5 thanks per post
    2. looks_two redratsal with 1 thanks per post
    3. looks_3 Big Mike with 1 thanks per post
    4. looks_4 cory with 0.5 thanks per post
    1. trending_up 11,320 views
    2. thumb_up 9 thanks given
    3. group 3 followers
    1. forum 16 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 
PandaWarrior's Avatar
 PandaWarrior 
In the heat
 
Experience: None
Posts: 3,165 since Mar 2010
Thanks Given: 6,329
Thanks Received: 13,408

is there an indicator for ninja that measures the range for the previous closed time based bar in real time and displays that information on the screen to the right of the current bar.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
CFTC Advances Prediction Markets Regulation -- Chairman …
Prediction Markets & Event Contracts
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
  #3 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,580 since Oct 2009
Thanks Given: 4,266
Thanks Received: 6,199


Have you tried the Range indicator that comes with Ninjatrader ? The info is displayed in a panel but it may serve you well.


Reply With Quote
Thanked by:
  #4 (permalink)
 
PandaWarrior's Avatar
 PandaWarrior 
In the heat
 
Experience: None
Posts: 3,165 since Mar 2010
Thanks Given: 6,329
Thanks Received: 13,408


trendisyourfriend View Post
Have you tried the Range indicator that comes with Ninjatrader ? The info is displayed in a panel but it may serve you well.


Yes but it does not do what I want it to...

Here is a picture, maybe that would help.


Simplicity is the ultimate sophistication, Leonardo da Vinci


Most people chose unhappiness over uncertainty, Tim Ferris
Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093

try this


more info
https://nexusfi.com/local_links.php?linkid=157


Reply With Quote
  #6 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


PandaWarrior View Post
is there an indicator for ninja that measures the range for the previous closed time based bar in real time and displays that information on the screen to the right of the current bar.

This is what you are looking for (I hope), I modified a version of the barssincesession from Bukkan , all I did is change the Draw object at line 51:

 
Code
base.DrawText("txt" + CurrentBar,(Range()[0]/TickSize).ToString(),0,price,Color.Lime);
Instead of plotting the number of the bar it will plot the Range of each bar



It is a good approach as the range of a time based bar is important for interpreting PA.


Attached Files
Elite Membership required to download: RangeBarsSinceSession.zip
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
 
PandaWarrior's Avatar
 PandaWarrior 
In the heat
 
Experience: None
Posts: 3,165 since Mar 2010
Thanks Given: 6,329
Thanks Received: 13,408


redratsal View Post
This is what you are looking for (I hope), I modified a version of the barssincesession from Bukkan , all I did is change the Draw object at line 51:

 
Code
base.DrawText("txt" + CurrentBar,(Range()[0]/TickSize).ToString(),0,price,Color.Lime);
Instead of plotting the number of the bar it will plot the Range of each bar



It is a good approach as the range of a time based bar is important for interpreting PA.


That looks pretty good, but can it print just the prices of the previous bar and not the actual range of the bar?


Simplicity is the ultimate sophistication, Leonardo da Vinci


Most people chose unhappiness over uncertainty, Tim Ferris
Started this thread Reply With Quote
  #8 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


PandaWarrior View Post
That looks pretty good, but can it print just the prices of the previous bar and not the actual range of the bar?


Yes it can but it is not what you originally asked , let me work on it


Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
 
PandaWarrior's Avatar
 PandaWarrior 
In the heat
 
Experience: None
Posts: 3,165 since Mar 2010
Thanks Given: 6,329
Thanks Received: 13,408


redratsal View Post
Yes it can but it is not what you originally asked , let me work on it

Ok, I thought I had then I read my original post and I said nothing about that...sorry.


Simplicity is the ultimate sophistication, Leonardo da Vinci


Most people chose unhappiness over uncertainty, Tim Ferris
Started this thread Reply With Quote
  #10 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090



PandaWarrior View Post
Ok, I thought I had then I read my original post and I said nothing about that...sorry.

This one should have everyting

https://nexusfi.com/download/vip_elite_circle/556-download.html?view


Visit my NexusFi Trade Journal Reply With Quote




Last Updated on January 27, 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