NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 48 posts (61 thanks)
    2. looks_two rfiske with 17 posts (0 thanks)
    3. looks_3 gtichauer with 16 posts (2 thanks)
    4. looks_4 TempletonPeck with 4 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 1.3 thanks per post
    2. looks_two soulartist with 1 thanks per post
    3. looks_3 cory with 0.3 thanks per post
    4. looks_4 gtichauer with 0.1 thanks per post
    1. trending_up 44,732 views
    2. thumb_up 68 thanks given
    3. group 13 followers
    1. forum 105 posts
    2. attach_file 29 attachments




 
Search this Thread

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

  #51 (permalink)
 
gtichauer's Avatar
 gtichauer 
Argentina
 
Experience: Intermediate
Platform: Ninja
Broker: Zen Fire / IB
Trading: ES, TF, 6E, CL
Posts: 379 since Jul 2009
Thanks Given: 807
Thanks Received: 298

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
Follow me on Twitter Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quant vue
Trading Reviews and Vendors
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
What broker to use for trading palladium futures
Commodities
 
  #52 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


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
Click image for larger version

Name:	Custom Template.JPG
Views:	176
Size:	46.1 KB
ID:	19826   Click image for larger version

Name:	OHLC RTH Session.jpg
Views:	174
Size:	111.6 KB
ID:	19827  
Reply With Quote
Thanked by:
  #53 (permalink)
 
TempletonPeck's Avatar
 TempletonPeck 
Germany
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Posts: 200 since Feb 2010
Thanks Given: 1,138
Thanks Received: 202


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)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


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
Thanked by:
  #55 (permalink)
 
gtichauer's Avatar
 gtichauer 
Argentina
 
Experience: Intermediate
Platform: Ninja
Broker: Zen Fire / IB
Trading: ES, TF, 6E, CL
Posts: 379 since Jul 2009
Thanks Given: 807
Thanks Received: 298


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
Follow me on Twitter Reply With Quote
  #56 (permalink)
 
TempletonPeck's Avatar
 TempletonPeck 
Germany
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Posts: 200 since Feb 2010
Thanks Given: 1,138
Thanks Received: 202


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)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


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
Thanked by:
  #58 (permalink)
 
gtichauer's Avatar
 gtichauer 
Argentina
 
Experience: Intermediate
Platform: Ninja
Broker: Zen Fire / IB
Trading: ES, TF, 6E, CL
Posts: 379 since Jul 2009
Thanks Given: 807
Thanks Received: 298


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
Follow me on Twitter Reply With Quote
  #59 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

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:




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

Reply With Quote
Thanked by:
  #60 (permalink)
 
gtichauer's Avatar
 gtichauer 
Argentina
 
Experience: Intermediate
Platform: Ninja
Broker: Zen Fire / IB
Trading: ES, TF, 6E, CL
Posts: 379 since Jul 2009
Thanks Given: 807
Thanks Received: 298



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,

[img]https://nexusfi.com/v/xefa76.png[/img]

GT
Follow me on Twitter Reply With Quote




Last Updated on October 14, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts