Pine Script Daily Open and Close
futures io futures trading

Pine Script Daily Open and Close
Updated: Views / Replies:213 / 0
Created: by Alexander Savin Attachments:0

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

Thread Tools Search this Thread

Pine Script Daily Open and Close

  #1 (permalink)
Trading Experience: None
Platform: RTP, IRT
Favorite Futures: ZB, FGBL
Posts: 53 since Apr 2016
Thanks: 53 given, 54 received

Pine Script Daily Open and Close

Hi all

I'm at a loss here. I am trying to plot the Regular Trading Hours open and close (EST, 0930 and 1600) on a daily chart in Tradingview.

Instrument = E-mini S&P 500 (ES1!)
New York open = 0930 (New York Time)
New York close = 1600 (New York Time)

The problem is that ES1! trades from 1800 until 1615 the next day, with a short session from 1630-1700, so the Pine Script language operators "open" and "close" return the values for 1800 and 1700. What I want are the values of ES1! at 0930 and 1600.

I've tried the following:

study(title="NY_Open", shorttitle="NY_Open")
newyork_open = "0930-0931"
newyorkprice = time("1", newyork_open) ? open : na
htf = security("CME_MINI:ES1!", "1", newyorkprice)
plot(htf, color=white, linewidth=2)

This works on a 1m chart but not on a daily chart, what am I missing? If you have an answer, please PM me and let me know how much you want for the code. Any help is appreciated.

Paid Services Forum: Hire a Consultant or Programmer

In this subforum only the thread starter may post replies to this thread. To contact or reply to user "Alexander Savin", please send a Private Message.

Important threads to read regarding this Paid Services subforum:

- Do you really need to pay for it?
- Protect yourself
- Do research before hiring
- How to pay for services
- Rating a transaction after it is completed
- Disclaimer: Services here are not endorsed by

Reply With Quote
The following user says Thank You to Alexander Savin for this post:


futures io Trading Community Hire a Consultant or Programmer > Pine Script Daily Open and Close

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Social Media Predictive Data for Traders w/Joe Gits @ SMA [and Lime Brokerage]

Apr 9

Similar Threads
Thread Thread Starter Forum Replies Last Post
Function like NZ (TradingView Pine Script) for MultiCharts? milkysahai001 MultiCharts 0 November 28th, 2016 02:04 AM
Pine Script Translation Request: ValueWhen compupix ThinkOrSwim 0 November 22nd, 2014 04:02 PM
Open to Open & Close to Close for direction change aquarian1 Emini and Emicro Index 10 December 15th, 2012 06:59 PM
Volitility indicator question - Open - Open / open - close / close to open andresimon NinjaTrader 2 September 27th, 2010 12:33 AM

All times are GMT -4. The time now is 05:28 PM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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