/*********************************************************************************************** Title: AutoProfile Indicator for eSignal By: Divergence Software, Inc. Web: http://www.sr-analyst.com ================================================================================================ Project Description: AutoProfile is a continuous volume profile indicator based on a sliding window of the recent price action. There are two modes of operation that can be selected: Swing Based - In this mode the profile is only updated when a significant change in direction occurs. The logic used to determine the current swing status is fully automatic and will operate with all securities and prices, no matter how small or large. In Swing Based Mode, each profile is calculated on all bars since the last profile update. Strength Based - In this mode the profile is only updated when a significant change in volume at the Point of Control (POC) occurs. In this mode the profile is based on a sliding window of price bars that is internally calculated based on the price action. You can also customize the logic used in the Value Area calculation by selecting between "Percent Method" and "StdDev Method" and then specifying the percentage/standard deviations value to use. The AutoProfile indicator will operate with symbols that report volume, as well as those symbols that do not report volume. In the latter case the indicator will assign a fixed volume to all price levels for purposes of constructing the profile. When used as a trading system, typical operation would be to enter long on a close above the UVA (Upper Value Area) and to enter short on a close below the LVA (Lower Value Area). In this scenario the stop would be placed at the opposite side of the profile, and adjusted in the direction of the trade as new profiles are created. All cosmetics can be adjusted via the menu and alerts will be generated whenever price closes above or below the current profile. Script Parameters: Tick Size: Here you can specify the tick size of the instrument you are trading. The default value is 0 which means that the indicator will auto-detect the correct tick size. Profile Logic: Specify the logic used to create the profiles. The options are "Swing Based" and "Strength Based". The default value is "Swing Based". Value Area Calculation: Specify the methodology used to calculate the Value Area for each profile. The options are "Percent Method" and "StdDev Method". The default is "Percent Method". Percentage: Specify the percentage to use if "Percent Method" is selected above. The default value is 0.70 (70%). StdDevs: Specify the number of standard deviations to use if "StdDev Method" is selected above. The default is 1.5. UVA Color: Specify the color used to plot the Upper Value Area. The default is red. Thickness: Specify the line thickness to use when plotting the UVA. The default is 2. Line Type: Specify the line type to use when plotting the UVA. The default is Solid. LVA Color: Specify the color used to plot the Lower Value Area. The default is green. Thickness: Specify the line thickness to use when plotting the LVA. The default is 2. Line Type: Specify the line type to use when plotting the LVA. The default is Solid. POC Color: Specify the color used to plot the Point of Control. The default is magenta. Thickness: Specify the line thickness to use when plotting the POC. The default is 2. Line Type: Specify the line type to use when plotting the POC. The default is Solid. Do Shading?: Check this box if you would like the profiles to be shaded. By default this box is checked. UVA Shade Color: Specify the color used to shade the UVA portion of the profile. The default is light red. LVA Shade Color: Specify the color used to shade the LVA portion of the profile. The default is light green. Use Sound Alerts? Check this box if you want audible alerts generated whenever price closes through the UVA or LVA. By default this box is unchecked. Use Popup Alerts? Check this box if you want pop-up alerts generated whenever price closes through the UVA or LVA. By default this box is unchecked. Use Email Alerts? Check this box if you want email alerts generated whenever price closes through the UVA or LVA. By default this box is unchecked. Alert WAV File: Use this option to set the WAV file that will play when a Sound Alert is triggered. Default WAV file is DING.WAV. Disclaimer: For educational purposes only! Obviously, no guarantees whatsoever and use at your own risk. *******************************************************************************************************/