Highs/Lows of previous days - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Highs/Lows of previous days
Started:May 15th, 2014 (04:31 AM) by Mathers Views / Replies:274 / 2
Last Reply:May 15th, 2014 (05:12 AM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Highs/Lows of previous days

Old May 15th, 2014, 04:31 AM   #1 (permalink)
Trading Apprentice
Futures Experience: Beginner
Platform: NT
Favorite Futures: ES
Posts: 1 since Nov 2012
Thanks: 0 given, 0 received

Highs/Lows of previous days

I need day highs/lows values of several previous days (e.g. for prev 7 days: 14 values in total) in my strategy. What is the best way to get them? Strategy runs on 1 minute chart.

Reply With Quote

Old May 15th, 2014, 04:31 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old May 15th, 2014, 05:12 AM   #3 (permalink)
Elite Member
Munich, Germany
Futures Experience: Intermediate
Platform: NinjaTrader, TWS
Broker/Data: IB, NinjaTrader Brokerage
Favorite Futures: ES,NQ,6E
Posts: 62 since Feb 2010
Thanks: 15 given, 22 received

Load daily data as 2nd data series

In Initialize

Add( PeriodType.Daily, 1)

In OnBarUpdate

double dailyHigh = Highs[1][x] // x = index for previous days
double dailyLow = Lows[1][x] // x = index for previous days

Reply With Quote


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Highs/Lows of previous days

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Corey Rosenbloom: Tips, Tactics, and Real Trades: Trading Intraday Trend Reversals

Elite only

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
new highs and new lows!!!!? tr3nt NinjaTrader Programming 9 August 12th, 2013 01:58 PM
HOD highs/lows of day dashover ThinkOrSwim 1 June 29th, 2013 12:16 PM
Shifted Volume Profile + Highs, Lows Massive l ThinkOrSwim Programming 0 February 25th, 2012 08:41 PM
Stocks May Have Seen Highs For Year—But Not Lows: Pros Quick Summary News and Current Events 0 August 15th, 2011 06:20 PM
Accessing Zigzag swing highs/lows buylosellhi NinjaTrader Programming 3 April 27th, 2011 04:56 PM

All times are GMT -4. The time now is 08:40 PM.

Copyright © 2016 by 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 2016-10-20 in 0.06 seconds with 19 queries on phoenix via your IP