Indicator to Plot the OHLC - user selected start/stop times - NinjaTrader Programming | futures io social day trading
futures io futures trading


Indicator to Plot the OHLC - user selected start/stop times
Updated: Views / Replies:22,506 / 105
Created: by rfiske Attachments:30

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
 30  
 
Thread Tools Search this Thread
 

Indicator to Plot the OHLC - user selected start/stop times

  #51 (permalink)
Elite Member
Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen Fire / IB
Favorite Futures: ES, TF, 6E, CL
 
gtichauer's Avatar
 
Posts: 379 since Jul 2009
Thanks: 807 given, 296 received

FT,

I am experimenting with your indis.....have a question for a potential tweek.....is it possible for the OpeningRange v27 to start plotting the Opening Range at the time it is completed vs moving up or down with the highs/lows UNTIL the time is completed?

My reasoning here is that I want to know the IB High/Low (60m) but if u see the line since the opening u need to check the time everytime it is being tested to see if it is the final IB or not.....

if I need to delete something from the code u can tell me and I will try.....thanks

another question....just curious if it is possible with the anaCurrentDayOHLV23 to plot RTH data on an ETH template?

Thanks again for your help and great indi the relative volume u posted...!!!

GT
Reply With Quote
 
  #52 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


gtichauer View Post
FT,

I am experimenting with your indis.....have a question for a potential tweek.....is it possible for the OpeningRange v27 to start plotting the Opening Range at the time it is completed vs moving up or down with the highs/lows UNTIL the time is completed?

My reasoning here is that I want to know the IB High/Low (60m) but if u see the line since the opening u need to check the time everytime it is being tested to see if it is the final IB or not.....

if I need to delete something from the code u can tell me and I will try.....thanks

another question....just curious if it is possible with the anaCurrentDayOHLV23 to plot RTH data on an ETH template?

Thanks again for your help and great indi the relative volume u posted...!!!


(1) Modify line 324 of the indicator to

 
Code
 
if (plotOHL && sessionOpen && Time[0] > sessionEnd.Subtract(sessionLength-openingPeriod))
and it will only start plotting the opening range after the opening period is complete. The opening range will be shown starting from the open.

(2) Yes, it is possible to plot RTH data with anaCurrentDayOHLV23 on an ETH template. But you need to use a custom session template which uses 2 sessions as shown below. Then set Day Session OHL to "true" via indicator dialogue box.

The Opening Range Indicator is not yet fully compatible with two session templates. It will not show the European Session or Night Session Range on a two session template. The next version should do that.

Attached Thumbnails
Indicator to Plot the OHLC - user selected start/stop times-custom-template.jpg   Indicator to Plot the OHLC - user selected start/stop times-ohlc-rth-session.jpg  
Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #53 (permalink)
Elite Member
Germany
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
 
TempletonPeck's Avatar
 
Posts: 199 since Feb 2010
Thanks: 1,129 given, 200 received


FT,

one question: Which values do you use to calculate todays pivot range and 3-day-rolling pivots? Because of yesterdays US bankholiday, do you use High, Low, Close/Settle from yesterday or last friday for futures like 6E, CL, TF?

Thank you for the great work you are doing here at futures.io (formerly BMT)!

Reply With Quote
 
  #54 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


TempletonPeck View Post
FT,

one question: Which values do you use to calculate todays pivot range and 3-day-rolling pivots? Because of yesterdays US bankholiday, do you use High, Low, Close/Settle from yesterday or last friday for futures like 6E, CL, TF?

Thank you for the great work you are doing here at futures.io (formerly BMT)!


Tuesday September 7: ETH pivots are calculated from Friday's ETH High, ETH Low and Settlement Price for all CME traded instruments. RTH pivots are calculated from Friday's RTh High, RTH Low and Settlement Price for all CME traded instruments. The 3-day rolling pivot is calculated from the 3-day-high, 3-day-low (both Wednesday to Friday) and Friday's close.

Wednesday, September 8: ETH pivots are calculated from ETH two-day-high. ETH two-day-low (Monday and Tuesday) and Tuesday's settlement price. RTH pivots are calculated from the high, low and settlement price of Tuesday's RTH session. The rolling pivot is calculated from the 4-day-high, 4-day-low (both Thursday to Tuesday) and Tuesday's close.

If you use ETH pivots, this is all done automatically by the SessionPivotsV23 inddicator. For RTH pivots the SessionPivotsV23 does not yet catch the correct settlement price, but uses the close instead.

I am also a learner and gradually approaching the truth, if there is any.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #55 (permalink)
Elite Member
Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen Fire / IB
Favorite Futures: ES, TF, 6E, CL
 
gtichauer's Avatar
 
Posts: 379 since Jul 2009
Thanks: 807 given, 296 received


Fat Tails View Post
(1) Modify line 324 of the indicator to

 
Code
 
if (plotOHL && sessionOpen && Time[0] > sessionEnd.Subtract(sessionLength-openingPeriod))
and it will only start plotting the opening range after the opening period is complete. The opening range will be shown starting from the open.

.

Ok with (1) already tested and working....thanks....really LOVE having the text plotting at the right of the lines....will play with (2) later.....

GT
Reply With Quote
 
  #56 (permalink)
Elite Member
Germany
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
 
TempletonPeck's Avatar
 
Posts: 199 since Feb 2010
Thanks: 1,129 given, 200 received


Fat Tails View Post
Tuesday September 7: ETH pivots are calculated from Friday's ETH High, ETH Low and Settlement Price for all CME traded instruments. RTH pivots are calculated from Friday's RTh High, RTH Low and Settlement Price for all CME traded instruments. The 3-day rolling pivot is calculated from the 3-day-high, 3-day-low (both Wednesday to Friday) and Friday's close.

Wednesday, September 8: ETH pivots are calculated from ETH two-day-high. ETH two-day-low (Monday and Tuesday) and Tuesday's settlement price. RTH pivots are calculated from the high, low and settlement price of Tuesday's RTH session. The rolling pivot is calculated from the 4-day-high, 4-day-low (both Thursday to Tuesday) and Tuesday's close.

If you use ETH pivots, this is all done automatically by the SessionPivotsV23 inddicator. For RTH pivots the SessionPivotsV23 does not yet catch the correct settlement price, but uses the close instead.

I am also a learner and gradually approaching the truth, if there is any.


Thanks for your quick answer,
yes, I use your nice sessionpivots indicator for ETH pivots.
Pivot Range and 3-Day rolling pivot I calculate by hand (and I did not know how to do this for today before your answer, now it is clear). Or can your indicator do this and I only donīt know how to adjust it? I thought I have to wait for the release of your "colour version" which I saw on some of your screenshots.

Thanks again

Reply With Quote
 
  #57 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


TempletonPeck View Post
Thanks for your quick answer,
yes, I use your nice sessionpivots indicator for ETH pivots.
Pivot Range and 3-Day rolling pivot I calculate by hand (and I did not know how to do this for today before your answer, now it is clear). Or can your indicator do this and I only donīt know how to adjust it? I thought I have to wait for the release of your "colour version" which I saw on some of your screenshots.

Thanks again


Rolling pivots and colouring is work in progress. Not yet ready to be released.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #58 (permalink)
Elite Member
Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen Fire / IB
Favorite Futures: ES, TF, 6E, CL
 
gtichauer's Avatar
 
Posts: 379 since Jul 2009
Thanks: 807 given, 296 received


Fat Tails View Post

(2) Yes, it is possible to plot RTH data with anaCurrentDayOHLV23 on an ETH template. But you need to use a custom session template which uses 2 sessions as shown below. Then set Day Session OHL to "true" via indicator dialogue box.

The Opening Range Indicator is not yet fully compatible with two session templates. It will not show the European Session or Night Session Range on a two session template. The next version should do that.

FT as u mention it worked great except for the Night Session Range.....thanks and do u have in mind when the new version will contemplate this? If it is a matter of days I can wait and do nothing, if not I will look an alternative solution until you release it.....thanks so much.....u have really simplified a lot some of my charts

GT
Reply With Quote
 
  #59 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

SessionPivotsV28

I have just published a new pivots indicator, which can be tested now. It addresses a few issues:

(1) There was bug that occured on teh session after a double day holiday session.

(2) RTH pivots did not use the settlement price but the close. They now also work with settlement price.

(3) Pivots are now rounded to the tick.

Indicators are here:

https://futures.io/elite-circle/3790-ninjatrader-7-toolbox-floor-pivots-2.html#post60525


I still need to adapt he Opening Range indicator to work with multi-session templates. Should be ready tomorrow.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #60 (permalink)
Elite Member
Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen Fire / IB
Favorite Futures: ES, TF, 6E, CL
 
gtichauer's Avatar
 
Posts: 379 since Jul 2009
Thanks: 807 given, 296 received



gtichauer View Post
FT as u mention it worked great except for the Night Session Range.....thanks and do u have in mind when the new version will contemplate this? If it is a matter of days I can wait and do nothing, if not I will look an alternative solution until you release it.....thanks so much.....u have really simplified a lot some of my charts


FT,

Today is the first day with realtime data on the two session template....and I see 60m opening ranges (renamed IB high/low) are not being plotted right as I mentioned yest when looking back the chart....do u know why this could be happening?

Also curiosly GomCD stop plotting after pit session initiated on the two session template? any idea if this recent changes may have something to do?

thanks,

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

GT
Reply With Quote

Reply



futures io > > > > > Indicator to Plot the OHLC - user selected start/stop times

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trading Times Indicator Doppio NinjaTrader 7 May 20th, 2016 02:11 PM
Bar Type with User controlled start times DavidHP NinjaTrader 0 May 30th, 2011 11:42 AM
NinjaTrader indicator to shade times on a chart tradersteph The Elite Circle 3 March 5th, 2010 07:05 PM
OHLC calculations indicator vast NinjaTrader Programming 3 January 16th, 2010 06:43 AM
OHLC with optional session times carlos NinjaTrader Programming 1 September 21st, 2009 08:37 AM


All times are GMT -4. The time now is 09:10 AM.

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-16 in 0.19 seconds with 20 queries on phoenix via your IP 54.83.122.227