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,398 / 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

  #31 (permalink)
Elite Member
temecula,ca
 
Futures Experience: Advanced
Platform: NT
Broker/Data: AMP/Zen
Favorite Futures: Euro
 
Posts: 46 since May 2010
Thanks: 32 given, 8 received


Big Mike View Post
@rfiske, the fix is simple most likely: check the Control Center - Log tab, it will tell you which indicator was missing -- then you just need to manually add that to your Export list because NT couldn't figure it out on its own.

Mike

Big Mike - thanks. I will find out about the control center logs.

Reply With Quote
 
  #32 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,214 received


rfiske View Post
Big Mike - thanks. I will find out about the control center logs.

@Fat Tails knows his indicator better than me, so I could be wrong - check his reply as well.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #33 (permalink)
Elite Member
temecula,ca
 
Futures Experience: Advanced
Platform: NT
Broker/Data: AMP/Zen
Favorite Futures: Euro
 
Posts: 46 since May 2010
Thanks: 32 given, 8 received


Fat Tails - Tried doing what you and Big Mike suggested - Attached are the initial Error logs for the export compile 'OpenRangeFH - Error msgs.xls' and the files 'anaOpeningRangeV23FH.cs' and 'anaOpeningRangeV23FHb.cs'. The Error logs 'OpenRangeFH - Error msgs.xls' pertain to 'anaOpeningRangeV23FH.cs' which did compile and plot but won't export. I then tried changing all instances of OR23 to FH23 and saved that as 'anaOpeningRangeV23FHb.cs". This version 'FHb' will not compile at all and the error msg log 'OpenRangeFHb compile - Error msgs.xls' is attached.

I can't figure out what needs to be changed to export for others. If this is to much work i can just leave well enough alone, as the indicators work just fine for me.

Attached Files
Register to download File Type: cs anaOpeningRangeV23FH.cs (49.2 KB, 11 views)
Register to download File Type: cs anaOpeningRangeV23FHb.cs (49.2 KB, 8 views)
Register to download File Type: xls OpenRangeFH - Error msgs.xls (18.0 KB, 9 views)
Register to download File Type: xls OpenRangeFHb compile - Error msgs.xls (16.0 KB, 9 views)
Reply With Quote
 
  #34 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary


rfiske View Post
Fat Tails - Tried doing what you and Big Mike suggested - Attached are the initial Error logs for the export compile 'OpenRangeFH - Error msgs.xls' and the files 'anaOpeningRangeV23FH.cs' and 'anaOpeningRangeV23FHb.cs'. The Error logs 'OpenRangeFH - Error msgs.xls' pertain to 'anaOpeningRangeV23FH.cs' which did compile and plot but won't export. I then tried changing all instances of OR23 to FH23 and saved that as 'anaOpeningRangeV23FHb.cs". This version 'FHb' will not compile at all and the error msg log 'OpenRangeFHb compile - Error msgs.xls' is attached.

I can't figure out what needs to be changed to export for others. If this is to much work i can just leave well enough alone, as the indicators work just fine for me.

The error message clearly shows that the problem is related to the use of enums. If you have an indicator which uses an enum from another indicator, you cannot export it. As you created copies of the original indicator, you need to replace the enums - not only the definition in the region Global Enums, but also all the lines where it is used.

As you have put it now, the indicators you want to export use the enum of the original indicator, so they cannot be exported without the original indicator.

Just scan your .cs files for "anaPlotAlignOR23" and replace this with "anaPlotAlignFH23", wherever you find it!

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #35 (permalink)
Elite Member
temecula,ca
 
Futures Experience: Advanced
Platform: NT
Broker/Data: AMP/Zen
Favorite Futures: Euro
 
Posts: 46 since May 2010
Thanks: 32 given, 8 received

Thanks - Think I can fix that when I have a little more time to check.

Reply With Quote
 
  #36 (permalink)
Elite Member
Quebec
 
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/CQG
Favorite Futures: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,697 since Oct 2009
Thanks: 3,041 given, 4,496 received


Fat Tails View Post
Default session times based on ETH, opening period based on RTH

FOREX: ETH session 17:00 ET - 17:00 ET, opening period starts 8:00 ET
Currency Futures: ETH session 17:00 CT - 16:00 CT, opening period starts 7:00 CT
DX (Dollar Index): ETH session 20:00 ET - 18:00 ET, opening period starts 8:00 ET
CME Index Futures: ETH session 15:30 CT - 15:15 CT, opening period starts 8:30 CT
TF (Russell 2000): ETH session 20:00 ET - 18:00 ET, opening period starts 9:30 ET
EUREX Index Futures: ETH session 8:00 CET - 22:00 CET, opening period starts 9:00
CBOT Interest Rate Futures: ETH session 17:00 CT - 16:00 CT, opening period starts 8:20 CT
EUREX Interest Rate Futures: ETH session 8:00 - 22:00 CET, opening period starts 8:00
CL (WTI Crude): ETH session 18:00 ET - 17:15 ET, opening period starts 9:00 ET
BC (Brent Crude, ICE): ETH session 20:00 ET - 18:00 ET, opening period starts 9:00 ET
GC (Gold) : ETH session 18:00 ET - 17:15 ET, opening period starts 8:20 ET
SI (Silver): ETH session 18:00 ET - 17:15 ET, opening period starts 8:25 ET
HG (Copper): ETH session 18:00 ET - 17:15 ET, opening period starts 8:10 ET

Hi Harry,

When you use ET as time zone abbreviation do you mean Eastern European Time (Europe) but should be EET or Eastern time zone (North America) should be EST ?

Time zones in Europe

Time zone abbreviations

If ET = Europe Time independent of summer or winter time then why is the RUSSELL defined using the Europe Time ? If i look at the values you seem to refer to the Eastern time zone.

Thanks

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


trendisyourfriend View Post
Hi Harry,

When you use ET as time zone abbreviation do you mean Eastern European Time (Europe) but should be EET or Eastern time zone (North America) should be EST ?

Time zones in Europe

Time zone abbreviations

If ET = Europe Time independent of summer or winter time then why is the RUSSELL defined using the Europe Time ? If i look at the values you seem to refer to the Eastern time zone.

Thanks


There is a difference between Eastern Time (ET) and Eastern Standard Time (EST). EST does not undergo the daylight savings schedule, ET does. So I am correctly referring to ET, not to EST. Please read link below.

Eastern Time Zone - Wikipedia, the free encyclopedia

For Europe it would be either GMT (London) or CET (Frankfurt). There is no important derivates exchange in Eastern Europe.

Besides it is quite clear which time is used: always the time of the exchange, where the instrument is traded.

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


ZTR View Post
Hi All,

May I ask the participants of this thread to help BM&TheMods get more finished indicators into the Download Section?

I can help in any way possible. Primarily, by providing a link from posts to the downloads section - as posts over 1440 minutes are not editable, except by Admins&Mods.

Also, we would like to update the quick summary (in those threads that have this feature) with links to posts with indicators &, of course, a summary. I see more and more posts of someone saying how they are deciding to read all of the 100's op posts in a thread, as summary make this decision easier.


I will be PM'ing posters over the next few months (yes it is that big a job). Please help us, especially me - time for the pity card - as I am disabled and can only type so much.

ZTR (Andy)


Wiill put the indicators in the download section, but now just testing and awaiting feedback. There may be some bugs, and I also plan another version during the next few days.

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

Improving indicators

I am still working on a way to display the different ranges and have been busily coding.

I want to have a look at the following ranges and integrate them in my trading.

(a) night session range (gray)
(b) European session (not yet coded)
(c) opening range (duration and beginning selectable, red )
(d) pivot range (range between PriorMidLine and 2*PP-PriorMidline, blue)

Example below:

Any suggestions, how to improve the concept?

Currently reading the book "The Logical Trader" by Mark Fisher and applying some - not all - of his concepts.

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

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #40 (permalink)
Elite Member
temecula,ca
 
Futures Experience: Advanced
Platform: NT
Broker/Data: AMP/Zen
Favorite Futures: Euro
 
Posts: 46 since May 2010
Thanks: 32 given, 8 received


Fat Tails - looks really good. Would like to see the times for sessions user selectable, eg., European Session time frame I really only want to look at the 2AM - 5AM CST range.

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)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

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 08:38 PM.

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