NexusFi: Find Your Edge


Home Menu

 





Help with indicator; Range--High minus Low of current bar


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one DropD with 4 posts (0 thanks)
    2. looks_two rogera with 2 posts (0 thanks)
    3. looks_3 Maza with 2 posts (2 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,329 views
    2. thumb_up 2 thanks given
    3. group 6 followers
    1. forum 9 posts
    2. attach_file 2 attachments




 
Search this Thread

Help with indicator; Range--High minus Low of current bar

  #1 (permalink)
 
DropD's Avatar
 DropD 
Western Slope+Colorado/USA
 
Experience: Beginner
Platform: ninja
Broker: NinaTrader Brokerage, Interactive Brokers
Trading: Coffee
Posts: 22 since Aug 2012
Thanks Given: 39
Thanks Received: 29

Hi guys,
I need some help creating a (what should be) simple indicator that plots the range of the current bar in ticks. If you haven't already guessed, I primarily trade crude oil, thus the need for the range to be in ticks. I would like it if the indicator is plotted directly above current bar. All I need is whatever the range of the time based bar currently is, so that is simply the high minus the low. I am super green on the programming side, so I thought I would reach out on the forum for hopefully someone's help. I have already looked through the downloads/indicators page and have not found what I need.

Thanks in advance,
-D


“Success is a journey, not a destination. The doing is often more important than the outcome.”
-Arthur Ashe
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
  #3 (permalink)
 Maza 
Cluj-Napoca Cluj/Romania
 
Experience: Intermediate
Platform: NinjaTrader, MetaTrader 4
Broker: FXCM, Continuum
Trading: Forex, Futures
Posts: 12 since Apr 2013
Thanks Given: 6
Thanks Received: 7


DropD,

I have whipped up the indicator for you. I hope it helps you in your trading.

I have attached it to this post, I hope this is the etiquette and it doesn't step on any forum rules, if it does then let me know and I will change the location/delete this post.

Maza.

Attached Files
Elite Membership required to download: BarTickRange.zip
Reply With Quote
Thanked by:
  #4 (permalink)
 
DropD's Avatar
 DropD 
Western Slope+Colorado/USA
 
Experience: Beginner
Platform: ninja
Broker: NinaTrader Brokerage, Interactive Brokers
Trading: Coffee
Posts: 22 since Aug 2012
Thanks Given: 39
Thanks Received: 29


Maza View Post
DropD,

I have whipped up the indicator for you. I hope it helps you in your trading.

I have attached it to this post, I hope this is the etiquette and it doesn't step on any forum rules, if it does then let me know and I will change the location/delete this post.

Maza.

-Maza
This is exactly what I needed. Thank you so much for your help!!!!

-D

“Success is a journey, not a destination. The doing is often more important than the outcome.”
-Arthur Ashe
Started this thread Reply With Quote
  #5 (permalink)
 chunjr 
San Francisco, CA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: IB
Trading: ES
Posts: 17 since Oct 2009
Thanks Given: 11
Thanks Received: 22


Maza View Post
DropD,

I have whipped up the indicator for you. I hope it helps you in your trading.

I have attached it to this post, I hope this is the etiquette and it doesn't step on any forum rules, if it does then let me know and I will change the location/delete this post.

Maza.

I was wondering if is possible to also show the previous bar's range simply by hovering the mouse arrow over the bar?

Thanks

Reply With Quote
  #6 (permalink)
 
DropD's Avatar
 DropD 
Western Slope+Colorado/USA
 
Experience: Beginner
Platform: ninja
Broker: NinaTrader Brokerage, Interactive Brokers
Trading: Coffee
Posts: 22 since Aug 2012
Thanks Given: 39
Thanks Received: 29


chunjr View Post
I was wondering if is possible to also show the previous bar's range simply by hovering the mouse arrow over the bar?

Thanks

That's a really good idea and one that I would be interested in as well. However, I did not create the indicator, so we'll have to check with @Maza and see if he could add that to the code. It would be very useful.

Thanks,
-D

“Success is a journey, not a destination. The doing is often more important than the outcome.”
-Arthur Ashe
Started this thread Reply With Quote
  #7 (permalink)
 Maza 
Cluj-Napoca Cluj/Romania
 
Experience: Intermediate
Platform: NinjaTrader, MetaTrader 4
Broker: FXCM, Continuum
Trading: Forex, Futures
Posts: 12 since Apr 2013
Thanks Given: 6
Thanks Received: 7


DropD View Post
That's a really good idea and one that I would be interested in as well. However, I did not create the indicator, so we'll have to check with @Maza and see if he could add that to the code. It would be very useful.

Thanks,
-D

Hey Guys,

Sorry for the very late reply, sure that is possible, I will put that on my to do list. Maybe I could get something done by next week, hopefully.

Maza.

Reply With Quote
Thanked by:
  #8 (permalink)
 
DropD's Avatar
 DropD 
Western Slope+Colorado/USA
 
Experience: Beginner
Platform: ninja
Broker: NinaTrader Brokerage, Interactive Brokers
Trading: Coffee
Posts: 22 since Aug 2012
Thanks Given: 39
Thanks Received: 29


Maza View Post
Hey Guys,

Sorry for the very late reply, sure that is possible, I will put that on my to do list. Maybe I could get something done by next week, hopefully.

Maza.

Hey Maza,
No problem, your help is very much appreciated!!!

Thank you!

-D

“Success is a journey, not a destination. The doing is often more important than the outcome.”
-Arthur Ashe
Started this thread Reply With Quote
  #9 (permalink)
 rogera 
Spencer, WV 25276
 
Experience: Intermediate
Platform: Ninja Tradeer
Trading: 6E, CL, TF and ES
Posts: 11 since Sep 2011
Thanks Given: 5
Thanks Received: 34

I want to convert over to NT 8 and like range charts. I presently use NT 7 with an indicator that performs the following for me.

It will draw a box around the current candle depicting the maximum range that the current bar can grow before a new bar will be printed. It will color the box depending on how close to a new bar the current range has traveled. It will print the high and low range prices at the top and bottom of the box.

I use it to set limit orders to the tick above or below a bar breakout.

Do you have such an indicator or do you know where I can find it.

Another indicator that I have for NT 7 is a buy and sell button that I can click and it will put in a limit order at the top or bottom of the range bar (depending if I click the sell or buy button) and if no fill becasue it does not go above/below the bar depending which direction I am trading

Reply With Quote
  #10 (permalink)
 rogera 
Spencer, WV 25276
 
Experience: Intermediate
Platform: Ninja Tradeer
Trading: 6E, CL, TF and ES
Posts: 11 since Sep 2011
Thanks Given: 5
Thanks Received: 34


I did not complete the last sentence. It should read as follows: Another indicator that I have for NT 7 is a buy and sell button that I can click and it will put in a limit order at the top or bottom of the range bar (depending if I click the sell or buy button) and if no fill because it does not go above/below the bar depending which direction I am trading, it cancels the order.

Reply With Quote




Last Updated on February 24, 2019


© 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