/*********************************************************************************************** Title: Forex Sessions Indicator for eSignal By: Divergence Software, Inc. Web: http://www.sr-analyst.com ================================================================================================ Project Description: This indicator will clearly highlight the various sessions on your intraday Forex charts. Up to 4 sessions can be displayed. By default the indicator is set up to highlight the Tokyo, London, New York, and Sydney trading sessions. For each session you can customize the start/end times, the cosmetics (i.e., shading, vertical line, outline, label, and colors) and specify the session label text. The individual session displays can overlap each other and can be turned on/off individually. In addition we have provided a 'minimum pip' alert which will generate an alert once the session range (high to low) reaches a user-specified number of pips. The number of pips required can be specified for each session individually. The start/end times can be entered based on your eSignal local time or by GMT. By default the start/end times for the default sessions (i.e., Tokyo, London, New York, and Sydney) are entered as GMT times so they will translate correctly no matter which time zone you are in. Please note that this indicator is for intraday charts only and will display nothing when loaded into Daily, Weekly, or Monthly charts. While intended to be used with Forex symbols, it can be customized for use with any security where you have a need to subdivide the trading day in up to 4 distinct sessions. Parameters: Times are: Select from "Local Time Zone" and "GMT". The start/end times you enter below will be translated based on your selection here. Show Session #1: Check this box if you wish to display Session #1. Start Time: Input the start time for this session as HH:MM (24-hour clock) End Time: Input the end time for this session as HH:MM (24-hour clock) Shading Color: Select the color to be used to shade the background to highlight the the session. Outline Only Color: Select the color to be used if Draw Outline is selected and Do Shading is not selected. Do Shading? Check this box if you want to enable shading for this session. Draw Vertical Line? Check this box if you want a vertical line drawn on the chart to clearly highlight the first bar of the session. Draw Outline? Check this box if you want the entire session outlined (with lines) Draw Label? Check this box if you want the session label displayed on the chart. Label Text: Input the text to be displayed in the session label. Min Pip Alert: Input the number of pips required for the session alert to be generated. If left at 0 then no alert will be generated. The alert is based on the high-to-low range of the session so far. Show Session #2: Check this box if you wish to display Session #2. Start Time: Input the start time for this session as HH:MM (24-hour clock) End Time: Input the end time for this session as HH:MM (24-hour clock) Shading Color: Select the color to be used to shade the background to highlight the the session. Outline Only Color: Select the color to be used if Draw Outline is selected and Do Shading is not selected. Do Shading? Check this box if you want to enable shading for this session. Draw Vertical Line? Check this box if you want a vertical line drawn on the chart to clearly highlight the first bar of the session. Draw Outline? Check this box if you want the entire session outlined (with lines) Draw Label? Check this box if you want the session label displayed on the chart. Label Text: Input the text to be displayed in the session label. Min Pip Alert: Input the number of pips required for the session alert to be generated. If left at 0 then no alert will be generated. The alert is based on the high-to-low range of the session so far. Show Session #3: Check this box if you wish to display Session #3. Start Time: Input the start time for this session as HH:MM (24-hour clock) End Time: Input the end time for this session as HH:MM (24-hour clock) Shading Color: Select the color to be used to shade the background to highlight the the session. Outline Only Color: Select the color to be used if Draw Outline is selected and Do Shading is not selected. Do Shading? Check this box if you want to enable shading for this session. Draw Vertical Line? Check this box if you want a vertical line drawn on the chart to clearly highlight the first bar of the session. Draw Outline? Check this box if you want the entire session outlined (with lines) Draw Label? Check this box if you want the session label displayed on the chart. Label Text: Input the text to be displayed in the session label. Min Pip Alert: Input the number of pips required for the session alert to be generated. If left at 0 then no alert will be generated. The alert is based on the high-to-low range of the session so far. Show Session #4: Check this box if you wish to display Session #4. Start Time: Input the start time for this session as HH:MM (24-hour clock) End Time: Input the end time for this session as HH:MM (24-hour clock) Shading Color: Select the color to be used to shade the background to highlight the the session. Outline Only Color: Select the color to be used if Draw Outline is selected and Do Shading is not selected. Do Shading? Check this box if you want to enable shading for this session. Draw Vertical Line? Check this box if you want a vertical line drawn on the chart to clearly highlight the first bar of the session. Draw Outline? Check this box if you want the entire session outlined (with lines) Draw Label? Check this box if you want the session label displayed on the chart. Label Text: Input the text to be displayed in the session label. Min Pip Alert: Input the number of pips required for the session alert to be generated. If left at 0 then no alert will be generated. The alert is based on the high-to-low range of the session so far. Line Color: Select the color for drawing the vertical line that marks the start of each session. The default is black. Thickness: Select the line thickness. Range is from 1 to 10. The default is 2. Line Type: Select the line type. The default is "Solid". Label Text Color: Select the color to be used to draw the session label text. The default is black. Font Size: Select the font size (from 4 to 55) to be used to draw the session label text. The default is 8. Label Base Vert Offset: Input the number of pixels to offset the session label text from the bottom of the chart. The default is 17. Shift Labels? Check this box if you would like the session labels shifted up/down. This comes in handy when you are using higher bar intervals (i.e., 240 or 480, etc.) and will prevent the session labels from overlapping. Use Sound Alerts? Check this box if you want audible alerts generated for the Min Pip Alert described above. Use Popup Alerts? Check this box if you want pop-up alerts generated for the Min Pip Alert described above. Use Email Alerts? Check this box if you want email alerts generated for the Min Pip Alert described above. Note that you must first configure your email alert settings within the eSignal desktop application. Alert WAV File: Input the specific WAV file to use for all audible alerts. Disclaimer: For educational purposes only! Obviously, no guarantees whatsoever and use at your own risk. **********************************************************************/