True High and True Low - NinjaTrader Programming | futures io social day trading
futures io futures trading


True High and True Low
Updated: Views / Replies:3,321 / 4
Created: by kaywai Attachments:3

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
 

True High and True Low

  #1 (permalink)
Trading for Fun
singapore
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: IB
Favorite Futures: ES, forex, oil
 
Posts: 131 since Nov 2009
Thanks: 11 given, 7 received

True High and True Low

I'm trying to create an indicator which requires the use of True High and True Low of the previous day. True High is defined as the higher of yesterday's high and the close 2 days ago while true low is defined as the lower of yesterday's low and the close 2 days ago. Upon calculating that, I'd like to transpose that information (true high and true low) to today's intraday chart. Could someone please help?

Reply With Quote
 
  #2 (permalink)
Just starting out...
Moscow
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 12 since Jan 2010
Thanks: 1 given, 6 received

Like this?
Export Version 6.5.1000.14

Attached Files
Register to download File Type: zip THTL.zip (2.0 KB, 26 views)
Reply With Quote
 
  #3 (permalink)
Trading for Fun
singapore
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: IB
Favorite Futures: ES, forex, oil
 
Posts: 131 since Nov 2009
Thanks: 11 given, 7 received


Eloy, Thanks for that! I have a few questions though...

1) if DClose2 = DClose1 and Dclose1 = Close[1], then Dclose2 = Close[1], right? This would be the close of 1 bar ago, right?
2) would your script work if I were to use it on intraday charts?

Reply With Quote
 
  #4 (permalink)
Trading for Fun
singapore
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: IB
Favorite Futures: ES, forex, oil
 
Posts: 131 since Nov 2009
Thanks: 11 given, 7 received

Eloy, this is what I have but I'm not sure whether it works...

Attached Files
Register to download File Type: zip kythtl.zip (6.0 KB, 21 views)
Reply With Quote
 
  #5 (permalink)
Just starting out...
Moscow
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 12 since Jan 2010
Thanks: 1 given, 6 received


kaywai View Post
1) if DClose2 = DClose1 and Dclose1 = Close[1], then Dclose2 = Close[1], right? This would be the close of 1 bar ago, right?

DClose2 gets value DClose1 then DClose1 gets new value Close[1] and DClose2 <> Close[1], DClose2 still remain value of DClose1.
It use Bars.SessionBreak (This property returns true if the call to OnBarUpdate() is the first call of the session). So it is a new day and saved DayClose became DayClose 2 day ago. Because first bar of the session, Close[1] (close of 1 bar ago) = yesterday's Close.
So there was a mistake in DClose1 = Close[-1] should be DClose1 = Close[1] of course.


kaywai View Post
2) would your script work if I were to use it on intraday charts?

Yes. Just test it!

Attached Files
Register to download File Type: zip THTL.zip (2.0 KB, 31 views)

Last edited by Eloy; January 20th, 2010 at 04:40 PM.
Reply With Quote
The following user says Thank You to Eloy for this post:

Reply



futures io > > > > > True High and True Low

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
True Strength Index Jeff Castille The Elite Circle 149 January 22nd, 2012 11:08 PM
True or False Big Mike Off-Topic 147 June 2nd, 2011 06:19 PM
Can this be true stacey Trading Reviews and Vendors 18 February 11th, 2011 09:31 AM
Plot only if true Locust EasyLanguage Programming 3 October 27th, 2010 03:30 PM
True Or False - a serious thread trendisyourfriend Traders Hideout 7 October 23rd, 2010 06:31 PM


All times are GMT -4. The time now is 07:32 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-12 in 0.07 seconds with 20 queries on phoenix via your IP 54.234.255.29