Refrencing past bars, but not most recent - futures io
futures io futures trading



Refrencing past bars, but not most recent


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Quick Summary with 1 posts (0 thanks)
    2. looks_two Dab1493 with 1 posts (0 thanks)
    3. looks_3 vegasfoster with 1 posts (2 thanks)
    4. looks_4 CornfedPig with 1 posts (0 thanks)
    1. trending_up 1,917 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Refrencing past bars, but not most recent

(login for full post details)
  #1 (permalink)
Prague, Czech Republic
 
 
Posts: 1 since Oct 2012
Thanks: 1 given, 0 received

In TradeStation, let's say I want to find the highest high in the last 10 bars. That's easy enough:
highest(high,10)

But what if I want to find the highest high between 5 bars ago and 10 bars ago? What would that look like?

Reply With Quote

Can you help answer these questions
from other members on futures io?
Work with historical tcks data on MUltichart NET PowerLa …
MultiCharts
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
Cross border fund flows / fx correlations
Treasury Notes and Bonds
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
Short Interest Ratio indicator?
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Selling Options on Futures?
109 thanks
Battlestations: Show us your trading desks!
108 thanks
Rank your Futures vs Stocks trading priority
55 thanks
Want your NinjaTrader indicator created, free?
27 thanks
Whats this confusion with margins?
22 thanks
 
(login for full post details)
  #3 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received


Maybe find the highest high for the past 5 bars but offset 5 bars, so whatever the equivalent of highest(high,5)[5] would be.

Reply With Quote
The following 2 users say Thank You to vegasfoster for this post:


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Refrencing past bars, but not most recent


Last Updated on October 23, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 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