/*********************************************************************************************** Title: Multi-Timeframe Encapsulation Script for eSignal By: Divergence Software, Inc. Web: http://www.sr-analyst.com ================================================================================================ Project Description: The Multi-TimeFrame Encapsulation script will draw a box around the range that defines the most recently completed Day, the most recently completed Week, and the most recently completed Month. It will also draw the mid-line for each box. Each box type (e.g., Daily, Weekly and Monthly) can be toggled on/off independently and box color and mid-line color are user-definable for each box type. The script can be loaded into a chart of any bar interval. So, for example, you could load the script into a 60-min chart and the script would draw boxes around each completed Day, each completed Week and each completed Month. Note: When loaded into a Daily chart, only the Weekly and Monthly boxes will plot. When loaded into a Weekly chart, only Monthly boxes will plot. When loaded into any interval less than Daily, all three boxes will plot (unless they are turned off via the script menu). Script Parameters: Do Daily Encapsulation?: Set to "T" (True) or "F" (False). Use this menu option to toggle the drawing of Daily boxes on and off. Default value is "T" (True). Do Weekly Encapsulation?: Set to "T" (True) or "F" (False). Use this menu option to toggle the drawing of Weekly boxes on and off. Default value is "T" (True). Do Monthly Encapsulation?: Set to "T" (True) or "F" (False). Use this menu option to toggle the drawing of Monthly boxes on and off. Default value is "T" (True). Daily Box Color: Set the color to use when drawing a Daily box. Default value is Navy. Daily MidLine Color: Set the color to use when drawing the MidLine for a Daily box. The default value is Maroon. Weekly Box Color: Set the color to use when drawing a Weekly box. Default value is Teal. Weekly MidLine Color: Set the color to use when drawing the MidLine for a Weekly box. The default value is Red. Monthly Box Color: Set the color to use when drawing a Monthly box. Default value is Blue. Monthly MidLine Color: Set the color to use when drawing the MidLine for a Monthly box. The default value is Magenta. Daily Box Thickness: Set the line thickness to use when drawing a Daily box. The default value is 1. Weekly Box Thickness: Set the line thickness to use when drawing a Weekly box. The default value is 2. Monthly Box Thickness: Set the line thickness to use when drawing a Monthly box. The default value is 3. Values in Cursor Window: Set to "T" (True) or "F" (False). Use this menu option to toggle the display of the High, Low, and MidLine for each box type in the Cursor Window. Default value is "T" (True). Disclaimer: For educational purposes only! Obviously, no guarantees whatsoever and use at your own risk. *******************************************************************************************************/