| Open E Cry The unofficial Open E Cry forum. |
![]() | | Tweet | |
| | #1 | ||
![]() | Plotting Globex High and Low Code: Inputs: Session_Start(930), Session_End(1615); vars: G_H(0), G_L(0), Globex(false); If Globex and Time >= Session_Start and time < Session_End then Globex = false; if Globex = false and Time >= Session_End then begin // Should only execute first tick of Globex session G_H=High; G_L=Low; Globex = True; end; If Globex then begin If High>G_H then G_H=High; if Low< G_L then G_L=low; end; Plot1(G_H,"G-High"); Plot2(G_L,"G-Low"); Note - as the code stands currently, it will include data from Sunday, which means your Mon charts will actually be off if comparing the high/low to what the CME is reporting. Another post made to see if there's a workaround to this by trader273. | ||
| |
|
| | #2 | ||
![]() | Re: Plotting Globex High and Low Any ideas? Thanks Quote:
| ||
| |
|
| | #3 | ||
![]() | Re: Plotting Globex High and Low vars: firstbar(0), length(0); if date>date[1] then begin firstbar=currentbar; end; length=(currentbar-firstbar); if time<630 then value1=highest(h,length); if time<630 then value2=lowest(l,length); plot1(value1); plot2(value2); value3=highest(h,length); value4=lowest(l,length); plot3(value3); plot4(value4); --------------------------------------- Note, my time is 630 for West Coast time, adjust as necessary. Plots 1 and 2 Holds Globex Values Plots 3 and 4 adjust for new Highs and Lows of pit session (holds globex value if not or until violated) Just delete the plot statements you don't want. | ||
| |
|
| The Following 2 Users Say Thank You to Frank For This Useful Post: | ||
brownsfan019 (03-25-2009), Trendup_ (03-25-2009) | ||
| | #4 | ||
![]() | Re: Plotting Globex High and Low You could use your date/time logic with your previous high low logic (or not) if you so desired. Interestingly the code will look a little longer but will run tighter.On another topic I wonder why one would exclude Sunday Night (or even Monday morning) from out of hours calculations? They still represent a level where the tide turned. Last edited by BlowFish; 03-26-2009 at 06:46 AM. | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Finding Globex High and Low in Easylanguage | trader273 | Coding Forum | 24 | 03-23-2009 07:08 AM |
| Can Someone Tell Me How to Get an Indicator to Stop Plotting | shortski | Coding Forum | 31 | 02-08-2009 12:49 PM |
| Overnight Session: Looking at globex high & low | Soultrader | Technical Analysis | 15 | 12-25-2008 08:08 PM |
| [Plotting Fib Retracements in Real-time] | Soultrader | Trading Videos | 3 | 05-06-2007 11:22 AM |
| Plotting Market Profile on TS | dah7 | Market Profile | 9 | 03-16-2007 09:49 PM |