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 trendisyourfriend with 2 posts (3 thanks)
    4. looks_4 cory with 2 posts (1 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 9,573 views
    2. thumb_up 9 thanks given
    3. group 3 followers
    1. forum 16 posts
    2. attach_file 1 attachments




 
Search this Thread

Range indicator for time based bars

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

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?
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #3 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020


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,405


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
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

try this


more info

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,405


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,405


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


Visit my NexusFi Trade Journal Reply With Quote




Last Updated on January 27, 2012


© 2024 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 - Privacy Policy - Downloads - Top
no new posts